Installer broken with virtualenv 20.x
See original GitHub issueI tried installing Lektor on Linux via the installer script at https://www.getlektor.com/install.sh
. This resulted in the following error messages:
/usr/bin/python: can't open file './src/virtualenv.py': [Errno 2] No such file or directory
/usr/bin/python: can't open file './virtualenv.py': [Errno 2] No such file or directory
It seems the internal structure of the virtualenv
package changed again. If I modify the installer script to force an older version of virtualenv, it works again:
VENV_URL = "https://pypi.org/pypi/virtualenv/16.7.9/json"
Issue Analytics
- State:
- Created 4 years ago
- Reactions:5
- Comments:29 (17 by maintainers)
Top Results From Across the Web
pip install break with 20.0.6 within virtualenv #1669 - GitHub
Issue Installing black from source in a new virtualenv does not work anymore, and throws an error No module named pip Environment Docker ......
Read more >Pip installation in virtualenv broken - Stack Overflow
Solution is to wipe the pyenv folder, and reinstall a fresh virtualenv (if you've been using a requirements.txt file, this is what the...
Read more >User Guide — virtualenv 20.17.2.dev2+g6845f6f documentation
Phase 2 creates a virtual environment at the specified destination ( dest ), this can be broken down into four further sub-steps: create...
Read more >How To Install Virtualenv on Mac OS - YouTube
Quick walkthrough on how to install Virtualenv on Mac OS two different ways. This is an easy way to manage Python and it's...
Read more >Cannot install python venv on Ubuntu 20.04 after upgrading ...
As your original error mentions, you need to install the python3-venv ... After that is done, you need to create a venv by...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ll do it.
No reason except I am more familiar with wget. Here is curl version:
Here is simple urlretrieve version also but it does not show download progress (for that it will be more complicated to solve python2/3 comaptibility issues):
I just tested this with python2 so I am not sure is it working with python3