-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
pip3 install PermissionError: [Errno 13] Permission denied: '/usr/local/bin/jupyter' #25
Comments
This was using the brew version of python3. This version of Python doesn't install jupyter on Mac properly |
This bring up a good point. Python and python installs add a learning curve in just setting these types of environments up. Although there are a lot of platform variations and wouldnt expect to cover them all, a somewhat thorough walkthrough for common ones may make this project more accessible to many that arent familiar. Banging your head trying to set it up builds character, but whatever :D Have you thought of writing it up and pushing it here? |
Not yet, wrapping up the 3D Ball tutorial. |
Read the bottom of the Unity Setup readme. You have to enable_tensorflow in settings and import a package I believe. |
Hi @erwincoumans, In particular, this section of the wiki: https://github.com/Unity-Technologies/ml-agents/wiki/Getting-Started-with-Balance-Ball#setting-up-tensorflowsharp-support-experimental should walk you through what is needed to add internal TF support. Please let me know if you run into any other issues. |
The internal brain mode is only available once the Tensorflow sharp plugin is added to the project, the |
ah, ok. I missed that piece of information, must have skipped that sentence in the docs. |
No worries. I'll edit the document to make it more explicit that the |
To be more precise: I skipped the experimental TF paragraph and went right into "Embedding the trained model itself". It would be good to say you cannot skip that TF paragraph. |
One more little tidbit, relating to saving to the 'bytes' file: You HAVE to terminate the PPO training, not just CAN. "you can stop the training process". |
I appreciate the suggestions, and have rewritten parts of the final wiki section to hopefully make it more clear: https://github.com/Unity-Technologies/ml-agents/wiki/Getting-Started-with-Balance-Ball#embedding-trained-brain-into-unity-environment-experimental |
I got it to work finally. Step 6 was a bit tricky, since I hadn't use Unity before. "Drag the <env_name>.bytes file from the Project window of the Editor to the Graph Model placeholder in the 3DBallBrain inspector window." You need to drag it exactly into one of the boxes in that inspector window. I think some video of the 3D Ball would be easier to follow for newcomers, but that would take time/resources to create. Anyway, it works! (https://www.youtube.com/watch?v=NX1DmSWmqYE) |
Glad you were able to get it working! I'll close the issue for now, but will make a point of making python instructions more clear. I also agree that a video walkthrough would be ideal, and we have it on our to-do list. |
This thread really helped me. Yes, @erwincoumans, some simple updates to the doc would really save a lot of time setting up. Specifically:
Thanks for your help guys! |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
The docs mention: pip install . but it gives an error here (Mac OSX).
pip install PermissionError: [Errno 13] Permission denied: '/usr/local/bin/jupyter'
pip install . --user solves it (better than sudo pip install .), perhaps update the doc or add a note?
The text was updated successfully, but these errors were encountered: