Closed Titanium2099 closed 3 months ago
Hello, When I try to run gym_test.py I get the following error:
PS C:\Users\Yoyo\evogym> & C:/Users/Yoyo/AppData/Local/Programs/Python/Python39/python.exe c:/Users/Yoyo/evogym/examples/gym_test.py Traceback (most recent call last): File "c:\Users\Yoyo\evogym\examples\gym_test.py", line 2, in <module> import evogym.envs File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\evogym-1.0.0-py3.9-win-amd64.egg\evogym\__init__.py", line 2, in <module> from evogym.sim import EvoSim File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\evogym-1.0.0-py3.9-win-amd64.egg\evogym\sim.py", line 11, in <module> from evogym.simulator_cpp import Sim ModuleNotFoundError: No module named 'evogym.simulator_cpp'
Can you please tell me what to do to fix this error?
You need to run "python setup.py install" at first
Hello, When I try to run gym_test.py I get the following error:
PS C:\Users\Yoyo\evogym> & C:/Users/Yoyo/AppData/Local/Programs/Python/Python39/python.exe c:/Users/Yoyo/evogym/examples/gym_test.py Traceback (most recent call last): File "c:\Users\Yoyo\evogym\examples\gym_test.py", line 2, in <module> import evogym.envs File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\evogym-1.0.0-py3.9-win-amd64.egg\evogym\__init__.py", line 2, in <module> from evogym.sim import EvoSim File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\evogym-1.0.0-py3.9-win-amd64.egg\evogym\sim.py", line 11, in <module> from evogym.simulator_cpp import Sim ModuleNotFoundError: No module named 'evogym.simulator_cpp'
Can you please tell me what to do to fix this error?You need to run "python setup.py install" at first
I did and a get the same thing:
` C:\Users\Yoyo>cd evogym
C:\Users\Yoyo\evogym>py install setup.py C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\python.exe: can't open file 'C:\Users\Yoyo\evogym\install': [Errno 2] No such file or directory
C:\Users\Yoyo\evogym>py setup.py install running install 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.win-amd64\egg running install_lib running build_py running build_ext creating build\bdist.win-amd64\egg creating build\bdist.win-amd64\egg\evogym creating build\bdist.win-amd64\egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\balance.py -> build\bdist.win-amd64\ egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\base.py -> build\bdist.win-amd64\egg \evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\change_shape.py -> build\bdist.win-a md64\egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\climb.py -> build\bdist.win-amd64\eg g\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\flip.py -> build\bdist.win-amd64\egg \evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\jump.py -> build\bdist.win-amd64\egg \evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\manipulate.py -> build\bdist.win-amd 64\egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\multi_goal.py -> build\bdist.win-amd 64\egg\evogym\envs creating build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Balancer-v0.json -> build\ bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Balancer-v1.json -> build\ bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\BeamSlider-v0.json -> buil d\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\BeamToppler-v0.json -> bui ld\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\BidirectionalWalker-v0.jso n -> build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\BridgeWalker-v0.json -> bu ild\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Carrier-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Carrier-v1.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\CaveCrawler-v0.json -> bui ld\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Climber-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Climber-v1.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Climber-v2.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\DownStepper-v0.json -> bui ld\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Flipper-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\GapJumper-v0.json -> build \bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Hurdler-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Jumper-v0.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Lifter-v0.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\ObstacleTraverser-v0.json -> build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\ObstacleTraverser-v1.json -> build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\package.json -> build\bdis t.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\peg.json -> build\bdist.wi n-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\PlatformJumper-v0.json -> build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Pusher-v0.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Pusher-v1.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\rigid_1x1.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\rigid_2x2.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\rigid_3x3.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\ShapeChange.json -> build\ bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Thrower-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Traverser-v0.json -> build \bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\UpStepper-v0.json -> build \bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Walker-v0.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\traverse.py -> build\bdist.win-amd64 \egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\walk.py -> build\bdist.win-amd64\egg \evogym\envs copying build\lib.win-amd64-3.9\evogym\envs__init.py -> build\bdist.win-amd64 \egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\sim.py -> build\bdist.win-amd64\egg\evogy m copying build\lib.win-amd64-3.9\evogym\utils.py -> build\bdist.win-amd64\egg\evo gym copying build\lib.win-amd64-3.9\evogym\viewer.py -> build\bdist.win-amd64\egg\ev ogym copying build\lib.win-amd64-3.9\evogym\world.py -> build\bdist.win-amd64\egg\evo gym copying build\lib.win-amd64-3.9\evogym\init.py -> build\bdist.win-amd64\egg\ evogym byte-compiling build\bdist.win-amd64\egg\evogym\envs\balance.py to balance.cpyth on-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\base.py to base.cpython-39. pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\change_shape.py to change_s hape.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\climb.py to climb.cpython-3 9.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\flip.py to flip.cpython-39. pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\jump.py to jump.cpython-39. pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\manipulate.py to manipulate .cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\multi_goal.py to multi_goal .cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\traverse.py to traverse.cpy thon-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\walk.py to walk.cpython-39. pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\init.py to init__.cpy thon-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\sim.py to sim.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\utils.py to utils.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\evogym\viewer.py to viewer.cpython-39.p yc byte-compiling build\bdist.win-amd64\egg\evogym\world.py to world.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\evogym__init.py to init__.cpython- 39.pyc creating build\bdist.win-amd64\egg\EGG-INFO copying evogym.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO copying evogym.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO copying evogym.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-IN FO copying evogym.egg-info\not-zip-safe -> build\bdist.win-amd64\egg\EGG-INFO copying evogym.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO creating 'dist\evogym-1.0.0-py3.9-win-amd64.egg' and adding 'build\bdist.win-amd 64\egg' to it removing 'build\bdist.win-amd64\egg' (and everything under it) Processing evogym-1.0.0-py3.9-win-amd64.egg removing 'c:\users\yoyo\appdata\local\programs\python\python39\lib\site-packages \evogym-1.0.0-py3.9-win-amd64.egg' (and everything under it) creating c:\users\yoyo\appdata\local\programs\python\python39\lib\site-packages\ evogym-1.0.0-py3.9-win-amd64.egg Extracting evogym-1.0.0-py3.9-win-amd64.egg to c:\users\yoyo\appdata\local\progr ams\python\python39\lib\site-packages evogym 1.0.0 is already the active version in easy-install.pth
Installed c:\users\yoyo\appdata\local\programs\python\python39\lib\site-packages \evogym-1.0.0-py3.9-win-amd64.egg Processing dependencies for evogym==1.0.0 Finished processing dependencies for evogym==1.0.0
C:\Users\Yoyo\evogym>cd examples
C:\Users\Yoyo\evogym\examples>py gym_test.py
Traceback (most recent call last):
File "C:\Users\Yoyo\evogym\examples\gym_test.py", line 2, in
Hello, When I try to run gym_test.py I get the following error:
PS C:\Users\Yoyo\evogym> & C:/Users/Yoyo/AppData/Local/Programs/Python/Python39/python.exe c:/Users/Yoyo/evogym/examples/gym_test.py Traceback (most recent call last): File "c:\Users\Yoyo\evogym\examples\gym_test.py", line 2, in <module> import evogym.envs File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\evogym-1.0.0-py3.9-win-amd64.egg\evogym\__init__.py", line 2, in <module> from evogym.sim import EvoSim File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\evogym-1.0.0-py3.9-win-amd64.egg\evogym\sim.py", line 11, in <module> from evogym.simulator_cpp import Sim ModuleNotFoundError: No module named 'evogym.simulator_cpp'
Can you please tell me what to do to fix this error?You need to run "python setup.py install" at first
I did and a get the same thing:
` C:\Users\Yoyo>cd evogym
C:\Users\Yoyo\evogym>py install setup.py C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\python.exe: can't open file 'C:\Users\Yoyo\evogym\install': [Errno 2] No such file or directory
C:\Users\Yoyo\evogym>py setup.py install running install 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.win-amd64\egg running install_lib running build_py running build_ext creating build\bdist.win-amd64\egg creating build\bdist.win-amd64\egg\evogym creating build\bdist.win-amd64\egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\balance.py -> build\bdist.win-amd64 egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\base.py -> build\bdist.win-amd64\egg \evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\change_shape.py -> build\bdist.win-a md64\egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\climb.py -> build\bdist.win-amd64\eg g\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\flip.py -> build\bdist.win-amd64\egg \evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\jump.py -> build\bdist.win-amd64\egg \evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\manipulate.py -> build\bdist.win-amd 64\egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\multi_goal.py -> build\bdist.win-amd 64\egg\evogym\envs creating build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Balancer-v0.json -> build bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Balancer-v1.json -> build bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\BeamSlider-v0.json -> buil d\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\BeamToppler-v0.json -> bui ld\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\BidirectionalWalker-v0.jso n -> build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\BridgeWalker-v0.json -> bu ild\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Carrier-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Carrier-v1.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\CaveCrawler-v0.json -> bui ld\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Climber-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Climber-v1.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Climber-v2.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\DownStepper-v0.json -> bui ld\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Flipper-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\GapJumper-v0.json -> build \bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Hurdler-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Jumper-v0.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Lifter-v0.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\ObstacleTraverser-v0.json -> build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\ObstacleTraverser-v1.json -> build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\package.json -> build\bdis t.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\peg.json -> build\bdist.wi n-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\PlatformJumper-v0.json -> build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Pusher-v0.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Pusher-v1.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\rigid_1x1.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\rigid_2x2.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\rigid_3x3.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\ShapeChange.json -> build bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Thrower-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Traverser-v0.json -> build \bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\UpStepper-v0.json -> build \bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Walker-v0.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\traverse.py -> build\bdist.win-amd64 \egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\walk.py -> build\bdist.win-amd64\egg \evogym\envs copying build\lib.win-amd64-3.9\evogym\envsinit.py -> build\bdist.win-amd64 \egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\sim.py -> build\bdist.win-amd64\egg\evogy m copying build\lib.win-amd64-3.9\evogym\utils.py -> build\bdist.win-amd64\egg\evo gym copying build\lib.win-amd64-3.9\evogym\viewer.py -> build\bdist.win-amd64\egg\ev ogym copying build\lib.win-amd64-3.9\evogym\world.py -> build\bdist.win-amd64\egg\evo gym copying build\lib.win-amd64-3.9\evogyminit.py -> build\bdist.win-amd64\egg evogym byte-compiling build\bdist.win-amd64\egg\evogym\envs\balance.py to balance.cpyth on-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\base.py to base.cpython-39. pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\change_shape.py to change_s hape.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\climb.py to climb.cpython-3 9.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\flip.py to flip.cpython-39. pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\jump.py to jump.cpython-39. pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\manipulate.py to manipulate .cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\multi_goal.py to multi_goal .cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\traverse.py to traverse.cpy thon-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\walk.py to walk.cpython-39. pyc byte-compiling build\bdist.win-amd64\egg\evogym\envsinit.py to init.cpy thon-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\sim.py to sim.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\utils.py to utils.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\evogym\viewer.py to viewer.cpython-39.p yc byte-compiling build\bdist.win-amd64\egg\evogym\world.py to world.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\evogyminit.py to init.cpython- 39.pyc creating build\bdist.win-amd64\egg\EGG-INFO copying evogym.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO copying evogym.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO copying evogym.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-IN FO copying evogym.egg-info\not-zip-safe -> build\bdist.win-amd64\egg\EGG-INFO copying evogym.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO creating 'dist\evogym-1.0.0-py3.9-win-amd64.egg' and adding 'build\bdist.win-amd 64\egg' to it removing 'build\bdist.win-amd64\egg' (and everything under it) Processing evogym-1.0.0-py3.9-win-amd64.egg removing 'c:\users\yoyo\appdata\local\programs\python\python39\lib\site-packages \evogym-1.0.0-py3.9-win-amd64.egg' (and everything under it) creating c:\users\yoyo\appdata\local\programs\python\python39\lib\site-packages evogym-1.0.0-py3.9-win-amd64.egg Extracting evogym-1.0.0-py3.9-win-amd64.egg to c:\users\yoyo\appdata\local\progr ams\python\python39\lib\site-packages evogym 1.0.0 is already the active version in easy-install.pth
Installed c:\users\yoyo\appdata\local\programs\python\python39\lib\site-packages \evogym-1.0.0-py3.9-win-amd64.egg Processing dependencies for evogym==1.0.0 Finished processing dependencies for evogym==1.0.0
C:\Users\Yoyo\evogym>cd examples
C:\Users\Yoyo\evogym\examples>py gym_test.py Traceback (most recent call last): File "C:\Users\Yoyo\evogym\examples\gym_test.py", line 2, in import evogym.envs File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\e vogym-1.0.0-py3.9-win-amd64.egg\evogyminit.py", line 2, in from evogym.sim import EvoSim File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\e vogym-1.0.0-py3.9-win-amd64.egg\evogym\sim.py", line 11, in from evogym.simulator_cpp import Sim ModuleNotFoundError: No module named 'evogym.simulator_cpp' `
Did you download the source code by git command or zip file? If zip , some files(/evogym/simulator/external) may not be downloaded
git command, shou
Hello, When I try to run gym_test.py I get the following error:
PS C:\Users\Yoyo\evogym> & C:/Users/Yoyo/AppData/Local/Programs/Python/Python39/python.exe c:/Users/Yoyo/evogym/examples/gym_test.py Traceback (most recent call last): File "c:\Users\Yoyo\evogym\examples\gym_test.py", line 2, in <module> import evogym.envs File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\evogym-1.0.0-py3.9-win-amd64.egg\evogym\__init__.py", line 2, in <module> from evogym.sim import EvoSim File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\evogym-1.0.0-py3.9-win-amd64.egg\evogym\sim.py", line 11, in <module> from evogym.simulator_cpp import Sim ModuleNotFoundError: No module named 'evogym.simulator_cpp'
Can you please tell me what to do to fix this error?You need to run "python setup.py install" at first
I did and a get the same thing:
` C:\Users\Yoyo>cd evogym
C:\Users\Yoyo\evogym>py install setup.py C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\python.exe: can't open file 'C:\Users\Yoyo\evogym\install': [Errno 2] No such file or directory
C:\Users\Yoyo\evogym>py setup.py install running install 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.win-amd64\egg running install_lib running build_py running build_ext creating build\bdist.win-amd64\egg creating build\bdist.win-amd64\egg\evogym creating build\bdist.win-amd64\egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\balance.py -> build\bdist.win-amd64 egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\base.py -> build\bdist.win-amd64\egg \evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\change_shape.py -> build\bdist.win-a md64\egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\climb.py -> build\bdist.win-amd64\eg g\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\flip.py -> build\bdist.win-amd64\egg \evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\jump.py -> build\bdist.win-amd64\egg \evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\manipulate.py -> build\bdist.win-amd 64\egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\multi_goal.py -> build\bdist.win-amd 64\egg\evogym\envs creating build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Balancer-v0.json -> build bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Balancer-v1.json -> build bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\BeamSlider-v0.json -> buil d\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\BeamToppler-v0.json -> bui ld\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\BidirectionalWalker-v0.jso n -> build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\BridgeWalker-v0.json -> bu ild\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Carrier-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Carrier-v1.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\CaveCrawler-v0.json -> bui ld\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Climber-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Climber-v1.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Climber-v2.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\DownStepper-v0.json -> bui ld\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Flipper-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\GapJumper-v0.json -> build \bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Hurdler-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Jumper-v0.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Lifter-v0.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\ObstacleTraverser-v0.json -> build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\ObstacleTraverser-v1.json -> build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\package.json -> build\bdis t.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\peg.json -> build\bdist.wi n-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\PlatformJumper-v0.json -> build\bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Pusher-v0.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Pusher-v1.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\rigid_1x1.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\rigid_2x2.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\rigid_3x3.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\ShapeChange.json -> build bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Thrower-v0.json -> build\b dist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Traverser-v0.json -> build \bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\UpStepper-v0.json -> build \bdist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\sim_files\Walker-v0.json -> build\bd ist.win-amd64\egg\evogym\envs\sim_files copying build\lib.win-amd64-3.9\evogym\envs\traverse.py -> build\bdist.win-amd64 \egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\envs\walk.py -> build\bdist.win-amd64\egg \evogym\envs copying build\lib.win-amd64-3.9\evogym\envsinit.py -> build\bdist.win-amd64 \egg\evogym\envs copying build\lib.win-amd64-3.9\evogym\sim.py -> build\bdist.win-amd64\egg\evogy m copying build\lib.win-amd64-3.9\evogym\utils.py -> build\bdist.win-amd64\egg\evo gym copying build\lib.win-amd64-3.9\evogym\viewer.py -> build\bdist.win-amd64\egg\ev ogym copying build\lib.win-amd64-3.9\evogym\world.py -> build\bdist.win-amd64\egg\evo gym copying build\lib.win-amd64-3.9\evogyminit.py -> build\bdist.win-amd64\egg evogym byte-compiling build\bdist.win-amd64\egg\evogym\envs\balance.py to balance.cpyth on-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\base.py to base.cpython-39. pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\change_shape.py to change_s hape.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\climb.py to climb.cpython-3 9.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\flip.py to flip.cpython-39. pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\jump.py to jump.cpython-39. pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\manipulate.py to manipulate .cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\multi_goal.py to multi_goal .cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\traverse.py to traverse.cpy thon-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\envs\walk.py to walk.cpython-39. pyc byte-compiling build\bdist.win-amd64\egg\evogym\envsinit.py to init.cpy thon-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\sim.py to sim.cpython-39.pyc byte-compiling build\bdist.win-amd64\egg\evogym\utils.py to utils.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\evogym\viewer.py to viewer.cpython-39.p yc byte-compiling build\bdist.win-amd64\egg\evogym\world.py to world.cpython-39.pyc
byte-compiling build\bdist.win-amd64\egg\evogyminit.py to init.cpython- 39.pyc creating build\bdist.win-amd64\egg\EGG-INFO copying evogym.egg-info\PKG-INFO -> build\bdist.win-amd64\egg\EGG-INFO copying evogym.egg-info\SOURCES.txt -> build\bdist.win-amd64\egg\EGG-INFO copying evogym.egg-info\dependency_links.txt -> build\bdist.win-amd64\egg\EGG-IN FO copying evogym.egg-info\not-zip-safe -> build\bdist.win-amd64\egg\EGG-INFO copying evogym.egg-info\top_level.txt -> build\bdist.win-amd64\egg\EGG-INFO creating 'dist\evogym-1.0.0-py3.9-win-amd64.egg' and adding 'build\bdist.win-amd 64\egg' to it removing 'build\bdist.win-amd64\egg' (and everything under it) Processing evogym-1.0.0-py3.9-win-amd64.egg removing 'c:\users\yoyo\appdata\local\programs\python\python39\lib\site-packages \evogym-1.0.0-py3.9-win-amd64.egg' (and everything under it) creating c:\users\yoyo\appdata\local\programs\python\python39\lib\site-packages evogym-1.0.0-py3.9-win-amd64.egg Extracting evogym-1.0.0-py3.9-win-amd64.egg to c:\users\yoyo\appdata\local\progr ams\python\python39\lib\site-packages evogym 1.0.0 is already the active version in easy-install.pth
Installed c:\users\yoyo\appdata\local\programs\python\python39\lib\site-packages \evogym-1.0.0-py3.9-win-amd64.egg Processing dependencies for evogym==1.0.0 Finished processing dependencies for evogym==1.0.0
C:\Users\Yoyo\evogym>cd examples
C:\Users\Yoyo\evogym\examples>py gym_test.py Traceback (most recent call last): File "C:\Users\Yoyo\evogym\examples\gym_test.py", line 2, in import evogym.envs File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\e vogym-1.0.0-py3.9-win-amd64.egg\evogyminit.py", line 2, in from evogym.sim import EvoSim File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\e vogym-1.0.0-py3.9-win-amd64.egg\evogym\sim.py", line 11, in from evogym.simulator_cpp import Sim ModuleNotFoundError: No module named 'evogym.simulator_cpp' `
git, and (/evogym/simulator/external does exist , should I do it via zip?
Hi, I don't know if you still need help, but I had the same problem and I found a solution (which works on windows). In case you find a possible solution here
I've recently updated, simplified, and modernized EvoGym
's build, which should fix this problem. Feel free to reopen this issue if the problem persists!
Hello, When I try to run gym_test.py I get the following error:
PS C:\Users\Yoyo\evogym> & C:/Users/Yoyo/AppData/Local/Programs/Python/Python39/python.exe c:/Users/Yoyo/evogym/examples/gym_test.py Traceback (most recent call last): File "c:\Users\Yoyo\evogym\examples\gym_test.py", line 2, in <module> import evogym.envs File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\evogym-1.0.0-py3.9-win-amd64.egg\evogym\__init__.py", line 2, in <module> from evogym.sim import EvoSim File "C:\Users\Yoyo\AppData\Local\Programs\Python\Python39\lib\site-packages\evogym-1.0.0-py3.9-win-amd64.egg\evogym\sim.py", line 11, in <module> from evogym.simulator_cpp import Sim ModuleNotFoundError: No module named 'evogym.simulator_cpp'
Can you please tell me what to do to fix this error?