diff options
| author | Adam Hupp <adam@hupp.org> | 2016-12-21 21:48:19 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-12-21 21:48:19 -0800 |
| commit | 0b414743e0bf047c352c4ab7d4ac8cbef36be3c6 (patch) | |
| tree | 783802a8de4a97569652615226c88c001f3c3177 | |
| parent | 7ac0c2cc3ef7c3af32a5c51b2187edbf58898a63 (diff) | |
| download | python-magic-0b414743e0bf047c352c4ab7d4ac8cbef36be3c6.tar.gz | |
Update README.md
| -rw-r--r-- | README.md | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -57,7 +57,7 @@ Other sources: ### Dependencies -On Windows, copy magic1.dll, regex2.dll, and zlib1.dll onto your PATH from the Binaries and Dependencies zipfiles provided by the [File for Windows](http://gnuwin32.sourceforge.net/packages/file.htm) project. You will need to copy the file `magic` out of `[binary-zip]\share\misc`, and pass it's location to `Magic(magic_file=...)` +On Windows, copy magic1.dll, regex2.dll, and zlib1.dll onto your PATH from the Binaries and Dependencies zipfiles provided by the [File for Windows](http://gnuwin32.sourceforge.net/packages/file.htm) project. You will need to copy the file `magic` out of `[binary-zip]\share\misc`, and pass it's location to `Magic(magic_file=...)`. If you are using a 64-bit build of python, you'll need 64-bit libmagic binaries which can be found here: https://github.com/pidydx/libmagicwin64 (note: untested) On OSX: @@ -73,9 +73,7 @@ On OSX: - 'WindowsError: [Error 193] %1 is not a valid Win32 application': Attempting to run the 32-bit libmagic DLL in a 64-bit build of - python will fail with this error. I'm not aware of any publically - available 64-bit builds of libmagic. You'll either need to build - them yourself (please share docs!), or switch to a 32-bit Python. + python will fail with this error. Here are 64-bit builds of libmagic for windows: https://github.com/pidydx/libmagicwin64 - 'WindowsError: exception: access violation writing 0x00000000 ' This may indicate you are mixing Windows Python and Cygwin Python. Make sure your libmagic and python builds are consistent. |
