question-mark
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.

`pipenv --system` fails when python is installed in /usr/local/bin

See original GitHub issue

pipenv install --system --deploy --three fails to proceed as it tries to execute /bin/python instead of /usr/local/bin/python

Describe your environment
  1. OS Type ubuntu
  2. Python version: Python 3.6.1
  3. Pipenv version: pipenv, version 11.0.2
Expected result

All packages installed correctly.

Actual result

Pipfile.lock not found, creating… Locking [dev-packages] dependencies… /python: not found

Steps to replicate

pipenv install --system --deploy --three

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:11 (5 by maintainers)

github_iconTop GitHub Comments

4reactions
himikofcommented, Mar 6, 2018

I also have the same issue with pipenv >= 11. In Docker image python:3.6-slim-stretch command pipenv install --system fails to locate the python interpreter at /usr/local/bin/python3. The error is the same:

/python: not found
1reaction
techalchemycommented, Mar 7, 2018

No you shouldn’t I agree with that — if it’s linked properly then it’s a search problem so we can track this down

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why is pipenv telling me the wrong version of python?
It scans your system and looks for a compatible python installation. Now, it seems you already have an existing Pipfile that has "2.7"...
Read more >
pipenv Documentation - Read the Docs
Pipenv is a tool that aims to bring the best of all packaging worlds (bundler, composer, npm, cargo, yarn, etc.) to the. Python...
Read more >
pipenv Documentation - manpages.ubuntu!
Pipenv & Virtual Environments [image] This tutorial walks you through installing and using Python packages. It will show you how to install and...
Read more >
Installing Python 3 on Mac OS X
The next step is to install Pipenv, so you can install dependencies and manage virtual environments. A Virtual Environment is a tool to...
Read more >
Pyenv and Pipenv (on MacOS) – Index - Wilson Mar
Install Python in your user space (without need for sudo); Install multiple ... /usr/local/bin/ is NOT owned by the operating system, ...
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found