{"id":33589,"date":"2020-02-16T07:16:21","date_gmt":"2020-02-15T23:16:21","guid":{"rendered":"http:\/\/4563.org\/?p=33589"},"modified":"2020-02-16T07:16:21","modified_gmt":"2020-02-15T23:16:21","slug":"pip-install-psutil5-6-7-%e5%ae%89%e8%a3%85%e5%a4%b1%e8%b4%a5%ef%bc%8c%e5%93%aa%e4%bd%8d%e5%a4%a7%e4%be%a0%e4%ba%86%e8%a7%a3%ef%bc%9f","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=33589","title":{"rendered":"pip install psutil==5.6.7  \u5b89\u88c5\u5931\u8d25\uff0c\u54ea\u4f4d\u5927\u4fa0\u4e86\u89e3\uff1f"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>o0o<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-15 02:40:21\t<\/p>\n<h3>pip install psutil==5.6.7  \u5b89\u88c5\u5931\u8d25\uff0c\u54ea\u4f4d\u5927\u4fa0\u4e86\u89e3\uff1f<\/h3>\n<p>  \t\tpip install psutil==5.6.7<\/p>\n<p>  pip install psutil==5.6.7<br \/>  DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won&#8217;t be maintained after that date. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https:\/\/pip.pypa.io\/en\/latest\/development\/release-process\/#python-2-support<br \/>  Collecting psutil==5.6.7<br \/>  Using cached https:\/\/files.pythonhosted.org\/packages\/73\/93\/4f8213fbe66fc20cb904f35e6e04e20b47b85bee39845cc66a0bcf5ccdcb\/psutil-5.6.7.tar.gz<br \/>  &nbsp; &nbsp; ERROR: Command errored out with exit status 1:<br \/>  &nbsp; &nbsp;command: \/usr\/bin\/python2 -c &#8216;import sys, setuptools, tokenize; sys.argv = &#8216;&quot;&#8217;&quot;&#8217;\/tmp\/pip-install-01Wd21\/psutil\/setup.py&#8217;&quot;&#8217;&quot;&#8217;; __file__=&#8217;&quot;&#8217;&quot;&#8217;\/tmp\/pip-install-01Wd21\/psutil\/setup.py&#8217;&quot;&#8217;&quot;&#8217;;f=getattr(tokenize, &#8216;&quot;&#8217;&quot;&#8217;open&#8217;&quot;&#8217;&quot;&#8217;, open)(__file__);code=f.read().replace(&#8216;&quot;&#8217;&quot;&#8217;rn&#8217;&quot;&#8217;&quot;&#8217;, &#8216;&quot;&#8217;&quot;&#8217;n&#8217;&quot;&#8217;&quot;&#8217;);f.close();exec(compile(code, __file__, &#8216;&quot;&#8217;&quot;&#8217;exec&#8217;&quot;&#8217;&quot;&#8217;))&#8217; egg_info &#8211;egg-base \/tmp\/pip-install-01Wd21\/psutil\/pip-egg-info<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;cwd: \/tmp\/pip-install-01Wd21\/psutil\/<br \/>  &nbsp; &nbsp; Complete output (19 lines):<br \/>  &nbsp; &nbsp; Traceback (most recent call last):<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;File &quot;\/tmp\/pip-install-01Wd21\/psutil\/setup.py&quot;, line 353, in &lt;module&gt;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;main()<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;File &quot;\/tmp\/pip-install-01Wd21\/psutil\/setup.py&quot;, line 349, in main<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;setup(**kwargs)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;File &quot;\/usr\/lib64\/python2.7\/distutils\/core.py&quot;, line 112, in setup<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;_setup_distribution = dist = klass(attrs)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;File &quot;\/usr\/lib\/python2.7\/site-packages\/setuptools\/dist.py&quot;, line 269, in __init__<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;_Distribution.__init__(self,attrs)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;File &quot;\/usr\/lib64\/python2.7\/distutils\/dist.py&quot;, line 287, in __init__<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;self.finalize_options()<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;File &quot;\/usr\/lib\/python2.7\/site-packages\/setuptools\/dist.py&quot;, line 302, in finalize_options<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;ep.load()(self, ep.name, value)<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;File &quot;\/usr\/lib\/python2.7\/site-packages\/pkg_resources\/__init__.py&quot;, line 2443, in load<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;return self.resolve()<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;File &quot;\/usr\/lib\/python2.7\/site-packages\/pkg_resources\/__init__.py&quot;, line 2453, in resolve<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;raise ImportError(str(exc))<br \/>  &nbsp; &nbsp; ImportError: &#8216;module&#8217; object has no attribute &#8216;check_specifier&#8217;<br \/>  &nbsp; &nbsp; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>  ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>zhujimi<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-12-15 04:10:38\t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8bd5\u8bd5<br \/>  pip install setuptools &#8211;upgrade<br \/>  pip install &#8211;upgrade pip\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>o0o \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2019-&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/33589"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=33589"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/33589\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=33589"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=33589"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=33589"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}