在服务器上用$ conda create -n rdkit python=3.6去创建新环境,一直出现下面的问题:
$ conda create -n rdkit python=3.6
Solving environment: failed
# >>>>>>>>>>>>>>>>>>>>>> ERROR REPORT <<<<<<<<<<<<<<<<<<<<<<
`$ /home/t640/userEnvironment/19721546/anaconda3/bin/conda create -n rdkit python=3.6`
environment variables:
CIO_TEST=<not set>
CLASSPATH=/home/t640/userEnvironment/19820150/intel//compilers_and_libraries_201
9.0.117/linux/mpi/intel64/lib/mpi.jar:/home/t640/userEnvironment/19820
150/intel/compilers_and_libraries_2019.0.117/linux/daal/lib/daal.jar
CONDA_ROOT=/home/t640/userEnvironment/19721546/anaconda3
CPATH=/home/t640/userEnvironment/19820150/intel/compilers_and_libraries_2019
.0.117/linux/mkl/include:/home/t640/userEnvironment/19820150/intel/com
pilers_and_libraries_2019.0.117/linux/ipp/include:/home/t640/userEnvir
onment/19820150/intel/compilers_and_libraries_2019.0.117/linux/mkl/inc
lude:/home/t640/userEnvironment/19820150/intel/compilers_and_libraries
_2019.0.117/linux/pstl/include:/home/t640/userEnvironment/19820150/int
el/compilers_and_libraries_2019.0.117/linux/tbb/include:/home/t640/use
rEnvironment/19820150/intel/compilers_and_libraries_2019.0.117/linux/t
bb/include:/home/t640/userEnvironment/19820150/intel/compilers_and_lib
raries_2019.0.117/linux/daal/include
FI_PROVIDER_PATH=/home/t640/userEnvironment/19820150/intel//compilers_and_libraries_201
9.0.117/linux/mpi/intel64/libfabric/lib/prov
INFOPATH=/home/t640/userEnvironment/19820150/intel/documentation_2019/en/debugg
er/gdb-ia/info/
LD_LIBRARY_PATH=/usr/local/cuda-10.2/lib64:/home/t640/userEnvironment/19820150/intel/c
ompilers_and_libraries_2019.0.117/linux/compiler/lib/intel64_lin:/home
/t640/userEnvironment/19820150/intel/compilers_and_libraries_2019.0.11
7/linux/mkl/lib/intel64_lin:/home/t640/userEnvironment/19820150/intel/
compilers_and_libraries_2019.0.117/linux/compiler/lib/intel64_lin:/hom
e/t640/userEnvironment/19820150/intel//compilers_and_libraries_2019.0.
117/linux/mpi/intel64/libfabric/lib:/home/t640/userEnvironment/1982015
0/intel//compilers_and_libraries_2019.0.117/linux/mpi/intel64/lib/rele
ase:/home/t640/userEnvironment/19820150/intel//compilers_and_libraries
_2019.0.117/linux/mpi/intel64/lib:/home/t640/userEnvironment/19820150/
intel/compilers_and_libraries_2019.0.117/linux/ipp/lib/intel64:/home/t
640/userEnvironment/19820150/intel/compilers_and_libraries_2019.0.117/
linux/compiler/lib/intel64_lin:/home/t640/userEnvironment/19820150/int
el/compilers_and_libraries_2019.0.117/linux/mkl/lib/intel64_lin:/home/
t640/userEnvironment/19820150/intel/compilers_and_libraries_2019.0.117
/linux/tbb/lib/intel64/gcc4.7:/home/t640/userEnvironment/19820150/inte
l/compilers_and_libraries_2019.0.117/linux/tbb/lib/intel64/gcc4.7:/hom
e/t640/userEnvironment/19820150/intel/debugger_2019/libipt/intel64/lib
:/home/t640/userEnvironment/19820150/intel/compilers_and_libraries_201
9.0.117/linux/daal/lib/intel64_lin:/home/t640/userEnvironment/19820150
/intel/compilers_and_libraries_2019.0.117/linux/daal/../tbb/lib/intel6
4_lin/gcc4.4
LIBRARY_PATH=/home/t640/userEnvironment/19820150/intel/compilers_and_libraries_2019
.0.117/linux/compiler/lib/intel64_lin:/home/t640/userEnvironment/19820
150/intel/compilers_and_libraries_2019.0.117/linux/mkl/lib/intel64_lin
:/home/t640/userEnvironment/19820150/intel//compilers_and_libraries_20
19.0.117/linux/mpi/intel64/libfabric/lib:/home/t640/userEnvironment/19
820150/intel/compilers_and_libraries_2019.0.117/linux/ipp/lib/intel64:
/home/t640/userEnvironment/19820150/intel/compilers_and_libraries_2019
.0.117/linux/compiler/lib/intel64_lin:/home/t640/userEnvironment/19820
150/intel/compilers_and_libraries_2019.0.117/linux/mkl/lib/intel64_lin
:/home/t640/userEnvironment/19820150/intel/compilers_and_libraries_201
9.0.117/linux/tbb/lib/intel64/gcc4.7:/home/t640/userEnvironment/198201
50/intel/compilers_and_libraries_2019.0.117/linux/tbb/lib/intel64/gcc4
.7:/home/t640/userEnvironment/19820150/intel/compilers_and_libraries_2
019.0.117/linux/daal/lib/intel64_lin:/home/t640/userEnvironment/198201
50/intel/compilers_and_libraries_2019.0.117/linux/daal/../tbb/lib/inte
l64_lin/gcc4.4
MANPATH=/home/t640/userEnvironment/19820150/intel/man/common:/home/t640/userEn
vironment/19820150/intel//compilers_and_libraries_2019.0.117/linux/mpi
/man:/home/t640/userEnvironment/19820150/intel/documentation_2019/en/d
ebugger/gdb-
ia/man/:/usr/local/man:/usr/local/share/man:/usr/share/man:
NLSPATH=/home/t640/userEnvironment/19820150/intel/compilers_and_libraries_2019
.0.117/linux/mkl/lib/intel64_lin/locale/%l_%t/%N:/home/t640/userEnviro
nment/19820150/intel/compilers_and_libraries_2019.0.117/linux/compiler
/lib/intel64/locale/%l_%t/%N:/home/t640/userEnvironment/19820150/intel
/compilers_and_libraries_2019.0.117/linux/mkl/lib/intel64_lin/locale/%
l_%t/%N:/home/t640/userEnvironment/19820150/intel/debugger_2019/gdb/in
tel64/share/locale/%l_%t/%N
PATH=JAVA_HOME/bin:/home/t640/userEnvironment/19820150/intel/compilers_and_
libraries_2019.0.117/linux/bin/intel64:/home/t640/userEnvironment/1982
0150/intel//compilers_and_libraries_2019.0.117/linux/mpi/intel64/libfa
bric/bin:/home/t640/userEnvironment/19820150/intel//compilers_and_libr
aries_2019.0.117/linux/mpi/intel64/bin:/home/t640/userEnvironment/1982
0150/intel/debugger_2019/gdb/intel64/bin:/usr/local/sbin:/usr/local/bi
n:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:
/usr/lib/jvm/java-14-oracle/bin:/usr/lib/jvm/java-14-oracle/db/bin:/ho
me/t640/userEnvironment/19721546/anaconda3/bin:/usr/local/cuda/bin
PKG_CONFIG_PATH=/home/t640/userEnvironment/19820150/intel/compilers_and_libraries_2019
.0.117/linux/mkl/bin/pkgconfig:/home/t640/userEnvironment/19820150/int
el/compilers_and_libraries_2019.0.117/linux/mkl/bin/pkgconfig
REQUESTS_CA_BUNDLE=<not set>
SSL_CERT_FILE=<not set>
active environment : None
user config file : /home/t640/userEnvironment/19721546/.condarc
populated config files : /home/t640/userEnvironment/19721546/.condarc
conda version : 4.5.4
conda-build version : 3.10.5
python version : 3.6.5.final.0
base environment : /home/t640/userEnvironment/19721546/anaconda3 (writable)
channel URLs : https://api.anaconda.org/linux-64
https://api.anaconda.org/noarch
https://conda.anaconda.org/conda-forge/linux-64
https://conda.anaconda.org/conda-forge/noarch
https://repo.anaconda.com/pkgs/main/linux-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/free/linux-64
https://repo.anaconda.com/pkgs/free/noarch
https://repo.anaconda.com/pkgs/r/linux-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/pro/linux-64
https://repo.anaconda.com/pkgs/pro/noarch
package cache : /home/t640/userEnvironment/19721546/anaconda3/pkgs
/home/t640/userEnvironment/19721546/.conda/pkgs
envs directories : /home/t640/userEnvironment/19721546/anaconda3/envs
/home/t640/userEnvironment/19721546/.conda/envs
platform : linux-64
user-agent : conda/4.5.4 requests/2.18.4 CPython/3.6.5 Linux/5.4.0-51-generic ubuntu/18.04 glibc/2.27
UID:GID : 1008:1008
netrc file : None
offline mode : False
V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V V
CondaHTTPError: HTTP 404 NOT FOUND for url <https://api.anaconda.org/noarch/repodata.json>
Elapsed: 00:00.389061
CF-RAY: 5edb1f4efff4eb9d-LAX
The remote server could not find the noarch directory for the
requested channel with url: https://api.anaconda.org
As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
empty. please request that the channel administrator create
`noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
$ mkdir noarch
$ echo '{}' > noarch/repodata.json
$ bzip2 -k noarch/repodata.json
You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state.
Further configuration help can be found at <https://conda.io/docs/config.html>.
A reportable application error has occurred. Conda has prepared the above report.
Upload successful.
查找了很久,是镜像源的问题,在这个博客找到了解决方案:
https://blog.****.net/yixieling4397/article/details/100551813
最后成功创建环境。