Failed to load paths using 2020.6.2
See original GitHub issueI can see this issue has previously been raised and resolved before here: https://github.com/pypa/pipenv/issues/4220, however, I’m still experiencing errors with the latest version of Pipenv which should include the fix.
Issue description
COPY ./docker_image/Pipfile ./docker_image/Pipfile.lock /workdir/
RUN python -m pip install --upgrade pip pipenv \
&& cd /workdir \
&& python -m pipenv install --system --ignore-pipfile --dev
Expected result
Dependencies are installed without error.
Actual result
Installing collected packages: virtualenv-clone, distlib, filelock, appdirs, six, virtualenv, certifi, pipenv
Successfully installed appdirs-1.4.4 certifi-2020.4.5.2 distlib-0.3.0 filelock-3.0.12 pipenv-2020.6.2 six-1.15.0 virtualenv-20.0.21 virtualenv-clone-0.5.4
Installing dependencies from Pipfile.lock (a7add2)…
Failed to load paths: /bin/sh: 1: /root/.local/share/virtualenvs/python_env-rMBEbzCL/bin/python: not found
Output:
Failed to load paths: /bin/sh: 1: /root/.local/share/virtualenvs/python_env-rMBEbzCL/bin/python: not found
Output:
Failed to load paths: /bin/sh: 1: /root/.local/share/virtualenvs/python_env-rMBEbzCL/bin/python: not found
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Frequently Encountered Pipenv Problems - Read the Docs
Here are some common questions people have using Pipenv. Please take a look below and see if they resolve your problem. Note. Make...
Read more >pipenv install giving Failed to load paths errors - Stack Overflow
It is looking for a virtual environment that does not exist. By removing your Pipfile.
Read more >Orion Platform 2020.2.6 Release Notes
Orion Platform 2020.2.6 Release Notes. Release date: July 15, 2021. These release notes describe the new features, improvements, and fixed issues in Orion ......
Read more >June 2, 2020, update for Office 2016 (KB4484335)
This update fixes an issue where Visual Basic for Applications (VBA) projects containing references to components that are located in a file ...
Read more >Release and Version History — pipenv 2022.12.20.dev0 ...
Modernize pipenv path patch with importlib.util to eliminate import of ... Fixes case where packages could fail to install and the exit code...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I got exactly the same error when I wanted to build a Docker image. When I tested this with the pipenv version from master, this issue was fixed.
I changed the line to install pipenv from
to
I couldn’t find the original issue to comment there, I hope this workaround is useful for someone, until the next version is released.
found the pull request that seems to have fixed this issue. https://github.com/pypa/pipenv/pull/4319
Think we can close this one. Looks like we just need to wait for next release.