You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Look at this session, i'm trying to import a module I have installed on this PC,
note how it is missing the dist-packages folders in the sys.path
Python 3.5.2 (default, Sep 10 2016, 08:21:44)
[GCC 5.4.0 20160609] on linux
Type "copyright", "credits" or "license()" for more information.
DreamPie 1.2.1
>>> import hidapi
Traceback (most recent call last):
File "<pyshell#0>", line 1, in <module>
import hidapi
ImportError: No module named 'hidapi'
>>> import sys
>>> sys.path
0: ['',
'/usr/share/dreampie/dreampielib/data',
'/usr/lib/python35.zip',
'/usr/lib/python3.5/',
'/usr/lib/python3.5/plat-x86_64-linux-gnu',
'/usr/lib/python3.5/lib-dynload']
>>>
Below is the same session in a plain python3 console in the terminal,
note how there are two more folders for the dist-packages, I guess thats the reason why the import failed in the above session.
--(bernd@Saturn)-(/home/bernd)--
--($)-- python3
Python 3.5.2 (default, Sep 10 2016, 08:21:44)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import hidapi
>>> import sys
>>> sys.path
['', '/usr/lib/python35.zip', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/usr/lib/python3.5/lib-dynload', '/usr/local/lib/python3.5/dist-packages', '/usr/lib/python3/dist-packages']
>>>
The text was updated successfully, but these errors were encountered:
The following is observed on a Kubuntu Xenial PC:
Look at this session, i'm trying to import a module I have installed on this PC,
note how it is missing the dist-packages folders in the sys.path
Below is the same session in a plain python3 console in the terminal,
note how there are two more folders for the dist-packages, I guess thats the reason why the import failed in the above session.
The text was updated successfully, but these errors were encountered: