-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
pipenv install shows "ERROR: virtualenv is not compatible with this system or executable" #2291
Comments
Where are you installing Python? It seems like you installation is broken. The compile steps are strange too—you |
I'm having a similar issue as well @uranusjr |
At least add your configure output or there’s nowhere to start. The error message is quite clear: Your environment is not compatible. This means you are missing something during compilation. Please provide actionable information. |
I have a working After some searching it's a |
I am not saying the Python installation isn’t legit. Not every Python installation works with virtualenv, and since CPython does environment sniffing during compilation, it is not possible to know exactly what causes your installation to not work without knowing how your environment is configured. To provide a constructive way to proceed, you need to either provide a reliable way to reproduce the error; otherwise the maintainers can’t offer much help, since the same compilation process appears to work for many people, including myself. |
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. |
When I type pipenv install, it shows:
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.
The text was updated successfully, but these errors were encountered: