RT, LZ 最近在 pyenv 上安装 miniconda 时手贱升了下 conda 版本, 然后就发现用 pyenv virtualenv 生成的环境在 pyenv virtualenvs 列表里显示不出来了,大家有碰到这情况吗,如下:
pyenv virtualenvs
acc2 (created from /home/wukai/.pyenv/versions/acc2)
acc3 (created from /home/wukai/.pyenv/versions/acc3)
anaconda2-4.0.0 (created from /home/wukai/.pyenv/versions/anaconda2-4.0.0)
anaconda2-4.0.0/envs/acc2 (created from /home/wukai/.pyenv/versions/anaconda2-4.0.0/envs/acc2)
anaconda2-4.0.0/envs/web2 (created from /home/wukai/.pyenv/versions/anaconda2-4.0.0/envs/web2)
anaconda3-4.0.0 (created from /home/wukai/.pyenv/versions/anaconda3-4.0.0)
anaconda3-4.0.0/envs/acc3 (created from /home/wukai/.pyenv/versions/anaconda3-4.0.0/envs/acc3)
anaconda3-4.0.0/envs/pymotw3 (created from /home/wukai/.pyenv/versions/anaconda3-4.0.0/envs/pymotw3)
anaconda3-4.0.0/envs/web3 (created from /home/wukai/.pyenv/versions/anaconda3-4.0.0/envs/web3)
miniconda3-latest (created from /home/wukai/.pyenv/versions/miniconda3-latest)
pymotw3 (created from /home/wukai/.pyenv/versions/pymotw3)
web2 (created from /home/wukai/.pyenv/versions/web2)
web3 (created from /home/wukai/.pyenv/versions/web3)
# No test3_1 WTF?
pyenv versions
* system (set by /home/wukai/.pyenv/version)
acc2
acc3
anaconda2-4.0.0
anaconda2-4.0.0/envs/acc2
anaconda2-4.0.0/envs/web2
anaconda3-4.0.0
anaconda3-4.0.0/envs/acc3
anaconda3-4.0.0/envs/pymotw3
anaconda3-4.0.0/envs/web3
miniconda3-latest
miniconda3-latest/envs/test3_1 #here
pymotw3
test3_1
web2
web3
最但疼的是,创建出来的test3_1版本不自带conda命令了, 很蛋疼啊...
这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。
V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。
V2EX is a community of developers, designers and creative people.