Closed StoneT2000 closed 5 months ago
There seems to also be some errors that show up upon trying to install the py bindings for ompl
/usr/local/lib/python3.10/dist-packages/pyplusplus/binary_parsers/parsers.py:7: DeprecationWarning: invalid escape sequence 'm'
"""
Traceback (most recent call last):
File "/home/stao/work/external/RoboGen/ompl-1.5.2/py-bindings/generate_bindings.py", line 950, in <module>
globals()['ompl_'+module+'_generator_t']()
File "/home/stao/work/external/RoboGen/ompl-1.5.2/py-bindings/generate_bindings.py", line 878, in __init__
code_generator_t.__init__(self, 'util', None, replacement, 1)
File "/home/stao/work/external/RoboGen/ompl-1.5.2/py-bindings/ompl/bindings_generator.py", line 146, in __init__
self.filter_declarations()
File "/home/stao/work/external/RoboGen/ompl-1.5.2/py-bindings/generate_bindings.py", line 893, in filter_declarations
self.std_ns.class_('vector< std::string >').include()
File "/usr/local/lib/python3.10/dist-packages/pygccxml/declarations/scopedef.py", line 554, in class_
recursive=recursive)
File "/usr/local/lib/python3.10/dist-packages/pygccxml/declarations/scopedef.py", line 464, in _find_single
found = matcher.get_single(decl_matcher, decls, False)
File "/usr/local/lib/python3.10/dist-packages/pygccxml/declarations/scopedef.py", line 90, in get_single
raise runtime_errors.declaration_not_found_t(decl_matcher)
Can you provide more details of your system? I tested the installation of ompl 1.5.2 on Ubuntu 18.04, with system-wide python version being 3.6.9. The pyplusplus version is 1.8.5. pygccxml version is 2.4.0. Besides, I installed castxml by this (based on my system is 18.04)
wget -q -O- https://data.kitware.com/api/v1/file/5e8b740d2660cbefba944189/download | tar zxf castxml-linux.tar.gz -C ${HOME}
export PATH=${HOME}/castxml/bin:${PATH}
Let me know if this helps.
Another option is for us to provide a docker image that have ompl & conda env already installed. We will look into that if installing ompl is too much pain on other systems.
Can you provide more details of your system? I tested the installation of ompl 1.5.2 on Ubuntu 18.04, with system-wide python version being 3.6.9. The pyplusplus version is 1.8.5. pygccxml version is 2.4.0. Besides, I installed castxml by this (based on my system is 18.04)
wget -q -O- https://data.kitware.com/api/v1/file/5e8b740d2660cbefba944189/download | tar zxf castxml-linux.tar.gz -C ${HOME} export PATH=${HOME}/castxml/bin:${PATH}
Let me know if this helps.
Another option is for us to provide a docker image that have ompl & conda env already installed. We will look into that if installing ompl is too much pain on other systems.
give us a docker image pls!!!
I will look into building a docker image and update the repo once it's done.
Hi,
If you still have trouble installing ompl python binding from source, you can try installing it from the pre-built python wheels, see the updated ReadMe for details.
I got this error while trying to run the example code after running the ompl installation code
Any idea?