Error in openrave.py --examples hanoi

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Error in openrave.py --examples hanoi

Sandra24
Hi.
I wanted to try the examples of python, but when you run the command line:

openrave.py --examples hanoi

and this error appeared:

openravepy is not set into PYTHONPATH env variable, attempting to add
Traceback (most recent call last):
  File "/usr/local/bin/openrave.py", line 49, in <module>
    import openravepy
  File "/usr/local/lib/python2.7/dist-packages/openravepy/__init__.py", line 33, in <module>
    openravepy_currentversion = loadstable(__openravepy_version__)
  File "/usr/local/lib/python2.7/dist-packages/openravepy/__init__.py", line 14, in loadstable
    return _loadversion('_openravepy_'+ver.replace('.', '_'))
  File "/usr/local/lib/python2.7/dist-packages/openravepy/__init__.py", line 19, in _loadversion
    mainpackage = __import__("openravepy", globals(), locals(), [targetname])
  File "/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/__init__.py", line 29, in <module>
    from openravepy_int import *
ImportError: No module named openravepy_int

I can do?
Reply | Threaded
Open this post in threaded view
|

Re: Error in openrave.py --examples hanoi

AbdealiJK
I was getting the same problem before ... I was able to fix it with : 

export PYTHONPATH=$PYTHONPATH:`openrave-config --python-dir`

But now I get the error : 

[plugindatabase.h:929 _SysLoadLibrary] /usr/local/share/openrave-0.9/plugins/openravepy_configurationcache.so: openravepy_int.so: cannot open shared object file: No such file or directory
[plugindatabase.h:857 _LoadPlugin] failed to load: /usr/local/share/openrave-0.9/plugins/openravepy_configurationcache.so
[textserver.h:403 main] text server listening on port 4765
[libopenrave.cpp:683 FindLocalFile] could not find file "--examples"
[environment-core.h:475 Load] load failed on file --examples
[colladareader.cpp:3444 handleError] COLLADA error: Failed to open file:/mnt/data/docs/courses/rl/proj/openrave/build/--examples in daeLIBXMLPlugin::readFromFile
[colladareader.cpp:3444 handleError] COLLADA error: Failed to load file:/mnt/data/docs/courses/rl/proj/openrave/build/--examples
[libopenrave.cpp:683 FindLocalFile] could not find file "hanoi"
[environment-core.h:475 Load] load failed on file hanoi
[colladareader.cpp:3444 handleError] COLLADA error: Failed to open file:/mnt/data/docs/courses/rl/proj/openrave/build/hanoi in daeLIBXMLPlugin::readFromFile
[colladareader.cpp:3444 handleError] COLLADA error: Failed to load file:/mnt/data/docs/courses/rl/proj/openrave/build/hanoi



On Tue, Mar 10, 2015 at 11:15 PM, Sandra24 <[hidden email]> wrote:
Hi.
I wanted to try the examples of python, but when you run the command line:

openrave.py --examples hanoi

and this error appeared:

openravepy is not set into PYTHONPATH env variable, attempting to add
Traceback (most recent call last):
  File "/usr/local/bin/openrave.py", line 49, in <module>
    import openravepy
  File "/usr/local/lib/python2.7/dist-packages/openravepy/__init__.py", line
33, in <module>
    openravepy_currentversion = loadstable(__openravepy_version__)
  File "/usr/local/lib/python2.7/dist-packages/openravepy/__init__.py", line
14, in loadstable
    return _loadversion('_openravepy_'+ver.replace('.', '_'))
  File "/usr/local/lib/python2.7/dist-packages/openravepy/__init__.py", line
19, in _loadversion
    mainpackage = __import__("openravepy", globals(), locals(),
[targetname])
  File
"/usr/local/lib/python2.7/dist-packages/openravepy/_openravepy_0_9/__init__.py",
line 29, in <module>
    from openravepy_int import *
ImportError: No module named openravepy_int

I can do?



--
View this message in context: http://openrave-users-list.185357.n3.nabble.com/Error-in-openrave-py-examples-hanoi-tp4027261.html
Sent from the OpenRAVE Users List mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Openrave-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/openrave-users