3drobotics / solo-cli

Solo command line utilities.
20 stars 36 forks source link

issue installing CLI #50

Open benyvazquez opened 7 years ago

benyvazquez commented 7 years ago

after running the command. I am using ubuntu 16.04 on a virtual machine...

sudo pip install https://github.com/3drobotics/solo-cli/archive/master.zip --no-cache-dir

I get this error....

creating build/temp.linux-x86_64-2.7/build creating build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7 x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -Wdate-time -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -I/usr/include/python2.7 -c build/temp.linux-x86_64-2.7/_openssl.c -o build/temp.linux-x86_64-2.7/build/temp.linux-x86_64-2.7/_openssl.o build/temp.linux-x86_64-2.7/_openssl.c:434:30: fatal error: openssl/opensslv.h: No such file or directory compilation terminated. error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Command "/usr/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-if8r7m/cryptography/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-AO0smM-record/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-build-if8r7m/cryptography/

benyvazquez commented 7 years ago

solved it.... ran this first sudo apt-get update && sudo apt-get install libssl-dev

Then I also got an error after installing the solo-cli and running the command solo to check it... File "/usr/local/lib/python2.7/dist-packages/soloutils/pack.py", line 9, in import virtualenv ImportError: No module named virtualenv

so i had to uninstall and reinstall virtualenv sudo pip uninstall virtualenv sudo pip install virtualenv

seems to be working now...