Open CompSciCardwell opened 6 years ago
change your pip version : sudo python -m pip install --upgrade pip==9.0.3
@ZenyoXos thanks for help
Do this to get working like a charm!
# package pip.req.py
def parse_requirements(filename):
""" load requirements from a pip requirements file """
lineiter = (line.strip() for line in open(filename))
return [line for line in lineiter if line and not line.startswith("#")]
just... workaround :)
Do this to get working like a charm!
- create a directory pip/
- add an empty file pip/init.py
- add a file pip/req.py
- put the code above into pip/req.py:
# package pip.req.py def parse_requirements(filename): """ load requirements from a pip requirements file """ lineiter = (line.strip() for line in open(filename)) return [line for line in lineiter if line and not line.startswith("#")]
where should i create the directory?
change your pip version : sudo python -m pip install --upgrade pip==9.0.3
Doesn't work:
pip --version
pip 9.0.3 from /home/nodueck/.local/lib/python3.7/site-packages (python 3.7)
Traceback (most recent call last):
File "/usr/share/jasper-voice-control/jasper.py", line 12, in <module>
from client import tts
File "/usr/share/jasper-voice-control/client/tts.py", line 41, in <module>
import diagnose
File "/usr/share/jasper-voice-control/client/diagnose.py", line 9, in <module>
import pip.req
ImportError: No module named req
I'm using Arch-Linux btw. (5.1.12-arch1-1-ARCH)
yaourt -S jasper-voice-control-git
yaourt -S jasper-plugins
In ArchLinux python
is the default for python3
.
sudo python2 -m pip install --upgrade pip==9.0.3
solved this for me
When trying to run Jasper on my Raspberry Pi B+ I get the following error
I'm tried reinstalling pip but that doesn't fix it. Any help?