conda / conda

A system-level, binary package and environment manager running on all major operating systems and platforms.
https://docs.conda.io/projects/conda/
Other
6.43k stars 1.66k forks source link

Can't clone conda environment #10387

Closed alexandrakisin closed 1 year ago

alexandrakisin commented 3 years ago

Current Behavior

Hello. Trying to copy few conda environments and all the time getting different errors. Tried to do that in different ways : conda create --clone py36_tf1.11_pytorch1.0 -p py36_tf1.11_pytorch1.0_new --copy And got an error:

Destination: py36_tf1.11_pytorch1.0_new
Packages: 98
Files: 51282

CondaError: CondaHTTPError: HTTP 404 NOT FOUND for url <https://conda.anaconda.org/anaconda/linux-ppc64le/libgpuarray-0.6.9-0.tar.bz2>
Elapsed: 00:00.535569
CF-RAY: 5fad5f49ce7816e6-FRA

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

CondaError: CondaHTTPError: HTTP 404 NOT FOUND for url <https://conda.anaconda.org/anaconda/linux-ppc64le/libgpuarray-0.6.9-0.tar.bz2>
Elapsed: 00:00.267510
CF-RAY: 5fad5f4cbf90c29a-FRA

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

CondaError: CondaHTTPError: HTTP 404 NOT FOUND for url <https://conda.anaconda.org/anaconda/linux-ppc64le/libgpuarray-0.6.9-0.tar.bz2>
Elapsed: 00:00.288627
CF-RAY: 5fad5f4e7bd3c2ea-FRA

An HTTP error occurred when trying to retrieve this URL.
HTTP errors are often intermittent, and a simple retry will get you on your way.

Tried to do that by export and create environment .yml file and also got an error conda env create -f environment.yml --prefix=/data/py36_tf1.11_pytorch1.0_new

And got the following:

  Using cached https://files.pythonhosted.org/packages/bc/a9/01ffebfb562e4274b6487b4bb1ddec7ca55ec7510b22e4c51f14098443b8/chardet-3.0.4-py2.py3-none-any.whl
Collecting CharPyLS==1.0.3
  ERROR: Could not find a version that satisfies the requirement CharPyLS==1.0.3 (from versions: none)
ERROR: No matching distribution found for CharPyLS==1.0.3
An unexpected error has occurred.

I can't make any changes in original environment. The same getting in other envs copying. The current state that I'm not able to copy any environment to another location. Need help ASAP

Thank you

Steps to Reproduce

Expected Behavior

Environment Information

`conda info`

``` $ conda info Current conda install: platform : linux-ppc64le conda version : 4.3.27 conda is private : False conda-env version : 4.3.27 conda-build version : 3.0.22 python version : 3.6.2.final.0 requests version : 2.14.2 root environment : /opt/anaconda3 (writable) default environment : /opt/anaconda3 envs directories : /opt/anaconda3/envs /gpfs/haifa/home/k/i/kisin/.conda/envs package cache : /opt/anaconda3/pkgs /gpfs/haifa/home/k/i/kisin/.conda/pkgs channel URLs : https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda/linux-ppc64le https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda/noarch https://repo.anaconda.com/pkgs/free/linux-ppc64le https://repo.anaconda.com/pkgs/free/noarch https://repo.anaconda.com/pkgs/main/linux-ppc64le https://repo.anaconda.com/pkgs/main/noarch https://repo.continuum.io/pkgs/main/linux-ppc64le https://repo.continuum.io/pkgs/main/noarch https://repo.continuum.io/pkgs/free/linux-ppc64le https://repo.continuum.io/pkgs/free/noarch https://repo.continuum.io/pkgs/r/linux-ppc64le https://repo.continuum.io/pkgs/r/noarch https://repo.continuum.io/pkgs/pro/linux-ppc64le https://repo.continuum.io/pkgs/pro/noarch config file : /gpfs/haifa/home/k/i/kisin/.condarc netrc file : None offline mode : False user-agent : conda/4.3.27 requests/2.14.2 CPython/3.6.2 Linux/4.14.0-115.33.1.el7a.ppc64le Red Hat Enterprise Linux Server/7.9 glibc/2.17 UID:GID : 2727:1442 ```

`conda config --show-sources`

``` $ conda config --show-sources ==> /gpfs/haifa/home/k/i/kisin/.condarc <== ssl_verify: False channels: - https://public.dhe.ibm.com/ibmdl/export/pub/software/server/ibm-ai/conda/ - https://repo.anaconda.com/pkgs/free/linux-ppc64le/ - https://repo.anaconda.com/pkgs/main - defaults ```

`conda list --show-channel-urls`

``` conda list --show-channel-urls # packages in environment at /gpfs/haifa/projects/d/DLenvs/powerAI/envs/py36_tf1.11_pytorch1.0_org: # absl-py 0.1.10 altgraph 0.15 astor 0.6.2 attrs 17.4.0 backcall 0.1.0 backports 1.0 py36_1 anaconda backports.weakref 1.0rc1 py36_0 anaconda blas 1.0 openblas anaconda bleach 1.5.0 blosc 1.14.4 hdbcaa40_0 defaults bokeh 1.4.0 bzip2 1.0.6 h9a117a8_4 anaconda ca-certificates 2018.03.07 hf82bc7d_0 defaults cairo 1.14.12 h8948797_3 anaconda certifi 2018.10.15 py36_0 defaults cffi 1.11.4 chardet 3.0.4 CharPyLS 1.0.3 CharPyLS 1.0.2 Click 7.0 cloudpickle 1.1.1 cmake 3.9.4 hcd63e68_0 anaconda colorama 0.3.9 cprint 1.1 curl 7.55.1 hb9fc6fc_4 anaconda cycler 0.10.0 py36_0 defaults cython 0.27.3 py36h14c3975_0 defaults dash 0.43.0 dash-core-components 0.48.0 dash-html-components 0.16.0 dash-renderer 0.24.0 dash-table 3.7.0 dask 1.1.1 dataclass-type-validator 0.0.4 dataclasses 0.7 decorator 4.2.1 dicom 0.9.9.post1 dill 0.2.8.2 docutils 0.14 entrypoints 0.2.3 expat 2.2.5 hbd03837_0 anaconda fbpca 1.0 ffmpeg 3.4 h7985aa0_0 anaconda findimports 1.4.1 Flask 1.0.3 Flask-Compress 1.4.0 fontconfig 2.13.0 h9420a91_0 anaconda freeglut 3.0.0 hf484d3e_5 anaconda freetype 2.9.1 h8a8886c_0 anaconda future 0.16.0 gast 0.2.0 geos 3.5.0 0 defaults glib 2.56.1 hdbcaa40_0 anaconda gpustat 0.5.0.dev1 graphite2 1.3.11 h16798f4_2 anaconda graphviz 0.8.2 graphviz 2.38.0 0 biobuilds grpcio 1.9.1 h5py 2.8.0 py36h39dcb92_0 defaults harfbuzz 1.8.4 hec2c2bc_0 anaconda hdf5 1.8.20 hba1933b_1 anaconda html5lib 0.9999999 icu 58.2 he6710b0_3 defaults idna 2.8 imageio 2.2.0 imgaug 0.2.6 ipykernel 4.8.2 ipython 6.4.0 ipython-genutils 0.2.0 ipywidgets 7.3.0 itsdangerous 1.1.0 jasper 2.0.14 h07fcdf6_1 anaconda jedi 0.11.1 Jinja2 2.10 jpeg 9b hcb7ba68_2 defaults jsonpickle 0.9.5 jsonschema 2.6.0 jupyter 1.0.0 jupyter-client 5.2.3 jupyter-console 5.2.0 jupyter-core 4.4.0 Keras 2.1.3 Keras-Applications 1.0.6 keras-contrib 2.0.8 Keras-Preprocessing 1.0.5 keras-vis 0.4.1 kiwisolver 1.0.1 py36hf484d3e_0 anaconda libedit 3.1.20170329 h1bed415_2 defaults libffi 3.2.1 hf62a594_4 anaconda libgcc-ng 8.2.0 h822a55f_1 anaconda libgd 2.1.0 1 biobuilds libgfortran-ng 7.2.0 h9f7466a_2 defaults libglu 9.0.0 hf484d3e_1 anaconda libgpuarray 0.6.9 0 anaconda libopenblas 0.2.20 h9ac9557_4 defaults libopencv 3.4.1 he6673a0_3 anaconda libopus 1.2.1 h14c3975_0 anaconda libpng 1.6.32 h288d48a_4 defaults libprotobuf 3.5.2 hdbcaa40_0 anaconda libsodium 1.0.16 h1bed415_0 anaconda libssh2 1.8.0 h9cfc8f7_3 anaconda libstdcxx-ng 8.2.0 h822a55f_1 anaconda libtiff 4.0.9 h5050821_0 defaults libuuid 1.0.3 h1bed415_2 anaconda libuv 1.14.0 h14c3975_0 anaconda libvpx 1.7.0 hf484d3e_0 anaconda libxcb 1.13 h1bed415_0 anaconda libxml2 2.9.8 h26e45fe_1 anaconda libxslt 1.1.29 h1312cb7_6 defaults lime 0.1.1.37 llvmlite 0.25.0 py36hd408876_0 anaconda lru-dict 1.1.6 lxml 4.1.1 py36h23eabaa_0 defaults lzo 2.10 h0dabc4d_2 defaults macholib 1.9 mako 1.0.7 py36_0 anaconda Markdown 2.6.11 markdown 2.6.8 py36_0 anaconda markupsafe 1.0 py36h14c3975_1 anaconda matplotlib 2.2.3 py36hb69df0a_0 anaconda mem-top 0.1.6 mistune 0.8.3 mock 2.0.0 modulegraph 0.17 multiprocess 0.70.6.1 namedlist 1.7 natsort 5.0.3 py36_0 defaults nbconvert 5.3.1 nbformat 4.4.0 ncurses 6.0 h439df22_3 defaults networkx 2.1 nibabel 2.2.1 ninja 1.9.0.post1 nose 1.3.7 py36_2 defaults notebook 5.6.0 numba 0.40.0 py36h962f231_0 anaconda numexpr 2.6.7 py36h98f89e9_0 defaults numpy 1.16.1 nvidia-ml-py 7.352.0 nvidia-ml-py3 7.352.0 olefile 0.45.1 py36_0 defaults openblas 0.2.20 h5e446df_4 defaults openblas-devel 0.2.20 h5e446df_4 defaults opencv 3.4.1 py36h40b0b35_3 anaconda openssl 1.0.2p h14c3975_0 defaults packaging 19.2 pandas 0.22.0 py36h637b7d7_0 defaults pandas 0.24.1 pandas-profiling 1.4.2 pandas-schema 0.3.5 pandocfilters 1.4.2 parso 0.1.1 pathos 0.2.2.1 patsy 0.5.1 pbr 3.1.1 pcre 8.41 h439df22_1 anaconda pefile 2017.11.5 pep8 1.7.1 pexpect 4.6.0 pg8000 1.12.3 pickleshare 0.7.4 pillow 5.2.0 py36h2879dc4_0 anaconda pip 18.0 pip 9.0.1 py36_4 defaults pixman 0.34.0 h1f8d8dc_3 anaconda plotly 3.10.0 pluggy 0.6.0 portalocker 1.1.0 pox 0.2.4 ppft 1.6.4.8 prettytable 0.7.2 printl 1.1.2 progressbar 2.5 prometheus-client 0.3.0 prompt-toolkit 1.0.15 protobuf 3.6.0 psutil 5.4.1 py36h14c3975_0 defaults PTable 0.9.2 ptyprocess 0.6.0 pudb 2019.1 py 1.8.0 py-opencv 3.4.1 py36h627214d_3 anaconda py3nvml 0.1.0rc7 pyamg 3.3.2 pyclipper 1.1.0 pycparser 2.18 pydicom 1.2.0.dev0 pydot 1.2.4 pyflakes 1.6.0 Pygments 2.2.0 pygpu 0.6.9 py36_0 anaconda PyInstaller 3.3.1 Pympler 0.6 pyparsing 2.2.0 py36_1 defaults pypng 0.0.18 pyqode.core 2.11.0 pyqode.python 2.10.0 pyqode.qt 2.10.0 pytables 3.4.4 py36he1c29e1_0 defaults pytest 3.4.0 python 3.6.3 hc3d631a_8 defaults python-dateutil 2.6.1 py36_1 defaults pytz 2017.3 py36_0 defaults PyWavelets 0.5.2 PyYAML 3.12 pyzmq 17.0.0 py36h14c3975_3 anaconda qtconsole 4.3.1 readline 7.0 h1bed415_4 defaults requests 2.22.0 retrying 1.3.3 rhash 1.3.5 h14c3975_1 anaconda scikit-build 0.5.1 scikit-image 0.14.2 scikit-learn 0.19.1 scipy 1.0.0 py36h1093705_0 defaults seaborn 0.9.0 Send2Trash 1.5.0 setuptools 39.1.0 setuptools 36.5.0 py36_0 defaults sewar 0.4.4 shap 0.33.0 shapely 1.5.16 py36_0 defaults simplegeneric 0.8.1 SimpleITK 1.0.1 six 1.12.0 six 1.11.0 py36_1 defaults snappy 1.1.7 h1532aa0_3 defaults SQLAlchemy 1.2.14 sqlite 3.21.0 h49d9d4b_2 defaults statsmodels 0.9.0 tbb 2019.1 hfd86e86_0 anaconda tensorboard 1.11.0 tensorboardX 1.4 tensorflow-gpu 1.11.0 tensorflow-probability 0.8.0 termcolor 1.1.0 terminado 0.8.1 testpath 0.3.1 theano 0.9.0 py36_0 anaconda tifffile 0.13.5 tk 8.6.7 hb4a6f0b_3 defaults toolz 0.9.0 toposort 1.5 torch 1.1.0a0+9a7bcac torchvision 0.2.1 tornado 4.5.2 py36_0 defaults tqdm 4.41.0 traitlets 4.3.2 typeguard 2.7.1 urllib3 1.25.3 urwid 2.0.1 utils 0.9.0 wcwidth 0.1.7 webencodings 0.5.1 Werkzeug 0.14.1 werkzeug 0.12.2 py36_0 anaconda wheel 0.29.0 wheel 0.30.0 py36_1 defaults widgetsnbextension 3.3.0 xgboost 0.81 XlsxWriter 1.2.8 xz 5.2.4 h14c3975_4 anaconda zeromq 4.2.5 hf484d3e_0 anaconda zlib 1.2.11 hb9fc6fc_2 defaults ```

alexandrakisin commented 3 years ago

Do I need to add any tag or something in order to get any response for the issue ?

github-actions[bot] commented 1 year ago

Hi there, thank you for your contribution!

This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs.

If you would like this issue to remain open please:

  1. Verify that you can still reproduce the issue at hand
  2. Comment that the issue is still reproducible and include:
    • What OS and version you reproduced the issue on
    • What steps you followed to reproduce the issue

NOTE: If this issue was closed prematurely, please leave a comment.

Thanks!