Comments (12)
I have solved the error by Installing Bullet 2.88 instead of 2.87 and also ran command 'sudo make install' after ./build_cmake_pybullet_double.sh to overcome the linker errors to BulletDynamics and BulletCollision. Thanks for the help @bsivanantham
from deepmimic.
Hello I am getting the errors as some of you mention before. I did ran command 'sudo make install' after ./build_cmake_pybullet_double.sh but the problem is not be solved. Could anyone please help me on this.
Traceback (most recent call last):
File "DeepMimic.py", line 9, in
from env.deepmimic_env import DeepMimicEnv
File "/home/sah.pod/work/Deep-Mimic/DeepMimic-master/env/deepmimic_env.py", line 3, in
from DeepMimicCore import DeepMimicCore
File "/home/sah.pod/work/Deep-Mimic/DeepMimic-master/DeepMimicCore/DeepMimicCore.py", line 13, in
from . import _DeepMimicCore
ImportError: /home/sah.pod/work/Deep-Mimic/DeepMimic-master/DeepMimicCore/_DeepMimicCore.so: undefined symbol: _ZN11btMultiBody22addJointTorqueMultiDofEiPKf
from deepmimic.
I usually see this issue if some of the c++ libraries are not installed. Check that you have the OpenGL, glew, and glut dll where they should be.
from deepmimic.
Thanks, sorted it out. glut dll was out of place.
from deepmimic.
Thanks for sharing your code and being helpful with issues. I have a similar problem in my Ubuntu machine and cannot figure out the cause of the issue. So I wanted to ask where is the correct location for the libraries you mentioned, eg. OpenGL, glew, and glut dll, in Linux?
I am running Ubuntu 18.04 and have the following versions installed with their proper methods:
- OpenGL: command "glxinfo | grep "OpenGL version" "-> shows me: OpenGL version string: 4.6.0 NVIDIA 410.79
- glew: installed with make install under root user. confirmed shared objects at /usr/lib64/libGLEW.so.2.1 and /usr/lib/libGLEW.so.2.1
- glut: Freeglut 3.0.0 and installed with make install. moreover tried installing with apt install freeglut3-dev package.
After all these I still get the following error even after a successful build of the wrapper:
python3 DeepMimic.py --arg_file args/kin_char_args.txt
Traceback (most recent call last):
File "/me/DeepMimic/DeepMimicCore/DeepMimicCore.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 994, in _gcd_import
File "", line 971, in _find_and_load
File "", line 955, in _find_and_load_unlocked
File "", line 658, in _load_unlocked
File "", line 571, in module_from_spec
File "", line 922, in create_module
File "", line 219, in _call_with_frames_removed
ImportError: libGLEW.so.2.1: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "DeepMimic.py", line 9, in
from env.deepmimic_env import DeepMimicEnv
File "/me/DeepMimic/env/deepmimic_env.py", line 3, in
from DeepMimicCore import DeepMimicCore
File "/me/DeepMimic/DeepMimicCore/DeepMimicCore.py", line 17, in
_DeepMimicCore = swig_import_helper()
File "/me/DeepMimic/DeepMimicCore/DeepMimicCore.py", line 16, in swig_import_helper
return importlib.import_module('_DeepMimicCore')
File "/usr/lib/python3.6/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_DeepMimicCore'
from deepmimic.
I am having same issue ..
Traceback (most recent call last):
File "/home/balavivek/PycharmProjects/DeepMimic/DeepMimicCore/DeepMimicCore.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "/home/balavivek/anaconda3/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
File "<frozen importlib._bootstrap>", line 571, in module_from_spec
File "<frozen importlib._bootstrap_external>", line 922, in create_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: /home/balavivek/PycharmProjects/DeepMimic/DeepMimicCore/_DeepMimicCore.so: undefined symbol: _ZN11btMultiBody19setJointPosMultiDofEiPKf
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "DeepMimic.py", line 9, in <module>
from env.deepmimic_env import DeepMimicEnv
File "/home/balavivek/PycharmProjects/DeepMimic/env/deepmimic_env.py", line 3, in <module>
from DeepMimicCore import DeepMimicCore
File "/home/balavivek/PycharmProjects/DeepMimic/DeepMimicCore/DeepMimicCore.py", line 17, in <module>
_DeepMimicCore = swig_import_helper()
File "/home/balavivek/PycharmProjects/DeepMimic/DeepMimicCore/DeepMimicCore.py", line 16, in swig_import_helper
return importlib.import_module('_DeepMimicCore')
File "/home/balavivek/anaconda3/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named `'_DeepMimicCore'`
```
from deepmimic.
@Phazed98 would it be possible for you to write where you found your glut dll and where you ended up putting it?
from deepmimic.
I am running the same on Linux and I got the following error. Any help would be great!!!
Traceback (most recent call last):
File "/home/teai/Downloads/DeepMimic/DeepMimic-master/DeepMimicCore/DeepMimicCore.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 666, in _load_unlocked
File "", line 577, in module_from_spec
File "", line 906, in create_module
File "", line 222, in _call_with_frames_removed
ImportError: libGLEW.so.2.1: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "DeepMimic.py", line 9, in
from env.deepmimic_env import DeepMimicEnv
File "/home/teai/Downloads/DeepMimic/DeepMimic-master/env/deepmimic_env.py", line 3, in
from DeepMimicCore import DeepMimicCore
File "/home/teai/Downloads/DeepMimic/DeepMimic-master/DeepMimicCore/DeepMimicCore.py", line 17, in
_DeepMimicCore = swig_import_helper()
File "/home/teai/Downloads/DeepMimic/DeepMimic-master/DeepMimicCore/DeepMimicCore.py", line 16, in swig_import_helper
return importlib.import_module('_DeepMimicCore')
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: No module named '_DeepMimicCore'
from deepmimic.
@IntelligentIndia7 I had the same issue first check you Glew installation.
second check your bullet installation. and Check if /usr/include or /usr/local/include has bullet file.
If the file is not available manually run gcc -I and missing files names like -lGLEW -lGL -lGLU -lglut -lBulletDynamics -lBulletCollision -lLinearMath -lm -lstdc++ to /usr/include
for me running gcc solved the issue.
from deepmimic.
I had solved the above error by adding the path of libGLEW.so.2.1 to LD_LIBRARY_PATH. Now I am getting the following error. Any help regarding the same? Thanks in advance!!!!
Traceback (most recent call last):
File "/home/teai/Downloads/DeepMimic/DeepMimic-master/DeepMimicCore/DeepMimicCore.py", line 14, in swig_import_helper
return importlib.import_module(mname)
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 986, in _gcd_import
File "", line 969, in _find_and_load
File "", line 958, in _find_and_load_unlocked
File "", line 666, in _load_unlocked
File "", line 577, in module_from_spec
File "", line 906, in create_module
File "", line 222, in _call_with_frames_removed
ImportError: /home/teai/Downloads/DeepMimic/DeepMimic-master/DeepMimicCore/_DeepMimicCore.so: undefined symbol: _ZN11btMultiBody22addJointTorqueMultiDofEiPKf
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "DeepMimic.py", line 9, in
from env.deepmimic_env import DeepMimicEnv
File "/home/teai/Downloads/DeepMimic/DeepMimic-master/env/deepmimic_env.py", line 3, in
from DeepMimicCore import DeepMimicCore
File "/home/teai/Downloads/DeepMimic/DeepMimic-master/DeepMimicCore/DeepMimicCore.py", line 17, in
_DeepMimicCore = swig_import_helper()
File "/home/teai/Downloads/DeepMimic/DeepMimic-master/DeepMimicCore/DeepMimicCore.py", line 16, in swig_import_helper
return importlib.import_module('_DeepMimicCore')
File "/usr/lib/python3.5/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
ImportError: No module named '_DeepMimicCore'
from deepmimic.
Can some one help me with Bullet installation, I guess the problem is with Bullet.
I just ran build_cmake_pybullet_double.sh with double precision flag set off. Is that the right way or should I follow other method mentioned in Read me of Bullet with premake
from deepmimic.
from deepmimic.
Related Issues (20)
- On orientation/rotation state in DeepMimic. HOT 3
- The construction of the motion clips for AMP. HOT 5
- May I ask whether the visualization window during training can be closed to speed up sample collection
- AMP: Samples per update iteration, RSI, Number of parallel agents HOT 1
- Compile freeglut error in GCC 10.1.0
- Action value interpretation HOT 1
- Need help with python include path HOT 2
- Link path not working
- What are the time_lim arguments to mpi_run.py? HOT 2
- Camera Following HOT 1
- how to add a new terrain? HOT 1
- Issue with make python on Ubuntu 20.04 HOT 3
- when run a pre-trained policy , is it possible to set the input state/action change follow the input motion clips?
- Unable to display the screen correctly HOT 1
- Some questions about implementing ASI HOT 3
- Question | UE5 + this model, is it compatible?
- Format description of dog motion files
- deeppmimiccore.i 9009
- unbuntu 20.04,errors about glutInit occur when I run the DeepMimic.py HOT 1
- about train
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from deepmimic.