Open EvanLavizadeh opened 5 years ago
I too am having this issue!!
Can't you just run sudo pip install mayavi
? Shouldn't that solve the problem?
I know this is not good practice but I think it acceptable in this case.
The term "root" in the logger means that you are using the root logger, not that you are running the program as root. What OS are you on, and are you using conda / virtualenv?
@SilviaSapora This does not solve the issue. @jeffmahler Thanks for that explanation. I am on Ubuntu 16.04, no conda, no virtualenv.
Aside, I know you warn against conda with Dexnet, but is Virtualenv advisable?
@EvanLavizadeh Sorry for the delay. The use of virtualenv is desirable but I don't think this is the issue here.
The script should not be searching for packages on root. I have not seen that behavior before.
I suggest locating mayavi on the filesystem
sudo -i
python
>>> import mayavi
>>> print(mayavi.__file__)
Then check whether or not a path to this file exists in the normal (non-root) system path
python
>>> import sys
>>> print(sys.path)
If not, you could hack it by copying the mayavi installation to a location in the python path. Again, I don't know why this is happening. We are moving away from mayavi because of these kinds of issues.
@jeffmahler Ok I'll try this. Thank you. Does your lab sell licenses to more stable internal versions by any chance?
@EvanLavizadeh Not yet. We are working on licensable version that may be ready sometime this year.
@jeffmahler Ok I'll be on the lookout :)
Dear all, I have the same problem in command 3: Display Object, and an black window occurs without 3D models. The dexnet was successfully installed and passed the setup.py test with no error. The WARNINGs are as follows:
root WARNING Failed to import gqcnn! Grasp2D functions will not be available. root WARNING Failed to import mayavi root WARNING Failed to import mayavi root WARNING Failed to import mayavi root WARNING Failed to import mayavi root WARNING Failed to import mayavi root WARNING Failed to import OpenRAVE root WARNING Failed to import mayavi root WARNING Failed to import OpenRAVE root INFO Failed to import mayavi
I have no problems in import mayavi in python, anyone can help? Thanks.
Hello!
When running the CLI, I get a bunch of import errors
You can see that it particularly says "root:Failed to import..."
My question is, why is this program searching for libraries as root? All the package paths are not locatable as root, which is expected, right?
I say this because if I run:
I get no problems.
If I run
I get:
ImportError: No module named mayavi
As a result, I can't visualize anything.