-
Notifications
You must be signed in to change notification settings - Fork 179
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
Install.sh fails on Ubuntu 24.04.1 (because of python 3.12) #1730
Comments
JM should work with Python 3.12. Will try to reproduce with Ubuntu 24.04 VPS. |
FYI
When trying to re-install it (I just now reproduced it. Maybe the installer should check <3.13 instead of <3.12?):
|
Also, shouldn't the Python version be checked at the very beginning of the install process? |
Ahh, yes, 3.12 support is in current master, but not in the last release (0.9.11). Another reason to do new release soon! |
Gotcha! In the meantime my "workaround" could be helpful for others moving to the most recent version of Ubuntu or just with a too recent version of python on their system. |
Today I upgraded to Ubuntu 24.04.1 and JM yg-privacyenhanced.py didn't work anymore because of the different way Ubuntu new release treats Python.
So I went on and reinstalled it but it failed because the default Python version is the 3.12.3.
In order for the "easy" installation to work on Ubuntu 24.04 I had to do the following:
The Python 3.10 packages needed are not available in the default repositories of Ubuntu new version. To install Python 3.10 on Ubuntu 24.04, you'll need to add the appropriate PPA (Personal Package Archive) and then install it.
Here’s how to install Python 3.10 along with its development tools:
Add the deadsnakes PPA, which contains more Python versions:
sudo add-apt-repository ppa:deadsnakes/ppa
Update the package list:
sudo apt update
Install Python 3.10 and related packages:
sudo apt install python3.10 python3.10-venv python3.10-dev
In the directory where you extracted the JM release, create and activate a virtual environment:
python3 -m venv jmvenv
source jmvenv/bin/activate
Run ./install.sh and when asked if removing and recreating the jmvenv answer No.
That's it. At least it worked for me.
The text was updated successfully, but these errors were encountered: