Giter VIP home page Giter VIP logo

Comments (6)

cwgreene avatar cwgreene commented on June 24, 2024

Question, what happens if you are not in the project directory?

from retro.

Andrew-music avatar Andrew-music commented on June 24, 2024

From other directories, I get the same error as the second attempt above, after the cd .. - the ImportError: dlopen(... one.

from retro.

cwgreene avatar cwgreene commented on June 24, 2024

Sorry, didn't see that. My bad!

The issue for the first error is caused by python looking at the source directory to resolve the retro import (which will not contain _retro, as it's a shared object that gets built and placed elsewhere). As you have seen, moving directories resolves that issue.

Once past the first issue, you're hitting this one:

cython/cython#1880

To confirm, you ran pip install -e . inside the directory. What happens in that directory if you run python3.5 setup.py install?

EDIT:
Which versions of python do you have installed on your machine?

from retro.

endrift avatar endrift commented on June 24, 2024

What did you use to install Python 3.5? The builders use miniconda.

from retro.

Andrew-music avatar Andrew-music commented on June 24, 2024

That was a great idea. I deleted my existing Python installs (not the native 2.7 version on the Mac, though) and installed a fresh Anaconda with Python 3.6. Then I downloaded the binary for that version from the document page, and I can import retro and run the list of games. So this may have been down to a confused Python installation, solved by just trashing everything and starting over. Thanks for the help! I think this particular issue can be considered closed.

from retro.

jimhoggey avatar jimhoggey commented on June 24, 2024

i have the same problem gym retori is not found when running the randome agent python.
i ran the python3.5 setup.py install command but that did not work but python3.6 setup.py install did do something.

/EGG-INFO
copying gym_retro.egg-info/top_level.txt -> build/bdist.macosx-10.12-x86_64/egg/EGG-INFO
writing build/bdist.macosx-10.12-x86_64/egg/EGG-INFO/native_libs.txt
zip_safe flag not set; analyzing archive contents...
retro.pycache.init.cpython-36: module references file
retro.pycache._retro.cpython-36: module references file
retro.data.pycache.init.cpython-36: module references file
creating dist
creating 'dist/gym_retro-0.6.0.dev45+g5af5926-py3.6-macosx-10.12-x86_64.egg' and adding 'build/bdist.macosx-10.12-x86_64/egg' to it
removing 'build/bdist.macosx-10.12-x86_64/egg' (and everything under it)
Processing gym_retro-0.6.0.dev45+g5af5926-py3.6-macosx-10.12-x86_64.egg
creating /usr/local/lib/python3.6/site-packages/gym_retro-0.6.0.dev45+g5af5926-py3.6-macosx-10.12-x86_64.egg
Extracting gym_retro-0.6.0.dev45+g5af5926-py3.6-macosx-10.12-x86_64.egg to /usr/local/lib/python3.6/site-packages
Adding gym-retro 0.6.0.dev45+g5af5926 to easy-install.pth file

from retro.

Related Issues (20)

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.