在 Mac OS X 上使用 virtualenv
我正在尝试在 Mac OS X 上设置 Django 环境,但是当我尝试创建虚拟环境时遇到错误。有人给我提示吗?
更新:很抱歉遗漏了错误消息。归结为:
Could not call install_name_tool -- you must have Apple's development tools installed
I'm trying to setup a Django environment on Mac OS X, but I'm getting an error when I try to create a virtual env. Does anyone have a tip for me?
UPDATE: I'm sorry for leaving out the error message. It boils down to:
Could not call install_name_tool -- you must have Apple's development tools installed
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,错误消息会很有帮助,但是当我最近在 Macbook Air 上设置 Django 开发环境时,我发现我需要下载安装 Xcode 才能获得我需要的所有开发工具。
您可以在 Mac Store 中找到 Xcode。几周前我下载时花费了 4.99 美元。这是一个巨大的下载,花了一整晚才得到,但是一旦我安装了它,我就可以使用 virtualenv 了。
您可以查看我的文章 入门Virtualenv 如果您需要有关该出色软件包的帮助。祝你好运。
Well, the error message would be helpful, but when I recently setup a Django development environment on my Macbook Air, I found that I needed to download an install Xcode to get all the development tools I needed.
You can find Xcode in the Mac Store. It cost $4.99 when I downloaded it a few weeks ago. It is a huge download and took all night to get, but once I installed it I was able to use virtualenv.
You can check out my post on Getting Started with Virtualenv if you need help with that excellent package. Best of luck.