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

conda install numpy won't finish forever #19

Open
Panshark opened this issue Jan 26, 2022 Discussed in #17 · 1 comment
Open

conda install numpy won't finish forever #19

Panshark opened this issue Jan 26, 2022 Discussed in #17 · 1 comment

Comments

@Panshark
Copy link

Panshark commented Jan 26, 2022

Discussed in #17

Originally posted by rsuwa October 7, 2021

RUN conda install -y numpy

$ docker build --rm -f macad-agents/Dockerfile -t macad-agents:latest .
...

Step 8/15 : RUN conda install -y numpy
 ---> Running in 7123a03249d8
Solving environment: ...working...

No matter how many hours I wait, it stops as described above.

I have the same problem when building the Docker image locally. I tried twice, it always got stuck in here:

Step 8/15 : RUN conda install -y numpy
 ---> Running in 0ae7ce97b684
Solving environment: ...working...
@Panshark
Copy link
Author

I think change "conda" to "pip" should work.

# RUN conda install -y numpy
RUN pip install numpy

But it leads to another error

ERROR: Cannot uninstall 'PyYAML'. It is a distutils installed project and thus we cannot accurately determine which files belong to it which would lead to only a partial uninstall.
The command '/bin/sh -c pip install -U pip &&   pip install gym[atari] opencv-python-headless tensorflow-gpu==1.14 lz4 keras pytest-timeout smart_open tensorflow_probability && pip install --upgrade bayesian-optimization hyperopt==0.1.2 ConfigSpace==0.4.10 sigopt nevergrad scikit-optimize hpbandster lightgbm xgboost &&  pip install -U torch torchvision tabulate mlflow pytest-remotedata>=0.3.1 &&      pip install ray==0.6.2 psutil ray[debug]==0.6.2 &&      pip install macad-gym' returned a non-zero code: 1

I don't know how to fix it yet.

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

1 participant