我正在尝试在anaconda中创建一个python环境。我正在使用yml文件。我最近使用了相同的yml文件在另一台计算机上创建环境。我使用了相同的命令,效果很好。两台笔记本电脑都是Macbook专业人士。上一个是高山脉。当前的Mac正在运行莫哈韦沙漠。有人知道这个问题可能是什么吗?如果我使用与vi完全相同的文件路径,则可以看到文件的内容。因此文件路径似乎正确。
代码:
conda env create -f=/Users/user1/Desktop/stuff/py36_cust1.yml
错误:
WARNING: The conda.compat module is deprecated and will be removed in a future release.
WARNING: The conda.compat module is deprecated and will be removed in a future release.
EnvironmentFileNotFound: '/Users/user1/Desktop/stuff/py36_cust1.yml' file not found
py36_cust1.yml
name: py36
channels:
- anaconda
- cvxgrp
- conda-forge
- defaults
dependencies:
- beautifulsoup4
- patsy
- sqlite
- tk
- asn1crypto
- ca-certificates
- certifi
- cffi
- clangdev
- cryptography
- cryptography-vectors
- cycler
- fftw
- freetype
- glpk
- gmp
- icu
- idna
- kiwisolver
- lapack
- libiconv
- libpng
- libxml2
- lightgbm
- llvmdev
- matplotlib
- metis
- mkl_fft
- mkl_random
- mlxtend
- openblas
- openmp
- openssl
- pandas
- pycparser
- pyopenssl
- pyparsing
- pysocks
- python
- pytz
- selenium
- tbb
- urllib3
- cvxcanon
- cvxpy
- ecos
- multiprocess
- scs
- backcall
- blas
- cvxopt
- decorator
- dill
- dsdp
- fastcache
- gsl
- intel-openmp
- ipykernel
- ipython
- ipython_genutils
- jedi
- jupyter_client
- jupyter_core
- libedit
- libffi
- libgcc
- libgfortran
- libopenblas
- libsodium
- mkl
- ncurses
- numpy
- numpy-base
- parso
- pexpect
- pickleshare
- pip
- prompt_toolkit
- ptyprocess
- pygments
- python-dateutil
- pyzmq
- readline
- scikit-learn
- scipy
- setuptools
- simplegeneric
- six
- suitesparse
- toolz
- tornado
- traitlets
- wcwidth
- wheel
- xz
- zeromq
- zlib
- pip:
- absl-py
- astor
- bleach
- cython
- gast
- grpcio
- h5py
- html5lib
- keras
- keras-applications
- keras-preprocessing
- markdown
- pillow
- protobuf
- pyramid-arima
- pyyaml
- sklearn
- statsmodels
- tensorboard
- tensorflow
- termcolor
- tqdm
- werkzeug
- xlrd
- libcxx
- libcxxabi
- appnope
prefix: /Users/userother/anaconda2/envs/py36