markdown Python框架与pyenv和virtualenv / venv

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了markdown Python框架与pyenv和virtualenv / venv相关的知识,希望对你有一定的参考价值。

#I had to do something a bit different in order to get my pyenv #virtualenv to work.

#Run @psomhorst suggested config opt on the ^base^ python (in my case 3.6.6)

`$ env PYTHON_CONFIGURE_OPTS="--enable-framework CC=clang" pyenv install 3.6.6`

#Uninstall my virtualenv (if you already have one that you want to reuse)

`$ pyenv uninstall py3`

#Reinstall my virtualenv

`$ pyenv virtualenv 3.6.6 py3`

#And then of course activate my virtualenv like normal.. and then everything worked great.

See [this for more](https://github.com/pyenv/pyenv-virtualenv/issues/140)

以上是关于markdown Python框架与pyenv和virtualenv / venv的主要内容,如果未能解决你的问题,请参考以下文章

markdown pyenv + pyenv-virtualenv

python pyenv与 pyenv-virtualenv配置

markdown 在Ubuntu上安装pyenv

pyenv的使用

markdown pyenvでpycallしたらPyCall :: PythonNotFound

Python 杂记之 如何使用pyenv进行版本管理与如何使用virtualenv创建虚拟运行环境