Я пытаюсь собрать пакет Python conda
, который зависит от библиотеки пипов (распространяется), которая зависит от msgpack
. Я получаю сообщение об ошибке, что загрузка в setuptools
отключена, но в моих зависимостях указан msgpack
(или msgpack-python
, я пробовал оба). Я полагаю, что это связано с изменением имени в пунктах.
старое имя было msgpack-python
, новое - msgpack
.
distributed
перечисляет msgpack
как зависимость, но похоже, что conda
устанавливает msgpack-python
как пакет conda (https://anaconda.org/anaconda/msgpack-python). И затем он жалуется, что setuptools
требует msgpack
и невозможно загрузить.
Может быть, имя должно быть изменено в Anaconda на msgpack?
Это ошибка, которую я получаю:
Searching for msgpack
Traceback (most recent call last):
File "setup.py", line 41, in <module>
include_package_data=True
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/setuptools/__init__.py", line 129, in setup
return distutils.core.setup(**attrs)
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/distutils/dist.py", line 955, in run_commands
self.run_command(cmd)
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/distutils/dist.py", line 974, in run_command
cmd_obj.run()
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/setuptools/command/install.py", line 67, in run
self.do_egg_install()
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/setuptools/command/install.py", line 117, in do_egg_install
cmd.run()
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 412, in run
self.easy_install(spec, not self.no_deps)
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 654, in easy_install
return self.install_item(None, spec, tmpdir, deps, True)
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 701, in install_item
self.process_distribution(spec, dist, deps)
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 746, in process_distribution
[requirement], self.local_index, self.easy_install
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/pkg_resources/__init__.py", line 770, in resolve
replace_conflicting=replace_conflicting
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1053, in best_match
return self.obtain(req, installer)
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1065, in obtain
return installer(requirement)
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 661, in easy_install
not self.always_copy, self.local_index
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/setuptools/package_index.py", line 656, in fetch_distribution
self.find_packages(requirement)
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/setuptools/package_index.py", line 489, in find_packages
self.scan_url(self.index_url + requirement.unsafe_name + '/')
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/setuptools/package_index.py", line 829, in scan_url
self.process_url(url, True)
File "/Users/bschreck/miniconda3/envs/py3default/conda-bld/featuretools_1530818194289/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehol/lib/python3.5/site-packages/setuptools/package_index.py", line 324, in process_url
"Be sure to add all dependencies in the meta.yaml url=%s" % url)
RuntimeError: Setuptools downloading is disabled in conda build. Be sure to add all dependencies in the meta.yaml url=https://pypi.org/simple/msgpack/