![](https://img-blog.csdnimg.cn/20201014180756919.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Python
Newtorn
一切的简单是从复杂开始。
展开
-
Centos python2与3安装共存
1.先安装py3所依赖的软件包,否则可能会出现py3安装成功,却缺少相应的pip,命令:yum groupinstall "Development tools"yum install zlib-devel bzip2-devel openssl-devel ncurses-devel sqlite-devel readline-devel tk-devel2.wegt下载python3源码并...原创 2018-04-09 21:55:06 · 1462 阅读 · 0 评论 -
Centos下yum安装pip时失败
出现问题:[root@yaxuan ~]# yum -y install pipLoaded plugins: fastestmirror, refresh-packagekit, securityLoading mirror speeds from cached hostfile* base: mirrors.tuna.tsinghua.edu.cn* extras: mirrors.tuna....原创 2018-04-09 22:04:21 · 1023 阅读 · 0 评论 -
Mac可视化开发Qt + PyQt + Eric
一.安装Qt方法1:官网下载Qt | Cross-platform software development for embedded & desktop,dmg文件双击安装,配置环境:vim ~/.bash_profile#添加一下内容,x是你的版本#Setting PATH for Qt 5.x PATH="/Users/xxx/Qt5.x.x/5.x/clang_64/bin:...原创 2018-04-15 03:45:46 · 2037 阅读 · 0 评论 -
Centos下yum安装:/usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory
出现问题:执行yum,得到:/usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory解决方案:第一种:sudo ln -s /usr/bin/python2.x /usr/bin/python其中x是你的python版本第二种:vi /usr/bin/yum #!/usr/bin/python 修改为 ...原创 2018-04-09 22:09:54 · 15714 阅读 · 1 评论