jrl-umi3218 / Eigen3ToPython

Provide Eigen3 to numpy conversion
BSD 2-Clause "Simplified" License
49 stars 10 forks source link

After successful building, no eigen module found! #21

Closed jiangyonghui closed 6 years ago

jiangyonghui commented 6 years ago

Hi guys, I run ubuntu 16.04 on Jetson TX2, installation from apt doesn't work for me, as shown, no such python-eigen package found. Then I just followed the instruction for manual installation, after success building, import eigen still failed, no such eigen module.


nvidia@tegra-ubuntu:~$ pip install -r requirements.txt Requirement already satisfied: cython>=0.25 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 1)) (0.28.2) Collecting coverage>=4.0 (from -r requirements.txt (line 2)) Requirement already satisfied: nose in /usr/lib/python2.7/dist-packages (from -r requirements.txt (line 3)) (1.3.7) Requirement already satisfied: numpy>=1.8.2 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 4)) (1.13.3) Installing collected packages: coverage

nvidia@tegra-ubuntu:~/Eigen3ToPython$ pip install . Processing /home/nvidia/Eigen3ToPython Building wheels for collected packages: eigen Running setup.py bdist_wheel for eigen ... done Stored in directory: /tmp/pip-ephem-wheel-cache-T_z7yk/wheels/50/8f/01/d7fcf5aa4428cc4dd31aba6e7774f19b2a4d398bc7bcd60a02 Successfully built eigen Installing collected packages: eigen

nvidia@tegra-ubuntu:~/Eigen3ToPython$ python Python 2.7.12 (default, Dec 4 2017, 14:50:18) [GCC 5.4.0 20160609] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import eigen Traceback (most recent call last): File "", line 1, in ImportError: No module named eigen

So what solution would you suggest?

jiangyonghui commented 6 years ago

I just solved this by sudo python setup.py install instead of pip install .