question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

docker install failed

See original GitHub issue

>>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<

Traceback (most recent call last):
  File "/opt/conda/lib/python3.6/site-packages/conda/exceptions.py", line 1079, in __call__
    return func(*args, **kwargs)
  File "/opt/conda/lib/python3.6/site-packages/conda/cli/main.py", line 84, in _main
    exit_code = do_call(args, p)
  File "/opt/conda/lib/python3.6/site-packages/conda/cli/conda_argparse.py", line 80, in do_call
    module = import_module(relative_mod, __name__.rsplit('.', 1)[0])
  File "/opt/conda/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 665, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/opt/conda/lib/python3.6/site-packages/conda/cli/main_install.py", line 8, in <module>
    from .install import install
  File "/opt/conda/lib/python3.6/site-packages/conda/cli/install.py", line 21, in <module>
    from ..core.solve import DepsModifier, Solver
  File "/opt/conda/lib/python3.6/site-packages/conda/core/solve.py", line 14, in <module>
    from .link import PrefixSetup, UnlinkLinkTransaction
  File "/opt/conda/lib/python3.6/site-packages/conda/core/link.py", line 43, in <module>
    from ..resolve import MatchSpec
  File "/opt/conda/lib/python3.6/site-packages/conda/resolve.py", line 9, in <module>
    from tqdm import tqdm
ModuleNotFoundError: No module named 'tqdm'

$ /opt/conda/bin/conda install bcolz h5py matplotlib mkl nose notebook Pillow pandas pydot pygpu pyyaml scikit-learn six theano

environment variables: CIO_TEST=<not set> CONDA_DIR=/opt/conda CONDA_ROOT=/opt/conda LD_LIBRARY_PATH=/usr/local/nvidia/lib:/usr/local/nvidia/lib64 LIBRARY_PATH=/usr/local/cuda/lib64/stubs PATH=/opt/conda/bin:/usr/local/nvidia/bin:/usr/local/cuda/bin:/usr/local/sb in:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin REQUESTS_CA_BUNDLE=<not set> SSL_CERT_FILE=<not set> python_version=3.6

 active environment : None
   user config file : /home/keras/.condarc

populated config files : /home/keras/.condarc conda version : 4.8.3 conda-build version : not installed python version : 3.6.10.final.0 virtual packages : __glibc=2.23 base environment : /opt/conda (writable) channel URLs : https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/linux-64 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/noarch https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/linux-64 https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch https://repo.anaconda.com/pkgs/main/linux-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/linux-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /opt/conda/pkgs /home/keras/.conda/pkgs envs directories : /opt/conda/envs /home/keras/.conda/envs platform : linux-64 user-agent : conda/4.8.3 requests/2.23.0 CPython/3.6.10 Linux/5.3.0-42-generic ubuntu/16.04.6 glibc/2.23 UID:GID : 1000:100 netrc file : None offline mode : False

An unexpected error has occurred. Conda has prepared the above report.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:15 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
JsBlueCatcommented, Mar 22, 2020

The error is because of the keras version. What is your python version? Are you using the python virtual environment? If not, you can install keras 2.2.2 in the same fashion as you did other packages?

Ideally, this command should take care of everything

cd DeepZip
python3 -m venv tf
source tf/bin/activate
bash install.sh

run success !!! thank you , it is a very very very nice job !!!

1reaction
JsBlueCatcommented, Mar 22, 2020

The error is because of the keras version. What is your python version? Are you using the python virtual environment? If not, you can install keras 2.2.2 in the same fashion as you did other packages?

Ideally, this command should take care of everything

cd DeepZip
python3 -m venv tf
source tf/bin/activate
bash install.sh

COPY keras-2.2.2 /src RUN pip install -e /src[tests] -i http://pypi.douban.com/simple --trusted-host pypi.douban.com RUN pip install git+git://github.com/keras-team/keras.git@v2.2.2 -i http://pypi.douban.com/simple --trusted-host pypi.douban.com &&
conda clean -yt

i change your docker with this command

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker Desktop installation failed - Stack Overflow
I was able to install by deleting file "Docker" on C:/ProgramData/ ... I ran into an error there that resulted in the exact...
Read more >
Unable to install Docker Desktop 4.8.2: Component ...
Getting the following error when installing Docker with WSL. Component CommunityInstaller.EnableFeaturesAction failed: Not found at ...
Read more >
Docker Installation error · Issue #12511 · docker/for-win - GitHub
I tried to install it both ways admin and without it. I am installing it fresh no previous version is there also once...
Read more >
How do I safely re-install a corrupt Docker-desktop installation ...
Docker failed to initialize: Docker Desktop is shutting down. The most recurring solution from googling is to delete: ....\AppData\Roaming\ ...
Read more >
Docker Failed To Initialize | Docker Desktop Is Shutting Down
If you are working on docker and if you start docker desktop from windows and if you get error like this " Docker...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found