Giter VIP home page Giter VIP logo

modularevogym's Introduction

Hi there ๐Ÿ‘‹

GitHub stats

  • โœจ My main research interests are : Embodied AI, Evolutionary Robotics, Reinforcement Learning and Evolutionary Optimization, aiming at co-designing the brain and body of various robots.

  • ๐Ÿ“ซ Reach me through [email protected]

modularevogym's People

Contributors

flypig6666 avatar yuxing-wang-thu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

modularevogym's Issues

ModuleNotFoundError: No module named 'evogym.simulator_cpp'

Hello! I had finished all the process for installation but still get this error, could anyone teach me how to fix it?
There are some reasons I think might related with it:
#1 I wander whether I can install cmake through conda install cmake because I do not have sudo right in the Ubuntu service so I cannot install it from Pkg downloaded from official website.
#2 I install cmake to the virtual env I created for this project which python=3.7.11, but after finish the command python setup.py install the .so file 'evogym.simulator_cpp' was loaded in my conda's default env path witch python=3.9 /anaconda3/lib/python3.9/site-packages/evogym-1.0.0-py3.9-linux-x86_64.egg. The .so file's name is in its 3.9 version simulator_cpp.cpython-39m-x86_64-linux-gnu.so which is not suitable for the required 3.7 env. I wander if there is any problem.

Here is my cmake process after I run the code python setup.py install in my created project env with python=3.7.11:
`running install
/home/hsn/anaconda3/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/home/hsn/anaconda3/lib/python3.9/site-packages/setuptools/command/easy_install.py:144: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running bdist_egg
running egg_info
writing evogym.egg-info/PKG-INFO
writing dependency_links to evogym.egg-info/dependency_links.txt
writing top-level names to evogym.egg-info/top_level.txt
reading manifest file 'evogym.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'evogym.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
running build_ext
CMake Warning (dev) at /home/hsn/anaconda3/envs/evogym/share/cmake-3.22/Modules/FindOpenGL.cmake:315 (message):
Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
available. Run "cmake --help-policy CMP0072" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.

FindOpenGL found both a legacy GL library:

OPENGL_gl_LIBRARY: /usr/lib/x86_64-linux-gnu/libGL.so

and GLVND libraries for OpenGL and GLX:

OPENGL_opengl_LIBRARY: /usr/lib/x86_64-linux-gnu/libOpenGL.so
OPENGL_glx_LIBRARY: /usr/lib/x86_64-linux-gnu/libGLX.so

OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
CMakeLists.txt:21 (find_package)
This warning is for project developers. Use -Wno-dev to suppress it.

-- pybind11 v2.9.0
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Including X11 support
-- Configuring done
-- Generating done
-- Build files have been written to: /home/hsn/evogym/build/temp.linux-x86_64-cpython-39
Consolidate compiler generated dependencies of target glew
Consolidate compiler generated dependencies of target glfw
[ 5%] Built target glew
[ 62%] Built target glfw
Consolidate compiler generated dependencies of target simulator_cpp
[100%] Built target simulator_cpp


<main.CMakeExtension('evogym.simulator_cpp') at 0x7ff02b41df70>
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/evogym
copying build/lib.linux-x86_64-cpython-39/evogym/utils.py -> build/bdist.linux-x86_64/egg/evogym
copying build/lib.linux-x86_64-cpython-39/evogym/sim.py -> build/bdist.linux-x86_64/egg/evogym
copying build/lib.linux-x86_64-cpython-39/evogym/simulator_cpp.cpython-37m-x86_64-linux-gnu.so -> build/bdist.linux-x86_64/egg/evogym
copying build/lib.linux-x86_64-cpython-39/evogym/init.py -> build/bdist.linux-x86_64/egg/evogym
copying build/lib.linux-x86_64-cpython-39/evogym/viewer.py -> build/bdist.linux-x86_64/egg/evogym
creating build/bdist.linux-x86_64/egg/evogym/envs
copying build/lib.linux-x86_64-cpython-39/evogym/envs/change_shape.py -> build/bdist.linux-x86_64/egg/evogym/envs
copying build/lib.linux-x86_64-cpython-39/evogym/envs/traverse.py -> build/bdist.linux-x86_64/egg/evogym/envs
copying build/lib.linux-x86_64-cpython-39/evogym/envs/walk.py -> build/bdist.linux-x86_64/egg/evogym/envs
copying build/lib.linux-x86_64-cpython-39/evogym/envs/flip.py -> build/bdist.linux-x86_64/egg/evogym/envs
copying build/lib.linux-x86_64-cpython-39/evogym/envs/manipulate.py -> build/bdist.linux-x86_64/egg/evogym/envs
copying build/lib.linux-x86_64-cpython-39/evogym/envs/base.py -> build/bdist.linux-x86_64/egg/evogym/envs
creating build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/BeamToppler-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Pusher-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Climber-v1.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/DownStepper-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/ObstacleTraverser-v1.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Climber-v2.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/BeamSlider-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/UpStepper-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/package.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Thrower-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Flipper-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Balancer-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/PlatformJumper-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/rigid_3x3.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Lifter-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/CaveCrawler-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Balancer-v1.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/peg.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/ShapeChange.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Jumper-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/GapJumper-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/rigid_1x1.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Carrier-v1.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Traverser-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Carrier-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Climber-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Pusher-v1.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/BridgeWalker-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/rigid_2x2.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/BidirectionalWalker-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Hurdler-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/Walker-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/sim_files/ObstacleTraverser-v0.json -> build/bdist.linux-x86_64/egg/evogym/envs/sim_files
copying build/lib.linux-x86_64-cpython-39/evogym/envs/jump.py -> build/bdist.linux-x86_64/egg/evogym/envs
copying build/lib.linux-x86_64-cpython-39/evogym/envs/init.py -> build/bdist.linux-x86_64/egg/evogym/envs
copying build/lib.linux-x86_64-cpython-39/evogym/envs/balance.py -> build/bdist.linux-x86_64/egg/evogym/envs
copying build/lib.linux-x86_64-cpython-39/evogym/envs/climb.py -> build/bdist.linux-x86_64/egg/evogym/envs
copying build/lib.linux-x86_64-cpython-39/evogym/envs/multi_goal.py -> build/bdist.linux-x86_64/egg/evogym/envs
copying build/lib.linux-x86_64-cpython-39/evogym/world.py -> build/bdist.linux-x86_64/egg/evogym
byte-compiling build/bdist.linux-x86_64/egg/evogym/utils.py to utils.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/sim.py to sim.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/init.py to init.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/viewer.py to viewer.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/envs/change_shape.py to change_shape.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/envs/traverse.py to traverse.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/envs/walk.py to walk.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/envs/flip.py to flip.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/envs/manipulate.py to manipulate.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/envs/base.py to base.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/envs/jump.py to jump.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/envs/init.py to init.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/envs/balance.py to balance.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/envs/climb.py to climb.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/envs/multi_goal.py to multi_goal.cpython-39.pyc
byte-compiling build/bdist.linux-x86_64/egg/evogym/world.py to world.cpython-39.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying evogym.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying evogym.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying evogym.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying evogym.egg-info/not-zip-safe -> build/bdist.linux-x86_64/egg/EGG-INFO
copying evogym.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
writing build/bdist.linux-x86_64/egg/EGG-INFO/native_libs.txt
creating 'dist/evogym-1.0.0-py3.9-linux-x86_64.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing evogym-1.0.0-py3.9-linux-x86_64.egg
removing '/home/hsn/anaconda3/lib/python3.9/site-packages/evogym-1.0.0-py3.9-linux-x86_64.egg' (and everything under it)
creating /home/hsn/anaconda3/lib/python3.9/site-packages/evogym-1.0.0-py3.9-linux-x86_64.egg
Extracting evogym-1.0.0-py3.9-linux-x86_64.egg to /home/hsn/anaconda3/lib/python3.9/site-packages
evogym 1.0.0 is already the active version in easy-install.pth

Installed /home/hsn/anaconda3/lib/python3.9/site-packages/evogym-1.0.0-py3.9-linux-x86_64.egg
Processing dependencies for evogym==1.0.0
Finished processing dependencies for evogym==1.0.0`

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.