简体   繁体   中英

Install program from .deb file, using incorrect python version

I'm trying to install a program from a .deb file on Linux mint, but getting an error at installation as the program requires python >=3.5 (I have 3.4.0 as default). I've installed 3.6.0 but the defualt version appears first in the path (I don't think I want to change this?) so installation still fails.

I've tried to change the local python to 3.6.0 using pyenv, but it still only recognises the default 3.4.0 version. Any ideas what to try?

You can use ppa:fkrull to install python3.5.

sudo add-apt-repository ppa:fkrull/deadsnakes
sudo apt-get update; 
sudo apt-get install python3.5

It surely helps to others

Help:If you want to install python3.6 see this link python3.6

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM