Python, change interpreter what use system. From anaconda2/bin/python2.7 to /usr/bin/pyhon2.7

你。 提交于 2019-12-23 04:49:20

问题


Hello, stackoverflow I need help again :)

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

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

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

Which python status-->

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

THX


回答1:


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



来源:https://stackoverflow.com/questions/38284874/python-change-interpreter-what-use-system-from-anaconda2-bin-python2-7-to-usr

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!