python Study

http://blog.csdn.net/fancylovejava/article/details/39140373html

http://www.cangfengzhe.com/python/3207.htmljava

http://www.ttwshell.com/article/mac-env-and-python-package-install-errors.htmlpython

http://mp.weixin.qq.com/s?__biz=MjM5NzA1MTcyMA==&mid=206253585&idx=2&sn=decb7acf9bd875bbed97ac28c3d9a032&scene=1&srcid=1226bC9fgMKzItt6ANf99Aya#rdshell

http://www.liaoxuefeng.com/wiki/0014316089557264a6b348958f449949df42a6d3a2e542c000ui

http://cuiqingcai.com/1052.htmlspa

http://python.jobbole.com/81332/.net

刪除.pyc文件3d

find /tmp -name "*.pyc" | xargs rm -rfhtm

查找pip3blog

which pip3 返回pip3的路徑

將pip3賦值給pip,此時本地若是有pip2和pip3 重命名後pip被指向pip3

 alias pip=/usr/local/python3/bin/pip3

python2和python3 切換

ycharm4.5中安裝了2.7和3.4版本的python,想讓項目用2.7版本的python,去pycharm下找prefrnmence而不是file下的,這樣就能解決問題了.
解釋器的選項路徑爲:File->Setting->Build, Execution, Deployment-> Console-> Python Console:
將Python interpreter參數修改成你但願的。就能夠解決console中解釋器(默認)版本。

External Libraries 修改方法爲:File -> Settings->Project: "current Name當前項目名字" ->Project Interpreter->Python Interpreters,而後選擇你但願的版本,就能夠解決系統模塊的版本。

相關文章
相關標籤/搜索