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 install shows "ERROR: virtualenv is not compatible with this system or executable"

See original GitHub issue

When I type pipenv install, it shows: image

I googled many websites but not found any solutions.

The steps are similar to PyCon slides (compile Python, install pipenv in venv):: 1. git clone https://github.com/python/cpython.git 2. git checkout 3.6 3. mv cpython python 4. ./configure --prefix=$HOME/.local/python 5. make 6. sudo make install 7. mkdir -p ~/.local/bin ~/.local/venvs
8. ln -s ~/.local/python/python ~/.local/bin/python3.6 9. ln -s ~/.local/bin/python3.6 ~/.local/bin/python3 10. vi ~/.bashrc alias python3='/home/deckenkang66/.local/bin/python3' 11. OPEN a new terminal 12. python3 -m venv ~/.local/venvs/pipenv
13. ~/.local/venvs/pipenv/bin/pip install pipenv
14. ln -s ~/.local/venvs/pipenv/bin/pipenv ~/.local/bin
15. pipenv --version pipenv, version 2018.05.18 16. pipenv install

Thanks.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
uranusjrcommented, Jun 2, 2018

Where are you installing Python? It seems like you installation is broken. The compile steps are strange too—you sudo make install, which by default would link your Python executable to /usr/local/bin, but then you link your Python from ~/.local. My guess is your installing Python wrong in step 7–9. Not a problem in Pipenv.

0reactions
MichaelKim0407commented, Mar 18, 2019

As I said, it’s a dependency issue. If you are interested in the details, there is a link above.

I would think that the most important information for you as a package maintainer is that your dependency doesn’t work for some people.

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - Virtualenv not compatible with this system or executable
My limited undestanding is that my python interpreter and packages are managed under Anaconda using Conda package manager, and my virtualenv ...
Read more >
Frequently Encountered Pipenv Problems - Read the Docs
Pipenv does not install pre-releases (i.e. a version with an alpha/beta/etc. suffix, ... This is usually a result of mixing Pipenv with system...
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 >
The packages installed on the virtualenv are not recognized ...
I have just upgraded my OS, macOS Big Sur , to the macOS Monterey Beta and the packages of my pipenv projects are...
Read more >
Python framework builds, pipenv, pyenv and virtualenv…
To install a framework build with pyenv you'll run something like ... -XHThpeOX')ERROR: virtualenv is not compatible with this system or ...
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