oxwhirl / pymarl

Python Multi-Agent Reinforcement Learning framework
Apache License 2.0
1.82k stars 380 forks source link

=> ERROR [ 9/21] RUN pip3 install numpy scipy pyyaml #118

Open Kallin199 opened 3 years ago

Kallin199 commented 3 years ago

I have succeeded in installing SMAC and StarCraft2 but when running bash build.sh it appears: `

[ 9/21] RUN pip3 install numpy scipy pyyaml matplotlib:

12 0.352 Traceback (most recent call last):

12 0.352 File "/usr/local/bin/pip3", line 7, in

12 0.352 from pip._internal.cli.main import main

12 0.352 File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 57

12 0.352 sys.stderr.write(f"ERROR: {exc}")

12 0.352 ^

12 0.352 SyntaxError: invalid syntax


`

Kallin199 commented 3 years ago

Plus, I run this code in MacBook air (M1) and vscode 1.60.0. Thanks for your help!

keenlooks commented 3 years ago

I'm also having this same issue

EDIT: I have fixed this particular error by changing the Dockerfile line

RUN pip3 install --upgrade pip to RUN pip3 install --upgrade "pip < 21.0"