创建一个新的 virtualenv 挂起 [英] Creating a new virtualenv hangs

查看:30
本文介绍了创建一个新的 virtualenv 挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一台 macbookpro.

I have a macbookpro.

我从 pylonsbook.com/virutalenv.py 下载了 virtualenv.py

I downloaded virtualenv.py from pylonsbook.com/virutalenv.py

当我输入时:

python virtualenv.py --no-site-packages env

它输出:

New python executable in env/bin/python

然后它就挂了,我在终端中没有收到提示.

then it just hangs, I don't get the prompt in terminal.

我重新启动了电脑,结果还是一样,怎么了?

I've restarted the computer and I get the same result, what's wrong?

推荐答案

您是否尝试过 easy_install virtualenv 代替?获取最新版本绝不是一个坏主意.

Have you tried to easy_install virtualenv instead? Getting the most updated version is never a bad idea.

(另外,在我的 MacBook 上链接 WFM.在该提示之后,它会将 setuptools 安装到虚拟环境中.)

(Also, that link WFM on my MacBook. After that prompt it installs setuptools into the virtual environment.)

这篇关于创建一个新的 virtualenv 挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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