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

Failed to load paths using 2020.6.2 #4337

Closed
jiashucheniress opened this issue Jun 12, 2020 · 5 comments
Closed

Failed to load paths using 2020.6.2 #4337

jiashucheniress opened this issue Jun 12, 2020 · 5 comments
Labels
Type: Duplicate This issue is a duplicate of an already-existing issue.

Comments

@jiashucheniress
Copy link

jiashucheniress commented Jun 12, 2020

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


@frostming frostming added the Type: Duplicate This issue is a duplicate of an already-existing issue. label Jun 12, 2020
@hwmrocker
Copy link

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

to

RUN pip install --upgrade pip git+https://github.com/pypa/pipenv

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

@jiashucheniress
Copy link
Author

jiashucheniress commented Jun 14, 2020

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

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

@jshin49
Copy link

jshin49 commented Jun 18, 2020

This issue is still a problem for me when I installed pipenv using pip. Is it really fixed? Not sure if the PR mentioned by @jiashucheniress addresses this issue.

@jiashucheniress
Copy link
Author

jiashucheniress commented Jun 23, 2020

This issue is still a problem for me when I installed pipenv using pip. Is it really fixed? Not sure if the PR mentioned by @jiashucheniress addresses this issue.

hi @jshin49 , the issue is fixed on master, however, the fix hasn't been released yet. atm the way I'm by passing it is by doing the following

python -m pip install git+https://github.com/pypa/pipenv@97324a6932b3fda0ccbabcc349474d74a913e0bc

This takes the master commit with the fix, but not all of the subsequent changes

@kychanbp

This comment has been minimized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Duplicate This issue is a duplicate of an already-existing issue.
Projects
None yet
Development

No branches or pull requests

5 participants