2017-06-27 13 views
2

Windowsで管理者権限を持つPython 2.7.13を使用しています。私はしましたパッケージをインストールしようとするとPython pip install error 1が発生する

C:\Python27;C:\Python27\Scripts 

:私はピップを使用してパッケージをインストールしようとしていますし、私は次の出力を取得していますインストールしようとするすべてのパッケージのために:

Collecting os 
    Using cached os-0.5.tar.gz 
    Complete output from command python setup.py egg_info: 
    Traceback (most recent call last): 
     File "<string>", line 1, in <module> 
    IOError: [Errno 2] No such file or directory: 'c:\\users\\name\\appdata\\local\\temp\\pip-build-csfxlg\\os\\setup.py' 

---------------------------------------- 


Command "python setup.py egg_info" failed with error code 1 in 
c:\users\name\appdata\local\temp\pip-build-csfxlg\os\ 

%のPATH%のエコーからの出力があります私のsetuptoolsをアップグレードし、この問題で他のオーバーフローの議論を読んで、まだ解決していない。

私は別のパッケージをインストールしようとすると、私は次のエラーを取得する:

>pip install time 
Collecting time 
    Could not find a version that satisfies the requirement time (from versions:) 
No matching distribution found for time 
+0

'time'と' os'はstdlibモジュールであり、pypiパッケージではありません。 –

答えて

0

アンソニーは述べているように、timeosは、Pythonの標準ライブラリの一部です。 pipを使用してこれらをインストールする必要はありません。

import time 
import os 
関連する問題