prusnak / suez

Tool for pretty printing and optimizing Lightning Network channels.
GNU General Public License v3.0
78 stars 20 forks source link

No module named 'virtualenv.seed.via_app_data' #33

Closed papercheck closed 2 years ago

papercheck commented 2 years ago

Attempting to install suez on Ubuntu Ubuntu 20.04.3 LTS, but when running poetry install, I am receiving: No module named 'virtualenv.seed.via_app_data'.

I am not sure what version of virtualenv is required, but mine is virtualenv 20.13.0

prusnak commented 2 years ago

duplicate of https://github.com/pypa/virtualenv/issues/1873

broken virtualenv on ubuntu -> downgrade to virtualenv==20.0.23

papercheck commented 2 years ago

Thanks, I was going to close this issue as I ran across the answer, but just in case it isn't clear to other Ubuntu users.

# Remove apt installation of virtualenv
sudo apt remove virtualenv

# Install virtualenv with pip
pip install virtualenv

# test using --help, if this command generates an error, than the apt-get installation was not purged
virtualenv --help

Interestingly enough, virtualenv --version always works, so you have to test with virtualenv --help

prusnak commented 2 years ago

I really don't understand how can Ubuntu still ship broken virtualenv after 2 years in their LTS product. Ubuntu LTS is a joke.

papercheck commented 2 years ago

I really don't understand how can Ubuntu still ship broken virtualenv after 2 years in their LTS product. Ubuntu LTS is a joke.

No clue, I use it because its "stable" haha

Thank you for your help!