任何人都可以告诉我这个错误可能意味着什么吗?我无法使用pip安装任何软件包。康达也没有帮助。
collecting pynrrd
Using cached https://files.pythonhosted.org/packages/75/db/d0b421a9cbf84ce2af6f95e433f472b6a49e27e9355c027c8680ca9163af/pynrrd-0.4.0-py2.py3-none-any.whl
Requirement already satisfied: numpy>=1.11.1 in /anaconda3/lib/python3.7/site-packages (from pynrrd) (1.16.2)
Installing collected packages: pynrrd
Exception:
Traceback (most recent call last):
File "/anaconda3/lib/python3.7/site-packages/pip/_internal/cli/base_command.py", line 179, in main
status = self.run(options, args)
File "/anaconda3/lib/python3.7/site-packages/pip/_internal/commands/install.py", line 393, in run
use_user_site=options.use_user_site,
File "/anaconda3/lib/python3.7/site-packages/pip/_internal/req/__init__.py", line 57, in install_given_reqs
**kwargs
File "/anaconda3/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 913, in install
use_user_site=use_user_site, pycompile=pycompile,
File "/anaconda3/lib/python3.7/site-packages/pip/_internal/req/req_install.py", line 445, in move_wheel_files
warn_script_location=warn_script_location,
File "/anaconda3/lib/python3.7/site-packages/pip/_internal/wheel.py", line 320, in move_wheel_files
prefix=prefix,
File "/anaconda3/lib/python3.7/site-packages/pip/_internal/locations.py", line 166, in distutils_scheme
d.parse_config_files()
File "/anaconda3/lib/python3.7/distutils/dist.py", line 406, in parse_config_files
parser.read(filename)
File "/anaconda3/lib/python3.7/configparser.py", line 696, in read
self._read(fp, filename)
File "/anaconda3/lib/python3.7/configparser.py", line 1079, in _read
raise MissingSectionHeaderError(fpname, lineno, line)
configparser.MissingSectionHeaderError: File contains no section headers.
file: 'setup.cfg', line: 1
' &SETUP\n'
Note: you may need to restart the kernel to use updated packages.
对于conda,这是我得到的错误。
PackagesNotFoundError: The following packages are not available from current channels:
- pynrrd
答案 0 :(得分:0)
要使用conda安装此软件包,请运行:
conda install -c kayarre pynrrd
您还将在conda网站上看到此内容。 https://anaconda.org/kayarre/pynrrd
请让我知道是否可行。