忘记 virtualenv 名称 - 如何找到虚拟 env 的名称? [英] Forgot virtualenv name - how to find the name of the virtual env?

查看:34
本文介绍了忘记 virtualenv 名称 - 如何找到虚拟 env 的名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

不久前我用 uwsgi/nginx 建立了一个 Flask 站点,并建立了一个 virtualenv.当前目录.

I set up a flask site with uwsgi/nginx a while back, and set up a virtualenv.. I've forgotten the name of the venv I set up, and I can't find any way to list the virtualenv in a current dir.

如何找到我的 virtualenv 的名称?

How do I find out the name of my virtualenv?

推荐答案

如果肯定在当前目录,试试ls */bin/python.否则, ls **/pythonfind .-name python.当然,您也可以制作一个新的.

If it’s definitely in the current directory, try ls */bin/python. Otherwise, ls **/python, or find . -name python. You can, of course, just make a new one, too.

这篇关于忘记 virtualenv 名称 - 如何找到虚拟 env 的名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆