Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

quick_start does not work #5

Open
Stevenhunter167 opened this issue Aug 21, 2022 · 2 comments
Open

quick_start does not work #5

Stevenhunter167 opened this issue Aug 21, 2022 · 2 comments

Comments

@Stevenhunter167
Copy link

python3 quick_start.py
Traceback (most recent call last):
File "quick_start.py", line 6, in
env = dojo.get_environment('pendulum')
File "/root/.pyenv/versions/3.6.6/lib/python3.6/site-packages/julia/core.py", line 176, in getattr
return self.__try_getattr(name)
File "/root/.pyenv/versions/3.6.6/lib/python3.6/site-packages/julia/core.py", line 199, in __try_getattr
raise AttributeError(name)
AttributeError: get_environment

I followed installation using docker and got above error when running quick_start.py

@buzi-princeton
Copy link

I have the same problem with @Stevenhunter167, has anyone been able to address this issue?

@buzi-princeton
Copy link

buzi-princeton commented Oct 25, 2022

I have the same problem with @Stevenhunter167, has anyone been able to address this issue?

Fix this by replacing the final line of Dockerfile with:

RUN julia -e 'ENV["JULIA_SSL_NO_VERIFY_HOSTS"] = "julialang.org"; using Pkg; Pkg.add("PyCall"); Pkg.build("PyCall"); try; Pkg.add("Dojo"); catch LoadError; end; try; Pkg.add("Dojo"); catch LoadError; end; try; Pkg.add("DojoEnvironments"); catch LoadError; end'

Then in quick_start.py file, use:
DojoEnvironments.get_environment('pendulum')

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants