- python 3.4
- django 1.7
- mysql 5.x
http://novafactory.net/archives/tag/python3-4
claztec:~ claztec$ pip3.4 install virtualenv
Downloading/unpacking virtualenv
Downloading virtualenv-1.11.6-py2.py3-none-any.whl (1.6MB): 1.6MB downloaded
Installing collected packages: virtualenv
Successfully installed virtualenv
Cleaning up...
claztec:~ claztec$
claztec:Documents claztec$ mkdir hurry
claztec:Documents claztec$ cd hurry/
claztec:hurry claztec$ virtualenv-3.4
-bash: virtualenv-3.4: command not found
claztec:hurry claztec$ virtualenv venv
Using base prefix '/Library/Frameworks/Python.framework/Versions/3.4'
New python executable in venv/bin/python3.4
Also creating executable in venv/bin/python
Installing setuptools, pip...done.
claztec:hurry claztec$pip install MySQL-python
mysql_config must be on the path. On Mac, do
export PATH=$PATH:/usr/local/mysql/bin/
sudo pip install MySQL-python
python manage.py syncdb 에러 발생시. http://www.curlybrace.com/words/2011/01/25/mac-os-mysql-python-1-2-3-importerror-library-not-loaded-libmysqlclient-16-dylib/