-
Notifications
You must be signed in to change notification settings - Fork 2
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
[REQUEST] - <State dependency versions required to install primaite > #11
Comments
Hi Jake. Thanks for your request. We'll review this within the team, and come back to you with a response soon |
Hi @jake321southall. Thanks for your message. Please see the Engineering Notes section of the v2.0.0 release notes which includes information about dependency issues with Gym, Pip, Setuptools. Further information on these issues can be found in this Yawning-Titan discussion post: dstl/YAWNING-TITAN#59. For PrimAITE v2.0.0 we're required to zero in on specific versions of Pip and Setuptools. I had thought we'd included these in the install script itself but it appears we did not. These have now been updated. For ease, I've copied the install scripts over: Windows (PowerShell)Prerequisites:
Install: mkdir ~\primaite\2.0.0
cd ~\primaite\2.0.0
python3 -m venv .venv
attrib +h .venv /s /d # Hides the .venv directory
.\.venv\Scripts\activate
python -m pip install pip==23.0.1 --upgrade
pip install wheel==0.38.4 --upgrade
pip install setuptools==66 --upgrade
pip install https://github.com/Autonomous-Resilient-Cyber-Defence/PrimAITE/releases/download/v2.0.0/primaite-2.0.0-py3-none-any.whl
primaite setup UnixPrerequisites:
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt install python3.10
sudo apt-get install python3-pip
sudo apt-get install python3-venv Install: mkdir ~/primaite/2.0.0
cd ~/primaite/2.0.0
python3 -m venv .venv
source .venv/bin/activate
python -m pip install pip==23.0.1 --upgrade
pip install wheel==0.38.4 --upgrade
pip install setuptools==66 --upgrade
pip install https://github.com/Autonomous-Resilient-Cyber-Defence/PrimAITE/releases/download/v2.0.0/primaite-2.0.0-py3-none-any.whl
primaite setup |
Thanks Chris! |
Is your feature request related to a problem?
Hi, I'm an engineer at Frazer-Nash Consultancy. We've been having trouble installing primaite on our computers. The issue seemed to stem from primaite using gym version 0.21.0. This was solved when we downgraded setuptools to version 65.5.0 and pip to version 21. After this we could install the primaite whl and run the primaite setup command. More info can be found here:
openai/gym#3176
Describe the solution you'd like:
The setuptools and pip versions you need to install primaite stated on the documentation.
Thanks!
The text was updated successfully, but these errors were encountered: