I am trying to install a django project on OS X. The instructions are written for Ubuntu and there is a list of dependencies. Some I have found on PIP, others I have not.
apt get install python-crypto
How can I find this same package(s) on PIP? If not on PIP, will I have to find their source and compile them on 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开发者_C百科
pip install pycrypto
Depending on your Xcode version you may need to disable the ppc version by changing your ARCHFLAGS.
To search the pypi index, use pip search
and try some different keywords. For example:
pip search crypto
and you'll find pycrypto
in the list.
Then install it:
pip install pycrypto
Or just search on http://pypi.python.org/pypi to find the desired package. Different platforms/package management systems may use different names and sometimes Google can help find the aliases.
精彩评论