Comments (10)
In your saying, "but when i import it" means you write this..?
'>> import mujoco_py
You got PermissionError this part, right?
I cannot sure perfectly but i recommend to write 'sudo' like below:
#If you use ipython or python, as known as python interpreter.
$ sudo python3
and then,
'>> import mujoco_py
#Else you write your own code like foo.py and you execute command 'python3 foo.py'
$ sudo python3 foo.py
As i said, i'm not sure what is correct solution.
So, i need your help.
If you tried my suggestions or information from web,
please upload screenshot file(s) what you tried as much as possible.
If you do so, i may reproduce your situation.
Thank you for your question.
from pg_travel.
Yes, I did
import mujoco_py
and then, this came up
from pg_travel.
During write intallation guide, i didn't use jupyter notebook.
So, now i don't know solution before doing it.
However, maybe you want to solve your problem quickly.
I will search solution and inform to you soon.
If you find some solution, please inform to us.
Thanks
from pg_travel.
Thank you for your help.
if you have time, please help me to find some solution.
I tried many things, but i couldn't find any of solutions....
from pg_travel.
First, you change your environment from jupyter to command-line.
I also cannot find some solution yet.
from pg_travel.
Although i don't try to test, i wish it will be hint for us.
https://stackoverflow.com/questions/40195740/how-to-run-openai-gym-render-over-a-server
In this page, you can find this command:
$ xvfb-run -s "-screen 0 1400x900x24" jupyter notebook
FYI, "xvfb" is virtual display server.
Can you try this page's information, please?
from pg_travel.
from pg_travel.
Ok.
As i said, there are two options what you can try.
- Change execution environment from Jupyter to Command line
- Once quit your current Jupyter, execute Jupyter again with 'sudo' command
like,sudo jupyter notebook
from pg_travel.
from pg_travel.
I received the following error when trying to import mujoco_py:
PermissionError: [Errno 13] Permission denied: b'/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mujoco_py/generated/mujocopy-buildlock'
I solved as follows:
cd /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/mujoco_py
sudo chmod -R 777 ./ (change permission of all files in all subfolders recursively)
from pg_travel.
Related Issues (13)
- 학습 속도와 성능 개선을 위해 A2C 스타일의 PPO 에이전트 만들기 HOT 1
- Quick question about environment normalization HOT 1
- Frequency of saving stats
- why log standard deviation is fixed to 0
- action = get_action(mu, std)[0]?
- 코드를 서버에서 돌리기 위해 여러가지 설정 추가
- error of running ppo
- 이 repo의 코드들은 기본적으로 cpu에서 돌게 되어 있나요?
- PPO Model RuntimeError
- README와 코드 주석 추가 HOT 4
- 경사가 있는 환경에서 에이전트 학습시키기
- Pyramid 환경에서 에이전트 PPO로 학습시켜보기
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 pg_travel.