Answer the question
In order to leave comments, you need to log in
How to set up a mac for developing Django applications?
Good afternoon!
I’ve only been working with a MacBook for a couple of days, I really want to set up Django and all the components, but the first time it’s somehow hard!
Python, Mysql installed from the site without problems, now I'm trying to install mysql-python via pip, it gives an error:
Traceback (most recent call last):
File "<string>", line 17, in <module>
File "/private/tmp/pip_build_root/mysql-python/setup.py", line 17, in <module>
metadata, options = get_config()
File "setup_posix.py", line 43, in get_config
libs = mysql_config("libs_r")
File "setup_posix.py", line 25, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /private/tmp/pip_build_root/mysql-python
Storing debug log for failure in /Users/andrey/.pip/pip.log
Answer the question
In order to leave comments, you need to log in
stackoverflow.com/questions/25459386/mac-os-x-envi... -- have you looked?
do not torment Mac OS with this, install a virtual machine and run through it
I first set up this tutorial - hackercodex.com/guide/python-development-environme...
Yesterday I just treated the same thing with you.
vi ~/.bash_profile
export DYLD_LIBRARY_PATH=/usr/local/mysql/lib/
export PATH=$PATH:/usr/local/mysql/bin
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question