Condaenvexception: PIP не удалось. Я получаю ошибку подпроцессы PIP при попытке создать среду в Conda, используя файл .yPython

Программы на Python
Ответить Пред. темаСлед. тема
Anonymous
 Condaenvexception: PIP не удалось. Я получаю ошибку подпроцессы PIP при попытке создать среду в Conda, используя файл .y

Сообщение Anonymous »

Я пытаюсь создать среду в Conda, используя файл .yml. Вот команды, которые я запустил, < /p>
git clone https://github.com/fastai/fastai
cd fastai
conda env create -f environment.yml
< /code>
Последняя команда дает мне ошибку. Все работает нормально до определенного момента, а затем вдруг я получаю это: < /p>
Pip subprocess error:
ERROR: Command errored out with exit status 1:
command: 'C:\Users\me\Anaconda3\envs\fastai\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-f93i4zuc\\scikit-misc\\setup.py'"'"'; __file__='"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-f93i4zuc\\scikit-misc\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\Admin\AppData\Local\Temp\pip-wheel-0yqpfbub'
cwd: C:\Users\Admin\AppData\Local\Temp\pip-install-f93i4zuc\scikit-misc\
Complete output (123 lines):
blas_opt_info:
blas_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries mkl_rt not found in ['C:/Users/me/Anaconda3/envs/fastai\\Library\\lib']
NOT AVAILABLE

blis_info:
libraries blis not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
NOT AVAILABLE

openblas_info:
libraries openblas not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelVisualFCompiler
Could not locate executable ifort
Could not locate executable ifl
customize AbsoftFCompiler
Could not locate executable f90
customize CompaqVisualFCompiler
Could not locate executable DF
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize G95FCompiler
Could not locate executable g95
customize IntelEM64VisualFCompiler
customize IntelEM64TFCompiler
Could not locate executable efort
Could not locate executable efc
customize PGroupFlangCompiler
Could not locate executable flang
don't know how to compile Fortran code on platform 'nt'
NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
NOT AVAILABLE

atlas_3_10_blas_info:
libraries satlas not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
NOT AVAILABLE

atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
NOT AVAILABLE

accelerate_info:
NOT AVAILABLE

C:\Users\me\Anaconda3\envs\fastai\lib\site-packages\numpy\distutils\system_info.py:1896: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
if self._calc_info(blas):
blas_info:
libraries blas not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
NOT AVAILABLE

C:\Users\me\Anaconda3\envs\fastai\lib\site-packages\numpy\distutils\system_info.py:1896: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
if self._calc_info(blas):
blas_src_info:
NOT AVAILABLE

C:\Users\me\Anaconda3\envs\fastai\lib\site-packages\numpy\distutils\system_info.py:1896: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
if self._calc_info(blas):
NOT AVAILABLE

running bdist_wheel
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "floess" sources
building extension "skmisc.loess._loess" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\skmisc
copying skmisc\setup.py -> build\lib.win-amd64-3.6\skmisc
copying skmisc\_version.py -> build\lib.win-amd64-3.6\skmisc
copying skmisc\__config__.py -> build\lib.win-amd64-3.6\skmisc
copying skmisc\__init__.py -> build\lib.win-amd64-3.6\skmisc
copying build\src.win-amd64-3.6\skmisc\__config__.py -> build\lib.win-amd64-3.6\skmisc
creating build\lib.win-amd64-3.6\skmisc\loess
copying skmisc\loess\setup.py -> build\lib.win-amd64-3.6\skmisc\loess
copying skmisc\loess\__init__.py -> build\lib.win-amd64-3.6\skmisc\loess
creating build\lib.win-amd64-3.6\skmisc\loess\tests
copying skmisc\loess\tests\test_loess.py -> build\lib.win-amd64-3.6\skmisc\loess\tests
copying skmisc\loess\tests\__init__.py -> build\lib.win-amd64-3.6\skmisc\loess\tests
UPDATING build\lib.win-amd64-3.6\skmisc/_version.py
set build\lib.win-amd64-3.6\skmisc/_version.py to '0.1.3'
running build_clib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_clib
building 'floess' library
error: library floess has Fortran sources but no Fortran compiler found
----------------------------------------
ERROR: Failed building wheel for scikit-misc
ERROR: Command errored out with exit status 1:
command: 'C:\Users\me\Anaconda3\envs\fastai\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-f93i4zuc\\scikit-misc\\setup.py'"'"'; __file__='"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-f93i4zuc\\scikit-misc\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Admin\AppData\Local\Temp\pip-record-l2a968qs\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\me\Anaconda3\envs\fastai\Include\scikit-misc'
cwd: C:\Users\Admin\AppData\Local\Temp\pip-install-f93i4zuc\scikit-misc\
Complete output (123 lines):
blas_opt_info:
blas_mkl_info:
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
libraries mkl_rt not found in ['C:/Users/me/Anaconda3/envs/fastai\\Library\\lib']
NOT AVAILABLE

blis_info:
libraries blis not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
NOT AVAILABLE

openblas_info:
libraries openblas not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
get_default_fcompiler: matching types: '['gnu', 'intelv', 'absoft', 'compaqv', 'intelev', 'gnu95', 'g95', 'intelvem', 'intelem', 'flang']'
customize GnuFCompiler
Could not locate executable g77
Could not locate executable f77
customize IntelVisualFCompiler
Could not locate executable ifort
Could not locate executable ifl
customize AbsoftFCompiler
Could not locate executable f90
customize CompaqVisualFCompiler
Could not locate executable DF
customize IntelItaniumVisualFCompiler
Could not locate executable efl
customize Gnu95FCompiler
Could not locate executable gfortran
Could not locate executable f95
customize G95FCompiler
Could not locate executable g95
customize IntelEM64VisualFCompiler
customize IntelEM64TFCompiler
Could not locate executable efort
Could not locate executable efc
customize PGroupFlangCompiler
Could not locate executable flang
don't know how to compile Fortran code on platform 'nt'
NOT AVAILABLE

atlas_3_10_blas_threads_info:
Setting PTATLAS=ATLAS
libraries tatlas not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
NOT AVAILABLE

atlas_3_10_blas_info:
libraries satlas not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
NOT AVAILABLE

atlas_blas_threads_info:
Setting PTATLAS=ATLAS
libraries ptf77blas,ptcblas,atlas not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
NOT AVAILABLE

atlas_blas_info:
libraries f77blas,cblas,atlas not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
NOT AVAILABLE

accelerate_info:
NOT AVAILABLE

C:\Users\me\Anaconda3\envs\fastai\lib\site-packages\numpy\distutils\system_info.py:1896: UserWarning:
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
if self._calc_info(blas):
blas_info:
libraries blas not found in ['C:\\Users\\me\\Anaconda3\\envs\\fastai\\lib', 'C:\\', 'C:\\Users\\me\\Anaconda3\\envs\\fastai\\libs']
NOT AVAILABLE

C:\Users\me\Anaconda3\envs\fastai\lib\site-packages\numpy\distutils\system_info.py:1896: UserWarning:
Blas (http://www.netlib.org/blas/) libraries not found.
Directories to search for the libraries can be specified in the
numpy/distutils/site.cfg file (section [blas]) or by setting
the BLAS environment variable.
if self._calc_info(blas):
blas_src_info:
NOT AVAILABLE

C:\Users\me\Anaconda3\envs\fastai\lib\site-packages\numpy\distutils\system_info.py:1896: UserWarning:
Blas (http://www.netlib.org/blas/) sources not found.
Directories to search for the sources can be specified in the
numpy/distutils/site.cfg file (section [blas_src]) or by setting
the BLAS_SRC environment variable.
if self._calc_info(blas):
NOT AVAILABLE

running install
running build
running config_cc
unifing config_cc, config, build_clib, build_ext, build commands --compiler options
running config_fc
unifing config_fc, config, build_clib, build_ext, build commands --fcompiler options
running build_src
build_src
building py_modules sources
building library "floess" sources
building extension "skmisc.loess._loess" sources
building data_files sources
build_src: building npy-pkg config files
running build_py
creating build\lib.win-amd64-3.6
creating build\lib.win-amd64-3.6\skmisc
copying skmisc\setup.py -> build\lib.win-amd64-3.6\skmisc
copying skmisc\_version.py -> build\lib.win-amd64-3.6\skmisc
copying skmisc\__config__.py -> build\lib.win-amd64-3.6\skmisc
copying skmisc\__init__.py -> build\lib.win-amd64-3.6\skmisc
copying build\src.win-amd64-3.6\skmisc\__config__.py -> build\lib.win-amd64-3.6\skmisc
creating build\lib.win-amd64-3.6\skmisc\loess
copying skmisc\loess\setup.py -> build\lib.win-amd64-3.6\skmisc\loess
copying skmisc\loess\__init__.py -> build\lib.win-amd64-3.6\skmisc\loess
creating build\lib.win-amd64-3.6\skmisc\loess\tests
copying skmisc\loess\tests\test_loess.py -> build\lib.win-amd64-3.6\skmisc\loess\tests
copying skmisc\loess\tests\__init__.py -> build\lib.win-amd64-3.6\skmisc\loess\tests
UPDATING build\lib.win-amd64-3.6\skmisc/_version.py
set build\lib.win-amd64-3.6\skmisc/_version.py to '0.1.3'
running build_clib
No module named 'numpy.distutils._msvccompiler' in numpy.distutils; trying from distutils
customize MSVCCompiler
customize MSVCCompiler using build_clib
building 'floess' library
error: library floess has Fortran sources but no Fortran compiler found
----------------------------------------
ERROR: Command errored out with exit status 1: 'C:\Users\me\Anaconda3\envs\fastai\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-f93i4zuc\\scikit-misc\\setup.py'"'"'; __file__='"'"'C:\\Users\\Admin\\AppData\\Local\\Temp\\pip-install-f93i4zuc\\scikit-misc\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\Admin\AppData\Local\Temp\pip-record-l2a968qs\install-record.txt' --single-version-externally-managed --compile --install-headers 'C:\Users\me\Anaconda3\envs\fastai\Include\scikit-misc' Check the logs for full command output.

CondaEnvException: Pip failed
< /code>
Вот файл .yml < /p>
name: fastai
channels:
- fastai
- pytorch
- defaults
- peterjc123
dependencies:
- scipy
- cuda90
- cudnn
- numpy
- pillow
- jpeg
- spacy
- zlib
- freetype
- libtiff
- bleach
- certifi
- cffi
- cycler
- decorator
- entrypoints
- expat
- html5lib
- icu
- ipykernel
- ipython
- ipython_genutils
- ipywidgets
- jedi
- jinja2
- jsonschema
- jupyter
- jupyter_client
- jupyter_console
- jupyter_core
#- conda-forge::jupyter_contrib_nbextensions
- libiconv
- libpng
- libsodium
- libxml2
- markupsafe
- matplotlib=2.2.3
- mistune
- mkl
- nbformat
- notebook
- numpy
- olefile
- openssl
- pandas
- pandocfilters
- path.py
- patsy
- pcre
- pexpect
- pickleshare
- pillow
- pip
- prompt_toolkit
- pycparser
- pygments
- pyparsing
- pyqt
- python>=3.6.0
- python-dateutil
- pytz
- pyzmq
- qt
- qtconsole
- scipy
- seaborn
- setuptools
- simplegeneric
- sip
- six
- sqlite
- statsmodels
- testfixtures
- testpath>=0.4.2
- tk
- tornado

Установите среду и попробуйте еще раз < /li>
Обновление PIP для текущей версии во всех средах < /li>
Запустите Anaconda Powersher PowerShel /> может кто -нибудь помочь в решении этой проблемы. Я понятия не имею, почему это происходит, и объяснение также ценится.

Подробнее здесь: https://stackoverflow.com/questions/625 ... n-trying-t
Реклама
Ответить Пред. темаСлед. тема

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

  • Похожие темы
    Ответы
    Просмотры
    Последнее сообщение

Вернуться в «Python»