У меня есть старая среда conda, которая, как я знаю, правильно работает на сервере, но сервер больше не поддерживается, поэтому мне нужно, чтобы он работал на ма c. Я попытался скопировать окружение через файл .yml через:
conda env create -f lf python .yml
, но это не удалось с:
Collecting package metadata (repodata.json): done Solving environment: failed
ResolvePackageNotFound:
- xz==5.2.4=h14c3975_4
- zlib==1.2.11=h7b6447c_3
- fontconfig==2.13.0=h9420a91_0
- gst-plugins-base==1.14.0=hbbd80ab_1
- jpeg==9b=h024ee3a_2
- mkl_random==1.0.2=py27hd81dba3_0
- libpng==1.6.37=hbc83047_0
- zeromq==4.3.1=he6710b0_3
- glib==2.56.2=hd408876_0
- libxml2==2.9.9=he19cac6_0
- icu==58.2=h9c2bf20_1
- pcre==8.43=he6710b0_0
- cryptography==2.0.3=py27hea39389_1
- system==5.8=2
- mkl_fft==1.0.12=py27ha843d7b_0
- numpy-base==1.16.3=py27hde5b4d6_0
- python==2.7.9=3
- qt==5.9.6=h8703b6f_2
- libffi==3.2.1=hd88cf55_4
- pyopenssl==17.4.0=py27h3149609_0
- tk==8.5.18=0
- traitlets==4.3.2=py27hd6ce930_0
- openssl==1.0.1k=1
- sqlite==3.28.0=h7b6447c_0
- markupsafe==1.1.1=py27h7b6447c_0
- backports_abc==0.5=py27_0
- expat==2.2.6=he6710b0_0
- libstdcxx-ng==8.2.0=hdf63c60_1
- scandir==1.10.0=py27h7b6447c_0
- sip==4.19.8=py27hf484d3e_0
- psutil==5.6.2=py27h7b6447c_0
- ncurses==6.1=he6710b0_1
- libxcb==1.13=h1bed415_1
- lazy-object-proxy==1.4.1=py27h7b6447c_0
- singledispatch==3.4.0.3=py27_0
- cffi==1.12.3=py27h2e261b9_0
- freetype==2.9.1=h8a8886c_1
- prompt_toolkit==1.0.15=py27h1b593e1_0
- gstreamer==1.14.0=hb453b48_1
- numpy==1.16.3=py27h7e9f1db_0
- libgfortran-ng==7.3.0=hdf63c60_0
- libuuid==1.0.3=h1bed415_2
- gmp==6.1.2=h6c8ec71_1
- wrapt==1.11.1=py27h7b6447c_0
- libgcc-ng==8.2.0=hdf63c60_1
- dbus==1.13.6=h746ee38_0
- nbformat==4.4.0=py27hed7f2b2_0
- readline==6.2=2
- tornado==5.1.1=py27h7b6447c_0
- libsodium==1.0.16=h1bed415_0
- pyqt==5.9.2=py27h05f1152_2
- pyrsistent==0.14.11=py27h7b6447c_0
- docutils==0.14=py27_0
- mistune==0.8.4=py27h7b6447c_0
- snowballstemmer==1.2.1=py27_0
- libedit==3.1.20181209=hc058e9b_0
- pyzmq==18.0.0=py27he6710b0_0
Полный файл .yml:
name: lfpython
channels:
- https://conda.binstar.org/menpo
- defaults
dependencies:
- alabaster=0.7.12=py27_0
- asn1crypto=0.24.0=py27_0
- astroid=1.6.5=py27_0
- attrs=19.1.0=py27_1
- babel=2.6.0=py27_0
- backports=1.0=py27_1
- backports.functools_lru_cache=1.5=py27_1
- backports.shutil_get_terminal_size=1.0.0=py27_2
- backports_abc=0.5=py27_0
- blas=1.0=mkl
- bleach=3.1.0=py27_0
- certifi=2019.3.9=py27_0
- cffi=1.12.3=py27h2e261b9_0
- chardet=3.0.4=py27_1
- cloudpickle=1.0.0=py_0
- configparser=3.7.4=py27_0
- cryptography=2.0.3=py27hea39389_1
- dbus=1.13.6=h746ee38_0
- decorator=4.4.0=py27_1
- defusedxml=0.6.0=py_0
- docutils=0.14=py27_0
- entrypoints=0.3=py27_0
- enum34=1.1.6=py27_1
- expat=2.2.6=he6710b0_0
- fontconfig=2.13.0=h9420a91_0
- freetype=2.9.1=h8a8886c_1
- functools32=3.2.3.2=py27_1
- futures=3.2.0=py27_0
- glib=2.56.2=hd408876_0
- gmp=6.1.2=h6c8ec71_1
- gst-plugins-base=1.14.0=hbbd80ab_1
- gstreamer=1.14.0=hb453b48_1
- icu=58.2=h9c2bf20_1
- idna=2.8=py27_0
- imagesize=1.1.0=py27_0
- intel-openmp=2019.3=199
- ipaddress=1.0.22=py27_0
- ipykernel=4.10.0=py27_0
- ipython=5.8.0=py27_0
- ipython_genutils=0.2.0=py27_0
- isort=4.3.19=py27_0
- jedi=0.13.3=py27_0
- jinja2=2.10.1=py27_0
- jpeg=9b=h024ee3a_2
- jsonschema=3.0.1=py27_0
- jupyter_client=5.2.4=py27_0
- jupyter_core=4.4.0=py27_0
- lazy-object-proxy=1.4.1=py27h7b6447c_0
- libedit=3.1.20181209=hc058e9b_0
- libffi=3.2.1=hd88cf55_4
- libgcc-ng=8.2.0=hdf63c60_1
- libgfortran-ng=7.3.0=hdf63c60_0
- libpng=1.6.37=hbc83047_0
- libsodium=1.0.16=h1bed415_0
- libstdcxx-ng=8.2.0=hdf63c60_1
- libuuid=1.0.3=h1bed415_2
- libxcb=1.13=h1bed415_1
- libxml2=2.9.9=he19cac6_0
- markupsafe=1.1.1=py27h7b6447c_0
- mccabe=0.6.1=py27_1
- mistune=0.8.4=py27h7b6447c_0
- mkl=2019.3=199
- mkl_fft=1.0.12=py27ha843d7b_0
- mkl_random=1.0.2=py27hd81dba3_0
- nbconvert=5.5.0=py_0
- nbformat=4.4.0=py27hed7f2b2_0
- ncurses=6.1=he6710b0_1
- numpy=1.16.3=py27h7e9f1db_0
- numpy-base=1.16.3=py27hde5b4d6_0
- numpydoc=0.9.1=py_0
- opencv=2.4.11=nppy27_0
- openssl=1.0.1k=1
- packaging=19.0=py27_0
- pandoc=2.2.3.2=0
- pandocfilters=1.4.2=py27_1
- parso=0.4.0=py_0
- pathlib2=2.3.3=py27_0
- pcre=8.43=he6710b0_0
- pexpect=4.7.0=py27_0
- pickleshare=0.7.5=py27_0
- pip=19.1.1=py27_0
- prompt_toolkit=1.0.15=py27h1b593e1_0
- psutil=5.6.2=py27h7b6447c_0
- ptyprocess=0.6.0=py27_0
- pycodestyle=2.5.0=py27_0
- pycparser=2.19=py27_0
- pyflakes=2.1.1=py27_0
- pygments=2.4.0=py_0
- pylint=1.9.2=py27_0
- pyopenssl=17.4.0=py27h3149609_0
- pyparsing=2.4.0=py_0
- pyqt=5.9.2=py27h05f1152_2
- pyrsistent=0.14.11=py27h7b6447c_0
- pysocks=1.7.0=py27_0
- python=2.7.9=3
- python-dateutil=2.8.0=py27_0
- pytz=2019.1=py_0
- pyzmq=18.0.0=py27he6710b0_0
- qt=5.9.6=h8703b6f_2
- qtawesome=0.5.7=py27_1
- qtconsole=4.4.4=py_0
- qtpy=1.7.1=py_0
- readline=6.2=2
- requests=2.21.0=py27_0
- rope=0.14.0=py_0
- scandir=1.10.0=py27h7b6447c_0
- setuptools=41.0.1=py27_0
- simplegeneric=0.8.1=py27_2
- singledispatch=3.4.0.3=py27_0
- sip=4.19.8=py27hf484d3e_0
- six=1.12.0=py27_0
- snowballstemmer=1.2.1=py27_0
- sphinx=1.8.5=py27_0
- sphinxcontrib=1.0=py27_1
- sphinxcontrib-websupport=1.1.0=py27_1
- spyder=3.3.4=py27_0
- spyder-kernels=0.4.4=py27_0
- sqlite=3.28.0=h7b6447c_0
- system=5.8=2
- testpath=0.4.2=py27_0
- tk=8.5.18=0
- tornado=5.1.1=py27h7b6447c_0
- traitlets=4.3.2=py27hd6ce930_0
- typing=3.6.6=py27_0
- urllib3=1.24.2=py27_0
- wcwidth=0.1.7=py27_0
- webencodings=0.5.1=py27_1
- wheel=0.33.4=py27_0
- wrapt=1.11.1=py27h7b6447c_0
- wurlitzer=1.0.2=py27_0
- xz=5.2.4=h14c3975_4
- zeromq=4.3.1=he6710b0_3
- zlib=1.2.11=h7b6447c_3
- pip:
- appdirs==1.4.3
- cycler==0.10.0
- cython==0.29.10
- dask==1.2.2
- h5py==2.9.0
- kiwisolver==1.1.0
- libtiff==0.4.2
- matplotlib==2.2.4
- networkx==2.2
- pathlib==1.0.1
- pillow==6.0.0
- pyopencl==2018.2.5
- pytools==2019.1.1
- pywavelets==1.0.3
- scikit-image==0.14.2
- scipy==1.2.1
- subprocess32==3.5.4
- tifffile==2019.5.30
- toolz==0.9.0
prefix: /home/bmp/anaconda2/envs/lfpython
Когда я получил этот код, он получил файл r cc со следующей информацией.
module unload python
module unload cuda
module load python/2.7-2015q1
module load opencv/2.4+python-2.7-2015q1
module load gcc/4.8
module load cuda/6.5
module load openmpi
pip install --user pyopencl
Не уверен, как преодолеть это препятствие. Спасибо!