您好, 欢迎来到 !    登录 | 注册 | | 设为首页 | 收藏本站

python – 无法使用pip安装elementtree

5b51 2022/1/14 8:23:12 python 字数 3205 阅读 600 来源 www.jb51.cc/python

尝试使用pip安装elementtree包.收到以下错误: (taximachine_env)vagrant@dev-gm:/opt/taxi/taxiconsole$pip install elementtree -vvv Collecting elementtree Getting page https://pypi.python.org/simple/elementtree/ 1 l

概述

(taximachine_env)vagrant@dev-gm:/opt/taxi/taxiconsole$pip install elementtree -vvv
Collecting elementtree
  Getting page https://pypi.python.org/simple/elementtree/
  1 location(s) to search for versions of elementtree:
  * https://pypi.python.org/simple/elementtree/
  Getting page https://pypi.python.org/simple/elementtree/
  Analyzing links from page https://pypi.python.org/simple/elementtree/
  Could not find a version that satisfies the requirement elementtree (from versions: )
Cleaning up...
No matching distribution found for elementtree
Exception information:
Traceback (most recent call last):
  File "/opt/taxi/envs/taximachine_env/local/lib/python2.7/site-packages/pip/basecommand.py",line 211,in main
    status = self.run(options,args)
  File "/opt/taxi/envs/taximachine_env/local/lib/python2.7/site-packages/pip/commands/install.py",line 294,in run
    requirement_set.prepare_files(finder)
  File "/opt/taxi/envs/taximachine_env/local/lib/python2.7/site-packages/pip/req/req_set.py",line 334,in prepare_files
    functools.partial(self._prepare_file,finder))
  File "/opt/taxi/envs/taximachine_env/local/lib/python2.7/site-packages/pip/req/req_set.py",line 321,in _walk_req_to_install
    more_reqs = handler(req_to_install)
  File "/opt/taxi/envs/taximachine_env/local/lib/python2.7/site-packages/pip/req/req_set.py",line 461,in _prepare_file
    req_to_install.populate_link(finder,self.upgrade)
  File "/opt/taxi/envs/taximachine_env/local/lib/python2.7/site-packages/pip/req/req_install.py",line 250,in populate_link
    self.link = finder.find_requirement(self,upgrade)
  File "/opt/taxi/envs/taximachine_env/local/lib/python2.7/site-packages/pip/index.py",line 571,in find_requirement
    'No matching distribution found for %s' % req
DistributionNotFound: No matching distribution found for elementtree

PyPI link返回以下响应:

<head>
    <title>Links for elementtree</title>
    <Meta name="api-version" value="2">
    <style type="text/css"></style>
</head>

<body>
    <h1>Links for elementtree</h1>
</body>

</html>

有没有其他方法来安装elementtree?

总结

以上是编程之家为你收集整理的python – 无法使用pip安装elementtree全部内容,希望文章能够帮你解决python – 无法使用pip安装elementtree所遇到的程序开发问题。


如果您也喜欢它,动动您的小指点个赞吧

除非注明,文章均由 laddyq.com 整理发布,欢迎转载。

转载请注明:
链接:http://laddyq.com
来源:laddyq.com
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。


联系我
置顶