Jan-16-2018, 04:55 PM
Hello!
I installed kivy and cython from source like this:
git clone https://github.com/kivy/kivy.git
cd kivy
make
same for cython.
I installed packages to
/home/lasse/.local/lib/python2.7/site-packages/
There are four directories at /home/lasse/.local/lib/python2.7/site-packages/
they are kivy, cython, numpy and numpy-1.14.0.dist-info
I installed numpy with pip and I can import it anywhere.
kivy and cython imports work only in their directories, not elsewhere.
I have tried adding .bashrc this:
PYTHONPATH="${PYTHONPATH}:/home/lasse/.local/lib/python2.7/site-packages/kivy:/home/lasse/.local/lib/python2.7/site-packages/cython"
export PYTHONPATH
It does not work.
I also tried this:
Appreciate help
I installed kivy and cython from source like this:
git clone https://github.com/kivy/kivy.git
cd kivy
make
same for cython.
I installed packages to
/home/lasse/.local/lib/python2.7/site-packages/
There are four directories at /home/lasse/.local/lib/python2.7/site-packages/
they are kivy, cython, numpy and numpy-1.14.0.dist-info
I installed numpy with pip and I can import it anywhere.
kivy and cython imports work only in their directories, not elsewhere.
I have tried adding .bashrc this:
PYTHONPATH="${PYTHONPATH}:/home/lasse/.local/lib/python2.7/site-packages/kivy:/home/lasse/.local/lib/python2.7/site-packages/cython"
export PYTHONPATH
It does not work.
I also tried this:
import sys sys.path.append('/home/lasse/.local/lib/python2.7/site-packages/cython')It works, but it does not solve the problem.
Appreciate help