Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pipenv.patched.notpip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 #2766

Closed
pybokeh opened this issue Aug 21, 2018 · 0 comments · Fixed by #2814

Comments

@pybokeh
Copy link

pybokeh commented Aug 21, 2018

I am getting error message below when trying to install Luigi after installing specific version of python-daemon (version 2.1.2). OS: Windows 7

Issue description

Error message after attempting to install luigi:

Legacy_results = self.get_legacy_dependencies(ireq)                                                                                                     
  File "d:\python32\lib\site-packages\pipenv\patched\piptools\repositories\pypi.py", line 335, in get_legacy_dependencies                              
    self.resolver.resolve(reqset)                                                                                                                      
  File "d:\python32\lib\site-packages\pipenv\patched\notpip\_internal\resolve.py", line 107, in resolve                                                
    self._resolve_one(requirement_set, req)                                                                                                            
  File "d:\python32\lib\site-packages\pipenv\patched\notpip\_internal\resolve.py", line 264, in _resolve_one                                           
    abstract_dist = self._get_abstract_dist_for(req_to_install)                                                                                        
  File "d:\python32\lib\site-packages\pipenv\patched\notpip\_internal\resolve.py", line 214, in _get_abstract_dist_for                                 
    self.require_hashes                                                                                                                                
  File "d:\python32\lib\site-packages\pipenv\patched\notpip\_internal\operations\prepare.py", line 328, in prepare_linked_requirement                  
    abstract_dist.prep_for_dist(finder, self.build_isolation)                                                                                          
  File "d:\python32\lib\site-packages\pipenv\patched\notpip\_internal\operations\prepare.py", line 155, in prep_for_dist                               
    self.req.run_egg_info()                                                                                                                            
  File "d:\python32\lib\site-packages\pipenv\patched\notpip\_internal\req\req_install.py", line 486, in run_egg_info                                   
    command_desc='python setup.py egg_info')                                                                                                           
  File "d:\python32\lib\site-packages\pipenv\patched\notpip\_internal\utils\misc.py", line 698, in call_subprocess                                     
    % (command_desc, proc.returncode, cwd))                                                                                                            
pipenv.patched.notpip._internal.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in C:\Users\ma17151\AppData\L
ocal\Temp\tmpd7e9prdlbuild\python-daemon\                                                                                                              
Expected result

I expected luigi to be installed

Actual result

Error message above

Steps to replicate

Step 1) pipenv install python-daemon==2.1.2
Step 2) pipenv install luigi
Step 3) then got error message

Below is output of pipenv --support | clip

$ pipenv --support

Pipenv version: '2018.7.1'

Pipenv location: 'd:\\python32\\lib\\site-packages\\pipenv'

Python location: 'd:\\python32\\python.exe'

Other Python installations in PATH:

  • 3.6: D:\envs\zf_wrp\.venv\Scripts\python.exe

  • 3.6.3: D:\envs\zf_wrp\.venv\Scripts\python.exe

  • 3.6.3: D:\Python32\python.exe

PEP 508 Information:

{'implementation_name': 'cpython',
 'implementation_version': '3.6.3',
 'os_name': 'nt',
 'platform_machine': 'AMD64',
 'platform_python_implementation': 'CPython',
 'platform_release': '7',
 'platform_system': 'Windows',
 'platform_version': '6.1.7601',
 'python_full_version': '3.6.3',
 'python_version': '3.6',
 'sys_platform': 'win32'}

System environment variables:

  • ALIASES
  • ALLUSERSPROFILE
  • ANSICON
  • ANSICON_DEF
  • APPDATA
  • ARCHITECTURE
  • CLASSPATH
  • CMDER_ROOT
  • CMDER_START
  • COMMONPROGRAMFILES
  • COMMONPROGRAMFILES(X86)
  • COMMONPROGRAMW6432
  • COMPUTERNAME
  • COMSPEC
  • CONEMUANSI
  • CONEMUANSILOG
  • CONEMUARGS
  • CONEMUARGS2
  • CONEMUBACKHWND
  • CONEMUBASEDIR
  • CONEMUBASEDIRSHORT
  • CONEMUBUILD
  • CONEMUCFGDIR
  • CONEMUCONFIG
  • CONEMUDIR
  • CONEMUDRAWHWND
  • CONEMUDRIVE
  • CONEMUHOOKS
  • CONEMUHWND
  • CONEMUPALETTE
  • CONEMUPID
  • CONEMUSERVERPID
  • CONEMUTASK
  • CONEMUWORKDIR
  • CONEMUWORKDRIVE
  • DB2INSTANCE
  • DEFLOGDIR
  • FP_NO_HOST_CHECK
  • FTP_PROXY
  • GIT_INSTALL_ROOT
  • HOME
  • HOMEDRIVE
  • HOMEPATH
  • HOMESHARE
  • HTTPS_PROXY
  • HTTP_PROXY
  • INCLUDE
  • IPYTHONDIR
  • JUPYTER_CONFIG_DIR
  • JUPYTER_DATA_DIR
  • LOCALAPPDATA
  • LOGONSERVER
  • NODE_OPTIONS
  • NUMBER_OF_PROCESSORS
  • OS
  • PATH
  • PATHEXT
  • PIPENV_ACTIVE
  • PIPENV_VENV_IN_PROJECT
  • PIP_PYTHON_PATH
  • PLINK_PROTOCOL
  • PROCESSOR_ARCHITECTURE
  • PROCESSOR_ARCHITEW6432
  • PROCESSOR_IDENTIFIER
  • PROCESSOR_LEVEL
  • PROCESSOR_REVISION
  • PROGRAMDATA
  • PROGRAMFILES
  • PROGRAMFILES(X86)
  • PROGRAMW6432
  • PROMPT
  • PSMODULEPATH
  • PUBLIC
  • PYTHONDONTWRITEBYTECODE
  • PYTHONPATH
  • R_HOME
  • R_USER
  • SESSIONNAME
  • SVN_SSH
  • SYSTEMDRIVE
  • SYSTEMROOT
  • TEMP
  • TERM
  • TMP
  • UATDATA
  • USER-ALIASES
  • USERDNSDOMAIN
  • USERDOMAIN
  • USERNAME
  • USERPROFILE
  • VERBOSE-OUTPUT
  • VIRTUAL_ENV
  • VS140COMNTOOLS
  • VSEDEFLOGDIR
  • WINDIR
  • WINDOWS_TRACING_FLAGS
  • WINDOWS_TRACING_LOGFILE

Pipenvûspecific environment variables:

  • PIPENV_ACTIVE: 1
  • PIPENV_VENV_IN_PROJECT: 1

Debugûspecific environment variables:

  • PATH: D:\cmder_mini\bin;D:\envs\zf_wrp\.venv\Scripts;D:\cmder_mini\bin;D:\cmder_mini\vendor\conemu-maximus5\ConEmu\Scripts;D:\cmder_mini\vendor\conemu-maximus5;D:\cmder_mini\vendor\conemu-maximus5\ConEmu;C:\Program Files (x86)\RSA SecurID Token Common;C:\Program Files\RSA SecurID Token Common;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\PROGRA~2\IBM\SQLLIB\BIN;C:\PROGRA~2\IBM\SQLLIB\FUNCTION;C:\Program Files (x86)\Windows Kits\10\Windows Performance Toolkit\;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\git\cmd;D:\git\usr\bin;D:\git\usr\share\vim\vim74;D:\cmder_mini\;D:\gVim\vim80;D:\R_Project\R-3.4.2\bin\x64;d:\git\bin;C:\Program Files (x86)\Java\jre7\bin;D:\ZeroMQ 4.0.4\bin;D:\COIN-OR\win32-msvc12\bin;D:\GraphViz-2.38\bin;C:\Users\user\AppData\Local\Pandoc;C:\Users\user\AppData\Local\Programs\MiKTeX 2.9\miktex\bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\bin;C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools;C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include;C:\Users\user\AppData\Local\atom;D:\nodejs;D:\Python32;D:\Python32\Scripts;;C:\Users\user\AppData\Roaming\Python\Python36\site-packages\pywin32_system32;D:\git\usr\bin;D:\git\usr\share\vim\vim74;D:\cmder_mini\;C:\Users\user\AppData\Roaming\Python\Python36\site-packages\pywin32_system32
  • VIRTUAL_ENV: D:\envs\zf_wrp\.venv

Contents of Pipfile ('D:\envs\zf_wrp\Pipfile'):

[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
python-daemon = "==2.1.2"
luigi = "*"

[dev-packages]

[requires]
python_version = "3.6"

Contents of Pipfile.lock ('D:\envs\zf_wrp\Pipfile.lock'):

{
    "_meta": {
        "hash": {
            "sha256": "6172f0b5b510697e5e1b5c3923b874c307576284cbc77c1102b5c98d7c5d6252"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.6"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "docutils": {
            "hashes": [
                "sha256:02aec4bd92ab067f6ff27a38a38a41173bf01bed8f89157768c1573f53e474a6",
                "sha256:51e64ef2ebfb29cae1faa133b3710143496eca21c530f3f71424d77687764274",
                "sha256:7a4bd47eaf6596e1295ecb11361139febe29b084a87bf005bf899f9a42edc3c6"
            ],
            "version": "==0.14"
        },
        "lockfile": {
            "hashes": [
                "sha256:6aed02de03cba24efabcd600b30540140634fc06cfa603822d508d5361e9f799",
                "sha256:6c3cb24f344923d30b2785d5ad75182c8ea7ac1b6171b08657258ec7429d50fa"
            ],
            "version": "==0.12.2"
        },
        "python-daemon": {
            "hashes": [
                "sha256:261c859be5c12ae7d4286dc6951e87e9e1a70a882a8b41fd926efc1ec4214f73",
                "sha256:53da55aec3bb67b576e13a8091a2181f99b395c2eec32a5a0d91d347a5c420a7"
            ],
            "index": "pypi",
            "version": "==2.1.2"
        }
    },
    "develop": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant