Search - User list
Full Version: Help Installing kegbot
Root » General » Help Installing kegbot
1
bender
Hi guys, I'm new here and am running into some issues installing kegbot. I have tried on both Ubuntu and Fedora but am running into the same error.Can you take a look and let me know what I am missing. Do you recommend a different OS?
Thanks -Mike

[root@localhost ~]# pip install kegbot
Downloading/unpacking kegbot
Downloading kegbot-0.7.2.tar.gz (586Kb): 586Kb downloaded
Running setup.py egg_info for package kegbot
/usr/lib/python2.6/distutils/dist.py:266: UserWarning: Unknown distribution option: 'long_desscription'
warnings.warn(msg)
Downloading/unpacking django>=1.2 (from kegbot)
Downloading Django-1.2.1.tar.gz (6.2Mb): 6.2Mb downloaded
Running setup.py egg_info for package django
warning: no files found matching '*' under directory 'examples'
Downloading/unpacking django-imagekit>=0.3.3 (from kegbot)
Downloading django-imagekit-0.3.3.zip
Running setup.py egg_info for package django-imagekit
install_dir .
zip_safe flag not set; analyzing archive contents...

Installed /root/build/django-imagekit/setuptools_hg-0.2-py2.6.egg
Downloading/unpacking django-registration (from kegbot)
Downloading django-registration-0.7.tar.gz
Running setup.py egg_info for package django-registration
warning: no files found matching '*' under directory 'registration/bin'
Downloading/unpacking django-socialregistration (from kegbot)
Downloading django-socialregistration-0.4.2.tar.gz
Running setup.py egg_info for package django-socialregistration
Downloading/unpacking django-extensions (from kegbot)
Downloading django-extensions-0.5.tar.gz (104Kb): 104Kb downloaded
Running setup.py egg_info for package django-extensions
Downloading/unpacking MySQL-python (from kegbot)
Downloading MySQL-python-1.2.3.tar.gz (70Kb): 70Kb downloaded
Running setup.py egg_info for package MySQL-python
sh: mysql_config: command not found
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/root/build/MySQL-python/setup.py", line 15, 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 24, in mysql_config
raise EnvironmentError("%s not found" % (mysql_config.path,))
EnvironmentError: mysql_config not found
Complete output from command python setup.py egg_info:
sh: mysql_config: command not found

Traceback (most recent call last):

File "<string>", line 14, in <module>

File "/root/build/MySQL-python/setup.py", line 15, 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 24, in mysql_config

raise EnvironmentError("%s not found" % (mysql_config.path,))

EnvironmentError: mysql_config not found
mike
bender
Hi guys, I'm new here and am running into some issues installing kegbot. I have tried on both Ubuntu and Fedora but am running into the same error.Can you take a look and let me know what I am missing. Do you recommend a different OS?


It seems to be a common problem: http://stackoverflow.com/questions/1511661/virtualenv-mysql-python-pip-anyone-know-how

Because they are more complex than the average package, I would recommend using your OS's (rather than pip's) version for mysql-python and PIL. Try the following first:
sudo apt-get install python-mysqldb pythong-imaging


(I'll add this recommendation to the docs.)
bender
Mike thanks for the help. I got everything install (or so I think) this is the error I am getting when running and trying to access kegweb:


MacbokPro:bin Mike$ ./kegbot_admin.py runserver 0.0.0.0:8000
Validating models...
0 errors found

Django version 1.2.1, using settings 'pykeg.settings'
Development server is running at http://0.0.0.0:8000/
Quit the server with CONTROL-C.
Traceback (most recent call last):
File "/Library/Python/2.6/site-packages/Django-1.2.1-py2.6.egg/django/core/servers/basehttp.py", line 280, in run
self.result = application(self.environ, self.start_response)
File "/Library/Python/2.6/site-packages/Django-1.2.1-py2.6.egg/django/core/servers/basehttp.py", line 674, in __call__
return self.application(environ, start_response)
File "/Library/Python/2.6/site-packages/Django-1.2.1-py2.6.egg/django/core/handlers/wsgi.py", line 245, in __call__
response = middleware_method(request, response)
File "/Library/Python/2.6/site-packages/kegbot-0.7.2-py2.6.egg/pykeg/external/facebook/djangofb/__init__.py", line 245, in process_response
response.set_cookie(self.api_key + '_' + k, fb_cookies[k], expires=expire_time)
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
[24/Aug/2010 08:55:02] "GET / HTTP/1.1" 500 858
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB