Hi there,
I’m trying to setup Mycroft on Ubuntu 14.04 on a Jetson TK1 board. I followed the instructions to clone git repo and run bash dev_setup.sh
.
I encountered some problems and fixed some, now stuck at this step
pip install -r requirements.txt
in the dev_setup.sh
. It keeps failing at different lines of the requirements.txt with the following
Could not find any downloads that satisfy the requirement [whichever library/line it was]
So sometimes fail at the 1st line, or 6th or 7th or 12th etc, as if the server/network is unstable.
The furthest I could get is line 16 and it gave me a different error, shown below:
Downloading/unpacking pillow==7.1.2 (from -r requirements.txt (line 16))
Real name of requirement pillow is pillow
Downloading Pillow-7.1.2.tar.gz (38.9MB): 38.9MB downloaded
Running setup.py (path:/tmp/pip_build_ubuntu/pillow/setup.py) egg_info for package pillow
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_ubuntu/pillow/setup.py", line 305
yield from self.features
^
SyntaxError: invalid syntax
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/tmp/pip_build_ubuntu/pillow/setup.py", line 305
yield from self.features
^
SyntaxError: invalid syntax
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /tmp/pip_build_ubuntu/pillow
Storing debug log for failure in /home/ubuntu/.pip/pip.log
Warning: Failed to install all requirements. Continue? y/N
What can I do? Can I perhaps install the libraries one by one and modify the dev_setup.sh accordingly?
For reference:
ubuntu@tegra-ubuntu:~/mycroft-core$ pip --version
pip 1.5.4 from /usr/lib/python2.7/dist-packages (python 2.7)
Any help is much apprecaited, thanks!
Daniel
p.s. For the record I had these two other problems earlier:
-
I initially kept getting “runtimeerror: python 3.5 or later is required” I figured that could be from pip not installed properly, so I did
sudo apt install python-pip
, that fixed it -
I kept getting “Failed to set up virtualenv for mycroft, existing setup” and after some digging I realised it’s because .venv/bin/activate scripts aren’t executable.