Ubuntu配置python
Ubuntu配置舒适的python环境:
- pip
sudo apt install python-pip
- mysql
sudo apt install mysql-client mysql-server
- pycharm(apt源安装)
sudo add-apt-repository ppa:mystic-mirage/pycharm
sudo apt-get update
sudo apt-get install pycharm
- *ssh
sudo apt-get install openssh-server
如果出现 can’t be established:
修改/etc/ssh/ssh_config文件的配置
最后面添加:
StrictHostKeyChecking no
UserKnownHostsFile /dev/null
- *MySQLdb
sudo apt-get install python-mysqldb