Closed leopheard closed 4 years ago
Step 6 is the "problem" and fix. When you did that it only changed it for the current user, not the root user, which is used when running sudo. You can verify that further by running sudo python -V
.
At least 2 options:
Do # 6 again like this:
sudo echo "alias python=/usr/local/bin/python3.8" >> /root/.bashrc
Make the new python the system default following something like this . Since they are both Python 3, that should be safe.
Environment
Describe the system on which this issue occurred: pihole5-list-tool (ex: 0.4.2,
pip3 show pihole5-list-tool
) : OS _(ex: Ubuntu 20.20,lsb_release -a
) : Rasbpian 9.11 Python (ex: 3.8.2,python --version
) : 3.8.0 Using Docker? No .....version (ex: 19.03.10,docker -v
)_ :Hi all,
So running Python -V gives "Python 3.8.0" but running sudo pip3 install pihole5-list-tool --upgrade produces "this tool requires 3.6 or greater, you are running 3.5.3". What am I doing wrong? I've just upgraded, followed the guide here: https://installvirtual.com/how-to-install-python-3-8-on-raspberry-pi-raspbian/ rebooted and it's still not showing the correct version?