DeepZip: docker install failed

>>>>>>>>>>>>>>>>>>>>>> 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.

About this issue

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

Most upvoted comments

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 !!!

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

What command are you using to run the experiments?

./run_experiments.sh biLSTM 0

Please use the above command where 0 is the GPUID. If you have multiple GPUs (N) you can use id from 0 to N-1.

Thanks for pointing it out.