I cannot install the dependency
angolini opened this issue · 3 comments
angolini commented
I run the dependency installation command but I face a dependency error.
:~/pyIMX$ pip3 install -U --process-dependency-links -e .
Obtaining file:///home/daiane/pyIMX
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "./src/imx/sd/usbif.py", line 174, in <module>
import usb.core
ImportError: No module named 'usb'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/daiane/pyIMX/setup.py", line 22, in <module>
import imx
File "./src/imx/__init__.py", line 20, in <module>
from .sd import SerialDownloader, \
File "./src/imx/sd/__init__.py", line 16, in <module>
from .serdown import SerialDownloader, \
File "./src/imx/sd/serdown.py", line 20, in <module>
from .usbif import USBIF
File "./src/imx/sd/usbif.py", line 177, in <module>
raise Exception("PyUSB is required on a Linux Machine")
Exception: PyUSB is required on a Linux Machine
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /home/daiane/pyIMX
```/
Can you, please, help?
molejar commented
You need install all required modules manualy, because your version of pip
has blocked the instalation of dependencies automaticly (secure settings).
The name of modules you find in setup.py. Only run pip install pyusb click
...
Dne 20. 10. 2017 18:28 napsal uživatel "Daiane Angolini" <
notifications@github.com>:
… I run the dependency installation command but I face a dependency error.
:~/pyIMX$ pip3 install -U --process-dependency-links -e .
Obtaining file:///home/daiane/pyIMX
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "./src/imx/sd/usbif.py", line 174, in <module>
import usb.core
ImportError: No module named 'usb'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/daiane/pyIMX/setup.py", line 22, in <module>
import imx
File "./src/imx/__init__.py", line 20, in <module>
from .sd import SerialDownloader, \
File "./src/imx/sd/__init__.py", line 16, in <module>
from .serdown import SerialDownloader, \
File "./src/imx/sd/serdown.py", line 20, in <module>
from .usbif import USBIF
File "./src/imx/sd/usbif.py", line 177, in <module>
raise Exception("PyUSB is required on a Linux Machine")
Exception: PyUSB is required on a Linux Machine
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in /home/daiane/pyIMX
```/
Can you, please, help?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1>, or mute the thread
<https://github.com/notifications/unsubscribe-auth/AIVqDiNAsoTGxVd7mZwwvaDzRe3v5voMks5suMoygaJpZM4QA6Yx>
.
angolini commented
Thanks I'm going to try.
Is there something you could add to the README to try to avoid this king of mistake?
molejar commented
Fixed, please try it