Python,转换解释器使用什么系统.从anaconda2/bin/python2.7到/usr/bin/pyhon2.7 [英] Python, change interpreter what use system. From anaconda2/bin/python2.7 to /usr/bin/pyhon2.7

查看:133
本文介绍了Python,转换解释器使用什么系统.从anaconda2/bin/python2.7到/usr/bin/pyhon2.7的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,stackoverflow我再次需要帮助:)

Hello, stackoverflow I need help again :)

如何更改默认系统python解释器? 怎么解决呢? ->

How to change default system python interpreter? OR How to solve this? -->

安装anaconda2后出现问题.当然,这不只是"gnome-tweak-tool"的问题:).

Problem comes after installation of anaconda2. It's not "just gnome-tweak-tool" problem of course :).

很明显,该系统-以某种方式-运行anaconda-python解释器,而不是/usr/bin/python作为默认系统python解释器.

It's obviously that system - somehow - run anaconda-python interpreter, instead /usr/bin/python as a default system python interpreter.

哪个python状态->

Which python status-->

我无法从Opensuse Leap 42.1系统中删除Anaconda ...我只需要暂时禁用它即可.

I cannot delete Anaconda from my Opensuse Leap 42.1 system... I need just disable him for a while..

THX

推荐答案

编辑您的.bashrc文件以添加PYTHONPATH或注释anaconda添加的路径,然后它将起作用.

Edit your .bashrc file to add PYTHONPATH or comment the paths added by anaconda then it will work.

这篇关于Python,转换解释器使用什么系统.从anaconda2/bin/python2.7到/usr/bin/pyhon2.7的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆