pipenv install failing due to timeout

前端 未结 7 1384
清歌不尽
清歌不尽 2021-02-13 16:56
C:\\Users\\danie01\\fox\\test\\robotframework>pipenv install --python 3.5
Creating a virtualenv for this project...
Pipfile: C:\\Users\\danie01\\fox\\test\\robotframe         


        
7条回答
  •  遥遥无期
    2021-02-13 17:38

    pipenv ran a subprocess, and that process took longer than the default 15 minutes, then expect.py was told to wait for a newline but it hit the timeout and here you are. First step is to increasing the TIMEOUT value in:

    PIPENV_TIMEOUT 
    

    https://pipenv.readthedocs.io/en/latest/advanced/#configuration-with-environment-variables

    PIPENV_INSTALL_TIMEOUT
        Max number of seconds to wait for package installation.
        Defaults to 900 (15 minutes), a very long arbitrary time.
    

    If it's hanging forever, then the question becomes: What was pipenv told to do that results in a block? Use the --verbose flag to tell pipenv to tell you what it's doing that results in a hang.

    #try
    export PIPENV_INSTALL_TIMEOUT=9000
    

提交回复
热议问题