Python PyCluster无法安装程序包

Python PyCluster无法安装程序包,python,python-2.7,packages,installation-package,Python,Python 2.7,Packages,Installation Package,这是我在尝试安装PyCluster时遇到的错误。我在spyder IDE和windows上使用python 2.7和anaconda Downloading/unpacking PyCluster Getting page http://pypi.python.org/simple/PyCluster URLs to search for versions for PyCluster: * httpss://pypi.python.org/simple/PyCluster/ Getting p

这是我在尝试安装PyCluster时遇到的错误。我在spyder IDE和windows上使用python 2.7和anaconda

Downloading/unpacking PyCluster Getting page http://pypi.python.org/simple/PyCluster URLs to search for versions for PyCluster: * httpss://pypi.python.org/simple/PyCluster/ Getting page httpss://pypi.python.org/simple/PyCluster/ Analyzing links from page httpss://pypi.python.org/simple/pycluster/ Could not find any downloads that satisfy the requirement PyCluster No distributions at all found for PyCluster Exception information: Traceback (most recent call last): File "C:\Users\anankuma\AppData\Local\Continuum\Anaconda\lib\site-packages\pip-1.2.1-py2.7.egg\pip\basecommand.py", line 107, in main status = self.run(options, args) File "C:\Users\anankuma\AppData\Local\Continuum\Anaconda\lib\site-packages\pip-1.2.1-py2.7.egg\pip\commands\install.py", line 256, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "C:\Users\anankuma\AppData\Local\Continuum\Anaconda\lib\site-packages\pip-1.2.1-py2.7.egg\pip\req.py", line 1011, in prepare_files url = finder.find_requirement(req_to_install, upgrade=self.upgrade) File "C:\Users\anankuma\AppData\Local\Continuum\Anaconda\lib\site-packages\pip-1.2.1-py2.7.egg\pip\index.py", line 157, in find_requirement raise DistributionNotFound('No distributions at all found for %s' % req) DistributionNotFound: No distributions at all found for PyCluster 下载/解包PyCluster 获取页面http://pypi.python.org/simple/PyCluster 用于搜索PyCluster版本的URL: * httpss://pypi.python.org/simple/PyCluster/ 获取页面httpss://pypi.python.org/simple/PyCluster/ 分析网页中的链接httpss://pypi.python.org/simple/pycluster/ 找不到任何满足PyCluster要求的下载 找不到PyCluster的任何发行版 例外信息: 回溯(最近一次呼叫最后一次): 文件“C:\Users\anankuma\AppData\Local\Continuum\Anaconda\lib\site packages\pip-1.2.1-py2.7.egg\pip\basecommand.py”,主目录第107行 status=self.run(选项、参数) 文件“C:\Users\anankuma\AppData\Local\Continuum\Anaconda\lib\site packages\pip-1.2.1-py2.7.egg\pip\commands\install.py”,第256行,正在运行 需求设置准备文件(查找器,强制根目录,鸡蛋信息=self.bundle,bundle=self.bundle) 文件“C:\Users\anankuma\AppData\Local\Continuum\Anaconda\lib\site packages\pip-1.2.1-py2.7.egg\pip\req.py”,第1011行,在prepare\u文件中 url=finder.find需求(需要安装,升级=self.upgrade) 文件“C:\Users\anankuma\AppData\Local\Continuum\Anaconda\lib\site packages\pip-1.2.1-py2.7.egg\pip\index.py”,第157行,在find\u需求中 raise DistributionNotFound('找不到%s“%req”的任何分发) DistributionNotFound:找不到PyCluster的任何分发 请提出解决办法。谢谢

该软件包没有可供下载的源代码或二进制文件

具有类似名称的模块()

Python包索引(PYPI)是Python编程语言的软件库

您可以手动或使用
pip安装

你也可以上传二进制和源代码包

例如,包中有一个源文件和一些二进制文件

pythonwheels和pythoneggs易于安装,主要用于windows

Downloading/unpacking PyCluster Getting page http://pypi.python.org/simple/PyCluster URLs to search for versions for PyCluster: * httpss://pypi.python.org/simple/PyCluster/ Getting page httpss://pypi.python.org/simple/PyCluster/ Analyzing links from page httpss://pypi.python.org/simple/pycluster/ Could not find any downloads that satisfy the requirement PyCluster No distributions at all found for PyCluster Exception information: Traceback (most recent call last): File "C:\Users\anankuma\AppData\Local\Continuum\Anaconda\lib\site-packages\pip-1.2.1-py2.7.egg\pip\basecommand.py", line 107, in main status = self.run(options, args) File "C:\Users\anankuma\AppData\Local\Continuum\Anaconda\lib\site-packages\pip-1.2.1-py2.7.egg\pip\commands\install.py", line 256, in run requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle) File "C:\Users\anankuma\AppData\Local\Continuum\Anaconda\lib\site-packages\pip-1.2.1-py2.7.egg\pip\req.py", line 1011, in prepare_files url = finder.find_requirement(req_to_install, upgrade=self.upgrade) File "C:\Users\anankuma\AppData\Local\Continuum\Anaconda\lib\site-packages\pip-1.2.1-py2.7.egg\pip\index.py", line 157, in find_requirement raise DistributionNotFound('No distributions at all found for %s' % req) DistributionNotFound: No distributions at all found for PyCluster
但是,手动安装可以使用直接从PYPI下载的MS Windows installer文件来完成。在安装此
Pycluster
软件包时遇到类似情况

pip
试图构建包,因为没有正式的控制盘 适用于Python3.5和windows

通过从此处下载一个非官方轮子解决了此问题:

这个网站上有很多轮子文件

尝试不同的版本,看看哪个最适合你

您可以使用带有以下代码的
Anaconda提示符
以这种方式安装.whl文件

pip install Pycluster-1.56-cp36-cp36m-win_amd64.whl
使用pip安装:

pip3安装pyclustering


它甚至可以与Anaconda prompt一起工作

感谢您的回复…您能否详细说明如何使用此页面安装软件包
pip安装模块\u name\u而不使用\u版本
升级pip以能够下载控制盘(以及二进制格式)为了您的帮助,我已将pip升级到最新版本。感谢:)pyclustering和pycluster不同