Jan-04-2019, 06:51 PM
(This post was last modified: Jan-04-2019, 06:54 PM by Gribouillis.)
I think it's strange that /usr/local/lib/python3.4/dist-packages is not already in sys.path. Check
Output:/usr/bin/python3.4 -c "import sys; print(sys.path)"
If it is not in this list, you could edit /usr/lib/python3.4/sitecustomize.py
(as administrator) and add these linesimport site site.addsitedir('/usr/local/lib/python3.4/dist-packages') site.addsitedir('/usr/local/lib/python3.4/site-packages')If you don't want to edit this file, you can run in a terminal
Output:/usr/bin/python3.4 -c "import site; print(site.getusersitepackages())"
this gives you the name of a directory under your home folder. In this directory, you can create a file named usercustomize.py
containing the above three lines.