brew install python
which python
wget https://bootstrap.pypa.io/get-pip.py
sudo python get-pip.py
Exception: Traceback (most recent call last): ... OSError: [Errno 13] Permission denied: 'XXX/pip-0.7.2-py2.7.egg/EGG-INFO/dependency_links.txt' Storing debug log for failure in /Users/bilt/.pip/pip.log
cd ~
mkdir .pip
touch pip.conf
[global] index-url = http://pypi.v2ex.com/simple
File "/Library/Python/2.7/site-packages/PIL/Image.py", line 1105, in paste
im.load()
File "/Library/Python/2.7/site-packages/PIL/ImageFile.py", line 190, in load
d = Image._getdecoder(self.mode, d, a, self.decoderconfig)
File "/Library/Python/2.7/site-packages/PIL/Image.py", line 389, in _getdecoder
raise IOError("decoder %s not available" % decoder_name)
IOError: decoder zip not available
sudo pip install -U Pillow
sh: mysql_config: command not found
mysql_config.path = "mysql_config"
mysql_config.path = "/usr/local/mysql/bin/mysql_config"
sudo python setup.py install
>>> import MySQLdb
Traceback (most recent call last): File "<stdin>", line 1, in <module> File "MySQLdb/__init__.py", line 19, in </module><module> import _mysql ImportError: dlopen(/Library/Python/2.7/site-packages/MySQL_python-1.2.4b4-py2.7-macosx-10.8-intel.egg/_mysql.so, 2): Library not loaded: libmysqlclient.18.dylib Referenced from: /Library/Python/2.7/site-packages/MySQL_python-1.2.4b4-py2.7-macosx-10.8-intel.egg/_mysql.so Reason: image not found
sudo ln -s /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib
机械节能产品生产企业官网模板...
大气智能家居家具装修装饰类企业通用网站模板...
礼品公司网站模板
宽屏简约大气婚纱摄影影楼模板...
蓝白WAP手机综合医院类整站源码(独立后台)...苏ICP备2024110244号-2 苏公网安备32050702011978号 增值电信业务经营许可证编号:苏B2-20251499 | Copyright 2018 - 2025 源码网商城 (www.ymwmall.com) 版权所有