You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+20-3Lines changed: 20 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,13 +27,15 @@ if you are using different versions of python. `virtualenv` is a tool for settin
27
27
allows you to have all the dependencies for the tool set up in a single environment, or have different environments set
28
28
up for testing using different versions of Python.
29
29
30
-
### Issues with Windows Installation
30
+
### Issues with Installation
31
31
32
-
When running on Windows, if you get the following error
32
+
If you get the following error
33
33
34
34
`ImportError: failed to find libmagic. Check your installation`
35
35
36
-
This is because of a mismatch with the installation of the magic library. To resolve, please issue the following commands
36
+
This is because of a mismatch with the installation of the magic library. To resolve, please issue the following commands depending on your environment
37
+
38
+
#### Windows
37
39
38
40
```bash
39
41
pip uninstall python-magic
@@ -43,6 +45,21 @@ pip install python-magic
43
45
pip install python-magic-bin
44
46
```
45
47
48
+
#### Linxu based system
49
+
50
+
Install `libmagic` using a package manager, for example
51
+
52
+
```bash
53
+
apt install libmagic-dev
54
+
```
55
+
56
+
#### MacOS
57
+
58
+
Install `libmagic` using a package manager, for example
0 commit comments