Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Failed to load paths using 2020.6.2

See original GitHub issue

I can see this issue has previously been raised and resolved before here:, 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

Failed to load paths: /bin/sh: 1: /root/.local/share/virtualenvs/python_env-rMBEbzCL/bin/python: not found

Failed to load paths: /bin/sh: 1: /root/.local/share/virtualenvs/python_env-rMBEbzCL/bin/python: not found

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

hwmrockercommented, Jun 12, 2020

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

RUN pip install --upgrade pip pipenv


RUN pip install --upgrade pip git+

I couldn’t find the original issue to comment there, I hope this workaround is useful for someone, until the next version is released.

jiashucheniresscommented, Jun 14, 2020

found the pull request that seems to have fixed this issue.

Think we can close this one. Looks like we just need to wait for next release.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found