Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/python-3.x/16.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Linux 在Opensuse leap上安装python 3.5_Linux_Python 3.x_Python 3.5_Opensuse - Fatal编程技术网

Linux 在Opensuse leap上安装python 3.5

Linux 在Opensuse leap上安装python 3.5,linux,python-3.x,python-3.5,opensuse,Linux,Python 3.x,Python 3.5,Opensuse,当前版本:Python 3.4.5 发行:Opensuse Leap 42.2 我想用3.5替换它。*,我尝试了以下操作: sudo zypper ar -f http://download.opensuse.org/repositories/devel:/languages:/python3/openSUSE_Leap_42.2/devel:languages:python3.repo sudo zypper ref sudo zypper dup 但是,当执行dup时,它不会从3.4升级到

当前版本:Python 3.4.5 发行:Opensuse Leap 42.2 我想用3.5替换它。*,我尝试了以下操作:

sudo zypper ar -f http://download.opensuse.org/repositories/devel:/languages:/python3/openSUSE_Leap_42.2/devel:languages:python3.repo
sudo zypper ref
sudo zypper dup

但是,当执行dup时,它不会从3.4升级到3.5。如果将来有人遇到这种情况,在操作系统中更改默认的python3是一个坏主意,一些操作系统应用程序可能依赖于这个确切的版本来正确运行,如果您发现自己处于类似的情况,最好使用virtualenv、pyenv或conda