[英]python-crypto for OS X?
I am trying to install a django project on OS X. The instructions are written for Ubuntu and there is a list of dependencies. 我正在尝试在OS X上安装一个django项目。这些指令是为Ubuntu编写的,并且有一个依赖项列表。 Some I have found on PIP, others I have not.
有些我在PIP找到了,有些我没找到。
apt get install python-crypto
How can I find this same package(s) on PIP? 如何在PIP上找到相同的包? If not on PIP, will I have to find their source and compile them on OS X?
如果不在PIP上,我是否必须找到它们的源并在OS X上编译它们?
Complete list of dependencies: 完整的依赖列表:
sudo apt-get install git-core python-pip python-beautifulsoup python-crypto python-dateutil python-dns python-feedparser python-flup python-httplib2 python-imaging python-lxml python-memcache python-mysqldb python-numpy python-openid python-reportlab python-simplejson python-stats python-tz python-yaml msttcorefonts mysql-server python-mysqldb python-setuptools
sudo apt-get install git-core python -pip python-beautifulsoup python-crypto python-dateutil python-dns python-feedparser python-flup python-httplib2 python-imaging python-lxml python-memcache python-mysqldb python-numpy python-openid python-reportlab python-simplejson python-stats python -tz python-yaml msttcorefonts mysql-server python-mysqldb python-setuptools
pip install pycrypto
根据您的Xcode版本,您可能需要通过更改ARCHFLAGS来禁用ppc版本。
To search the pypi index, use pip search
and try some different keywords. 要搜索pypi索引,请使用
pip search
并尝试一些不同的关键字。 For example: 例如:
pip search crypto
and you'll find pycrypto
in the list. 你会在列表中找到
pycrypto
。
Then install it: 然后安装它:
pip install pycrypto
Or just search on http://pypi.python.org/pypi to find the desired package. 或者只是在http://pypi.python.org/pypi上搜索以找到所需的包。 Different platforms/package management systems may use different names and sometimes Google can help find the aliases.
不同的平台/包管理系统可能使用不同的名称,有时谷歌可以帮助找到别名。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.