egg_info 오류로 인해 pip를 통해 설치할 수 없습니다


146

설치하려는 패키지에 관계없이이 오류가 발생합니다.

error: invalid command 'egg_info'

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in c:\users\zorpix\appdata\local\temp\pip-build-Zorpix\virtualenv
Storing complete log in C:\Users\Zorpix\pip\pip.log

내가 본 이 질문을 하지만 대답은 나를 위해 작동하지 않습니다. 지금까지 설치할 수있는 유일한 패키지 인 배포 패키지를 설치할 수 있지만 다른 패키지를 설치하려고하면 egg_info 오류가 반환되므로 문제가 해결되지 않습니다. 어디서나 도움이되는 것을 찾을 수 없기 때문에 이것에 꽤 좌절하고 있습니다. django와 pip 및 이전에 모든 것을 설치했지만 모든 것을 다시 설치해야했지만 지금 작동하지 않습니다 ... 어떤 도움이라도 감사하겠습니다.

저장된 로그는 다음과 같습니다.

------------------------------------------------------------
C:\Python27\Scripts\pip-script.py run on 07/26/13 11:30:42
Downloading/unpacking virtualenv

  Getting page https://pypi.python.org/simple/virtualenv/
  URLs to search for versions for virtualenv:
  * https://pypi.python.org/simple/virtualenv/
  Analyzing links from page https://pypi.python.org/simple/virtualenv/
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.3.tar.gz#md5=36b766604542f2c34d8dffdb21ba14a9 (from https://pypi.python.org/simple/virtualenv/), version: 1.3
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.6.2.tar.gz#md5=e948af53ad41ca2718c4034484fcd694 (from https://pypi.python.org/simple/virtualenv/), version: 1.6.2
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.7.tar.gz#md5=dcc105e5a3907a9dcaa978f813a4f526 (from https://pypi.python.org/simple/virtualenv/), version: 1.7
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-1.3.2-py2.4.egg#md5=6913c03f02167fe4ac32add76c3edeb7 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.9.tar.gz#md5=c49067cab242b5ff8c7b681a5a99533a (from https://pypi.python.org/simple/virtualenv/), version: 1.4.9
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-0.8.tar.gz#md5=88c187a93a78c4c9bd54eef9ef0e0f03 (from https://pypi.python.org/simple/virtualenv/), version: 0.8
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-0.9.1-py2.4.egg#md5=f595300f14597da25feabaececcf62a2 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.6.3.tar.gz#md5=73a69184e35f1e2c2f9016c889c4d26a (from https://pypi.python.org/simple/virtualenv/), version: 1.6.3
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-0.8.3.tar.gz#md5=d635fb7de359ff603a1fc395933724d1 (from https://pypi.python.org/simple/virtualenv/), version: 0.8.3
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.8.3.tar.gz#md5=d42ab84b1b38258f2a57365841186f71 (from https://pypi.python.org/simple/virtualenv/), version: 1.8.3
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.3.1.tar.gz#md5=e70ed86cc3823f0b622e80e035b59297 (from https://pypi.python.org/simple/virtualenv/), version: 1.3.1
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.5.tar.gz#md5=a8c756de9661323b1f95311e79f8a5f3 (from https://pypi.python.org/simple/virtualenv/), version: 1.5
    Skipping link https://pypi.python.org/packages/2.6/v/virtualenv/virtualenv-1.3.4-py2.6.egg#md5=f5cf3d4dba3a224351fb5f90f59dae1a (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-1.3-py2.4.egg#md5=ff872f8b8dcb3dc76d9c2793afc9b1a5 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-0.8.3-py2.4.egg#md5=fbcb29d72e35ee93d80738d46e69d350 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-1.3.4-py2.5.egg#md5=2fd8f371cc83c2a49009e5fe51fcd9c9 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.0.tar.gz#md5=fb86aabdfc2033612b936cf08ad811ec (from https://pypi.python.org/simple/virtualenv/), version: 1.0
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-0.8.3-py2.5.egg#md5=7592e9dd19388a037768840caac00255 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-1.3.1-py2.5.egg#md5=f042320f7301a77311b876ed55d2a635 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.7.1.tar.gz#md5=1a07359ff6e5dbfaefa6381516293b47 (from https://pypi.python.org/simple/virtualenv/), version: 1.7.1
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-1.3.3-py2.4.egg#md5=9cd8f513ba25e09be54ead5b1325ad3e (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-1.2-py2.5.egg#md5=0043570e1c16af8d3c9fa1e99bce012b (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.3.3.tar.gz#md5=28e2955aed4ffc4dc3df02dc632b5c42 (from https://pypi.python.org/simple/virtualenv/), version: 1.3.3
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-0.8.1-py2.4.egg#md5=fa8831295f1073151876375c4567f5cd (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.7.1.1.tar.gz#md5=e06efff3c3dd5f88758dde29e108bfdd (from https://pypi.python.org/simple/virtualenv/), version: 1.7.1.1
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.tar.gz#md5=ef70dc53c648f4253335351c65b5740f (from https://pypi.python.org/simple/virtualenv/), version: 1.4
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4rc1.tar.gz#md5=fb62a93b054e877e6a6c92f7dcd0b6ae (from https://pypi.python.org/simple/virtualenv/), version: 1.4rc1
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-0.8.4.tar.gz#md5=30f053782cc29363927b848263ae9158 (from https://pypi.python.org/simple/virtualenv/), version: 0.8.4
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-0.9.2-py2.4.egg#md5=319b534ed28e2d31b124b1a76f42fbc7 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-0.9.2-py2.5.egg#md5=7a4d37d0c3f83f917d7a6556f31bb31d (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-0.8.2-py2.5.egg#md5=eedbc037902cd2010b055451641addcf (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.3.2.tar.gz#md5=a013d5a7d9aeddc16bee88604d6de636 (from https://pypi.python.org/simple/virtualenv/), version: 1.3.2
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-0.9.tar.gz#md5=17a52f8801cbeb6805f4a4650dc89468 (from https://pypi.python.org/simple/virtualenv/), version: 0.9
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-1.0-py2.5.egg#md5=e6881a6353543b0af8b116ed8ed2f6f6 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-0.9.2.tar.gz#md5=78b6e73600db0d5ed8c0e507f0f7d705 (from https://pypi.python.org/simple/virtualenv/), version: 0.9.2
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-0.8.1-py2.5.egg#md5=ad5869374196f7d533a9b649adfe9014 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.8.tar.gz#md5=74ded4025a56e538c1c8df6b9825a8b8 (from https://pypi.python.org/simple/virtualenv/), version: 1.4.8
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-0.9.1.tar.gz#md5=d9abf1dc9dcaf603c60840c582414f66 (from https://pypi.python.org/simple/virtualenv/), version: 0.9.1
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-1.3.4-py2.4.egg#md5=bd62418a72b7e09a637ef368b7b0101b (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.5.tar.gz#md5=d3c621dd9797789fef78442e336df63e (from https://pypi.python.org/simple/virtualenv/), version: 1.4.5
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.6.tar.gz#md5=b1c585e0bbe4fca56bfa0b34aff87bd9 (from https://pypi.python.org/simple/virtualenv/), version: 1.6
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-0.8.2.tar.gz#md5=241f157e92dd9052b5a4b43efcef8035 (from https://pypi.python.org/simple/virtualenv/), version: 0.8.2
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-1.3.1-py2.4.egg#md5=708cc5281dae7fdd8d996cdb55bef52d (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-0.8.2-py2.4.egg#md5=4a92b99c93026031b7298906bf126ccd (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.1.tar.gz#md5=6ab218532376c2a389ef4ea030ff96f2 (from https://pypi.python.org/simple/virtualenv/), version: 1.4.1
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-1.3.3-py2.5.egg#md5=fae350c941cd9eadf5e9a407c37a2e03 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.8.tar.gz#md5=fdab30066a1d731ca6fe22a4c23b9e80 (from https://pypi.python.org/simple/virtualenv/), version: 1.8
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.3.4.tar.gz#md5=77d675df104b90fceec749150bd5014f (from https://pypi.python.org/simple/virtualenv/), version: 1.3.4
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.2.tar.gz#md5=7b1a10f0e84dd945c9b006ace1e1bb16 (from https://pypi.python.org/simple/virtualenv/), version: 1.4.2
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-0.8.4-py2.4.egg#md5=6d2db4c08a9b8a7b59e1ab7731791381 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-0.9-py2.4.egg#md5=12b34ae909f578910c293ecfe7c793e3 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.6.tar.gz#md5=f576969d591a054132fe8c9165c2b3c3 (from https://pypi.python.org/simple/virtualenv/), version: 1.4.6
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-0.8.1.tar.gz#md5=5d7b4784f530bd8acf44b568776dbd3c (from https://pypi.python.org/simple/virtualenv/), version: 0.8.1
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.3.tar.gz#md5=2b639cee32d15fd049a49561957afe4b (from https://pypi.python.org/simple/virtualenv/), version: 1.4.3
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-0.8.4-py2.5.egg#md5=40300b786dad2e8380ef785c4998f421 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-1.0-py2.4.egg#md5=6199b281bf6e7370d896520eb3a968f8 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.2.tar.gz#md5=7ad454e52f025cad631d03331ade4aaf (from https://pypi.python.org/simple/virtualenv/), version: 1.2
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-1.2-py2.4.egg#md5=53ab95a286cc0382e503306bb0df9d49 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.5.2.tar.gz#md5=fbcefbd8520bb64bc24a560c6019a73c (from https://pypi.python.org/simple/virtualenv/), version: 1.5.2
    Skipping link https://pypi.python.org/packages/2.4/v/virtualenv/virtualenv-1.1-py2.4.egg#md5=d9b0de14426957e30b2aa7015451aa43 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-1.4.7-py2.5.egg#md5=e1bb0e1cbc4e2df64dfdde6b0867ef29 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.8.2.tar.gz#md5=174ca075c6b1a42c685415692ec4ce2e (from https://pypi.python.org/simple/virtualenv/), version: 1.8.2
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.6.1.tar.gz#md5=1a475df2219457b6b4febb9fe595d915 (from https://pypi.python.org/simple/virtualenv/), version: 1.6.1
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.5.1.tar.gz#md5=3daa1f449d5d2ee03099484cecb1c2b7 (from https://pypi.python.org/simple/virtualenv/), version: 1.5.1
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.4.tar.gz#md5=94161ae1500cb3a8b003c0c394c9dbbd (from https://pypi.python.org/simple/virtualenv/), version: 1.4.4
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.7.tar.gz#md5=979a7adf8467df7df800a45debd2074f (from https://pypi.python.org/simple/virtualenv/), version: 1.4.7
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.7.2.tar.gz#md5=b5d63b05373a4344ae099a68875aae78 (from https://pypi.python.org/simple/virtualenv/), version: 1.7.2
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.8.4.tar.gz#md5=1c7e56a7f895b2e71558f96e365ee7a7 (from https://pypi.python.org/simple/virtualenv/), version: 1.8.4
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.7.1.2.tar.gz#md5=3be8a014c27340f48b56465f9109d9fa (from https://pypi.python.org/simple/virtualenv/), version: 1.7.1.2
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.tar.gz#md5=e03b76752b8ce7eee67c6298414cac79 (from https://pypi.python.org/simple/virtualenv/), version: 1.9
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.8.1.tar.gz#md5=3aebe32859aa4512e1e679834c10f7bf (from https://pypi.python.org/simple/virtualenv/), version: 1.8.1
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-0.9.1-py2.5.egg#md5=573b8bd74a7b9b207b5eede8db386953 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.1.tar.gz#md5=8931b66dbb799120583dd107aab2fa89 (from https://pypi.python.org/simple/virtualenv/), version: 1.1
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-1.3-py2.5.egg#md5=8102d251e3f1caf709722679a737f454 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-1.1-py2.5.egg#md5=1db8cdd823739c79330a138327239551 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.6.4.tar.gz#md5=1072b66d53c24e019a8f1304ac9d9fc5 (from https://pypi.python.org/simple/virtualenv/), version: 1.6.4
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-1.3.2-py2.5.egg#md5=f2cd2b10b8be8b57e74cb1830fc0b504 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Skipping link https://pypi.python.org/packages/2.5/v/virtualenv/virtualenv-0.9-py2.5.egg#md5=7c8e85680f1ede0844a496513366d7a5 (from https://pypi.python.org/simple/virtualenv/); unknown archive format: .egg
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.tar.gz#md5=9745c28256c70c76d36adb3767a00212 (from https://pypi.python.org/simple/virtualenv/), version: 1.10
    Found link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.9.1.tar.gz#md5=07e09df0adfca0b2d487e39a4bf2270a (from https://pypi.python.org/simple/virtualenv/), version: 1.9.1
  Ignoring link https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4rc1.tar.gz#md5=fb62a93b054e877e6a6c92f7dcd0b6ae (from https://pypi.python.org/simple/virtualenv/), version 1.4rc1 is a pre-release (use --pre to allow).
  Using version 1.10 (newest of versions: 1.10, 1.9.1, 1.9, 1.8.4, 1.8.3, 1.8.2, 1.8.1, 1.8, 1.7.2, 1.7.1.2, 1.7.1.1, 1.7.1, 1.7, 1.6.4, 1.6.3, 1.6.2, 1.6.1, 1.6, 1.5.2, 1.5.1, 1.5, 1.4.9, 1.4.8, 1.4.7, 1.4.6, 1.4.5, 1.4.4, 1.4.3, 1.4.2, 1.4.1, 1.4, 1.3.4, 1.3.3, 1.3.2, 1.3.1, 1.3, 1.2, 1.1, 1.0, 0.9.2, 0.9.1, 0.9, 0.8.4, 0.8.3, 0.8.2, 0.8.1, 0.8)
  Downloading from URL https://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.10.tar.gz#md5=9745c28256c70c76d36adb3767a00212 (from https://pypi.python.org/simple/virtualenv/)
  Running setup.py egg_info for package virtualenv

    C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'entry_points'

      warnings.warn(msg)

    C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'

      warnings.warn(msg)

    C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'test_suite'

      warnings.warn(msg)

    C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'tests_require'

      warnings.warn(msg)

    usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

       or: -c --help [cmd1 cmd2 ...]

       or: -c --help-commands

       or: -c cmd --help



    error: invalid command 'egg_info'

    Complete output from command python setup.py egg_info:

    C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'entry_points'

  warnings.warn(msg)

C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'zip_safe'

  warnings.warn(msg)

C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'test_suite'

  warnings.warn(msg)

C:\Python27\lib\distutils\dist.py:267: UserWarning: Unknown distribution option: 'tests_require'

  warnings.warn(msg)

usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]

   or: -c --help [cmd1 cmd2 ...]

   or: -c --help-commands

   or: -c cmd --help



error: invalid command 'egg_info'

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

Cleaning up...

  Removing temporary dir c:\users\joey\appdata\local\temp\pip-build-Joey...
Command python setup.py egg_info failed with error code 1 in c:\users\joey\appdata\local\temp\pip-build-Joey\virtualenv

Exception information:
Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\pip\basecommand.py", line 134, in main
    status = self.run(options, args)
  File "C:\Python27\lib\site-packages\pip\commands\install.py", line 236, in run
    requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
  File "C:\Python27\lib\site-packages\pip\req.py", line 1124, in prepare_files
    req_to_install.run_egg_info()
  File "C:\Python27\lib\site-packages\pip\req.py", line 257, in run_egg_info
    command_desc='python setup.py egg_info')
  File "C:\Python27\lib\site-packages\pip\util.py", line 670, in call_subprocess
    % (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in c:\users\joey\appdata\local\temp\pip-build-Joey\virtualenv

편집 : 내가 한 일을 모르지만 이제이 오류가 발생합니다.

ImportError: No module named setuptools.command

----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in c:\users\joey\appdata\local\temp\pip-build-Joey\Django
Storing complete log in C:\Users\Joey\pip\pip.log

이 누락 된 설정 도구는 무엇입니까?


1
링크 된 질문에 대한 의견 제안을 시도 했습니까?
jdero

다른 대답을 의미합니까? 예, 저도 시도했습니다 ... 주사위가 없습니다
폭동이 울려 퍼집니다

설치 시도 python-dev, libpython-dev, libevent-devsudo: sudo apt-get install python-dev다른 사람. 그리고 지금 당신은을 통해 설치할 수 있습니다pip
빅터 카스티요 토레스

리눅스 명령이 아닌가? 또한 apt-get은 다음을 반환합니다. 'apt-get'이라는 용어는 cmdlet, 함수, 스크립트 파일 또는 작동 가능한 프로그램의 이름으로 인식되지 않습니다. 이름을 확인하거나 경로가 포함 된 경우 경로가 올바른지 확인한 후 다시 시도하십시오. 줄에 : 1 문자 : 8 + apt-get을 설치 <<<< 파이썬-DEV + CategoryInfo : ObjectNotFound : (apt-get을 : 문자열)은 [], CommandNotFoundException + FullyQualifiedErrorId가 : CommandNotFoundException
폭동이 으릉 간다

1
예. 나는 원래 질문에서 그렇게 말했다.
Riot Goes Woof

답변:


143

무엇이 잘못되었는지 알았습니다. 나는 파이썬 용 setuptools를 설치하지 않았기 때문에 계란과 같은 중요한 파일이 누락되었습니다.

위에서 내 문제가 발생 하면이 파일을 다운로드 한 다음 powershell 또는 명령 프롬프트에서 ez_setup의 디렉토리로 이동하여 명령을 실행하면 파일이 실행됩니다.

$ [sudo] python ez_setup.py

이 시점에서 여전히 pip를 설치해야하는 경우 다음을 실행하십시오.

$ [sudo] easy_install pip

easy_install은 setuptools의 일부이므로 pip 설치에는 작동하지 않습니다.

그런 다음 pip는 다음 명령으로 django를 성공적으로 설치합니다.

$ [sudo] pip install django

내가 준 두통을 누군가에게 구 해주길 바랍니다!

~ 조 픽스


4
답변을 +1하십시오. 우분투 12.04 LTS 에서이 문제가 발생했습니다. 설치 한 후 python-pip통해 apt-get다음 설치 virtualenv를 통해 pip시도하는 동안, 나는 오류 "명령 파이썬 setup.py .... 에러 코드 1"을 얻었다 sudo pip install virtualenvwrapper. ez_setup.py를 통해 setuptools를 설치하면 문제가 해결되었습니다 :)
samkhan13 November

내 대답이 도움이 될 수있어서 다행입니다!
Riot Goes Woof

14
또는 설치 도구 업그레이드$ sudo pip install --upgrade setuptools
PatrickT

1
슬프게도 나를 위해 일하지 않았다, 더 나은 행운을 빌어 : stackoverflow.com/questions/19400370/…
PatrickT

1
참고 : 이제 더 이상 사용되지 않습니다. 그것은 인쇄 실행하면 -ez_setup.py is deprecated and when using it setuptools will be pinned to 33.1.1 since it's the last version that supports setuptools self upgrade/installation, check https://github.com/pypa/setuptools/issues/581 for more info; use pip to install setuptools
Udayraj Deshmukh

42

다음을 시도하십시오 : pip install --upgrade setuptools 또는easy_install -U setuptools


3
파이썬 계란 관련 오류의 경우 setuptools 첫 번째 방어선을 업그레이드하십시오. 이 솔루션을 처음에 공유해 주신 Stack 사용자 "Randall Ma"에게 감사드립니다. :)
Tony

4
설정 도구를 업그레이드하는 것만으로는 충분하지 않지만 여전히 같은 오류가 발생합니다.
Awesome_girl

`setuptools-1.1.6 제거 : 예외`
R11G



6

Python 3 용 matplotlib을 설치하는 동안 동일한 오류가 발생했지만 해당 솔루션이 작동하지 않았습니다. 오류 메시지에서 명확하지는 않았지만 종속성 문제 일뿐입니다.

나는 sudo apt-get build-dep python3-matplotlib그때 사용 sudo pip3 install matplotlib했고 효과가있었습니다.

그것이 도움이되기를 바랍니다!


4

필자의 경우 설치하려고하는 패키지 (storm)가 Python 3에서 지원되지 않았기 때문에이 오류 메시지가 나타났습니다.


4

내 문제가 내 것과 관련이 있기 때문에 이것을 여기에 추가 할 것입니다 virtualenv.

가상 환경을 활성화하지 않고 요구 사항을 설치하려고했지만 결국 설치에 실패하고이 오류 메시지가 표시되었습니다.

따라서 virtualenv를 활성화하십시오!


4

pyautogui를 설치하려고 시도했지만 첫 번째 답변의 지침을 따르지만 실패했습니다. 나를위한 차이는 달리고 pip install pillow나서 달리고 있었다pip install pyautogui

이것이 무엇을 의미하는지 모르지만 이것이 일부 사람들을 돕기를 바랍니다.


이것은 매우 도움이되었습니다! 감사합니다
Alejandro Jourdan

2

virtualenv는 격리 된 Python 환경을 만드는 도구입니다.

python setup.py egg_info 명령이 오류 코드 1과 함께 실패했기 때문에 다음을 추가해야하므로 requirements.txt 안에 다음을 추가하십시오.

virtualenv == 12.0.7


1

필자의 경우 pip를 제거하고 다시 설치해야했습니다. 특정 버전을 설치할 수 있습니다.

sudo apt-get purge --auto-remove python-pip
sudo easy_install pip 
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.