Closed andyyuan78 closed 9 years ago
Are you using ubuntu 14.04? Because this error comes only in 12.04. If so, i will soon let you know the fix for 12.04 . . .
qtutils ought to have been installed when you ran the install script . In particular, the following line would have gotten executed : sudo pip install --proxy $HTTP_PROXY qtutils
(if you set a proxy) or sudo pip install qtutils
Try the pip install separately on a command line and see if that does the trick.
ubgpu@ubgpu:~$ sudo -H pip install qtutils
Collecting qtutils
/usr/local/lib/python2.7/dist-packages/pip/vendor/requests/packages/urllib3/util/ssl.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
InsecurePlatformWarning
Downloading qtutils-1.6.0.tar.gz (8.2MB)
100% |████████████████████████████████| 8.2MB 80kB/s
Building wheels for collected packages: qtutils
Running setup.py bdist_wheel for qtutils
Stored in directory: /root/.cache/pip/wheels/83/15/ed/edad1a511003f0a4bdaed358104d3724812f3ebc3063ac3546
Successfully built qtutils
Installing collected packages: qtutils
Successfully installed qtutils-1.6.0
ubgpu@ubgpu:~$ cd github/expresso/
ubgpu@ubgpu:~/github/expresso$
ubgpu@ubgpu:~/github/expresso$ sh run_expresso.sh
Traceback (most recent call last):
File "/home/ubgpu/github/expresso/src/main/main.py", line 13, in
which version of Ubuntu are you using? 12.04 or 14.04?
14.04
This error is not being replicated on fresh 14.04 system, still you can try as given bellow
sudo su
fixed by run sudo apt-get remove python-qt4
@andyyuan78 You must have Anaconda installed. Go to ~/.bash_profile & change PYTHON_PATH variable to add /usr/local/lib/python2.7/dist-packages. Maybe that will help
ubgpu@ubgpu:~/github/expresso$ sh run_expresso.sh Traceback (most recent call last): File "/home/ubgpu/github/expresso/src/main/main.py", line 13, in
from qtutils import inmain_later,inthread,inmain
ImportError: No module named qtutils
ubgpu@ubgpu:~/github/expresso$
ubgpu@ubgpu:~/github/expresso$ sudo -H pip install qtutils Requirement already satisfied (use --upgrade to upgrade): qtutils in /usr/local/lib/python2.7/dist-packages ubgpu@ubgpu:~/github/expresso$