![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python
CrimsonCodeGenie
喜欢平淡 ,欣赏尘世的美景
展开
-
使用pyenv管理python的版本
1、安装git CentOS sudo yum install git MacOS brew install git 2、安装pyenv git地址:https://github.com/pyenv/pyenv 克隆项目到家目录下的文件夹:.pyenv git clone https://github/pyenv/pyenv.git ~/.pyenv 配置环境变量 echo 'export PYENV_ROOT="$HOME/.pyenv"' >> ~/.zshrc echo 'export原创 2021-02-26 23:44:46 · 229 阅读 · 0 评论 -
mac安装mysql-python报错解决方案
在mac环境下使用pip install mysql-python会出现如下错误 edz@bogon oss % pip install MySQL-python DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support f原创 2021-02-23 18:33:37 · 282 阅读 · 1 评论