Closed jcnauta closed 10 years ago
It seems that you are hitting a similar issue to this: http://stackoverflow.com/questions/5345934/problem-running-python-from-crontab-invalid-python-installation or this http://noelusion.com/2013/Fixing-the-mysterious-virtualenv-error-IOError-invalid-Python-installation/
What version of virtualenv do you have? Try: virtualenv --version
We recommend 1.9.1 or higher.
Once you've upgraded, try again. Make sure to remove the ~/Turbulenz/SDK/0.27.0 directory and start from scratch
I have virtualenv 1.10.1, but thanks for the suggestion. I'll have a look at the two links you posted, hadn't found them yet.
I would love to try the SDK out, but have problems installing it.
I downloaded TurbulenzSDK-0.27.0.linux.run from https://hub.turbulenz.com/#downloads and followed the Linux install instruction on docs.turbulenz.com/installing.html. Upon running the file, I get the error message listed below.
When I use sudo (even though there was no permission denied) everything is installed. I run source start_env. In the virtual environment, I try to run ./start_local.sh and get the following error:
With sudo it works and I can access localhost:8070, but then finally when I try to run dae2json from within the virtual environment, it gives the error:
This time sudo dae2json doesn't save me:
All of this leads me to suspect that using sudo all this time was a mistake that bypassed the virtual environment, and even though the paths are set up correctly inside the environment, it doesn't have the pkg_resources module.
Help!