Hey Guys
I am getting error messages when trying to install baruwa 2 onto Ubuntu
12.04Lts and this is the error messages I get:
px/lib/python2.7/site-packages/sphixapi.py: No such file or directory
when I try to do: Install the sphinx search api module:
curl https://sphinxsearch.googlecode.com/svn/trunk/api/sphinxapi.py -o
\
px/lib/python2.6/site-packages/sphinxapi.py
I switched the python2.6 to python2.7 to match what it was listed on my
server. I get the error code:
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left
Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:--
--:--:-- 0Warning: Failed to create the file
Warning: px/lib/python2.7/site-packages/sphixapi.py: No such file or
directory
3 30997 3 1014 0 0 1337 0 0:00:23 --:--:--
0:00:23 4278
curl: (23) Failed writing body (0 != 1014)
then I get error message when I try to do: paster make-config baruwa
production.ini and I get this:
paster make-config baruwa production.ini
Must install baruwa
Searching for baruwa
Best match: baruwa 2.0.0
Processing baruwa-2.0.0-py2.7.egg
Installing import-mbox.py script to /usr/local/bin
Installing test-smtpauth.py script to /usr/local/bin
Installing eximqf2mbox.py script to /usr/local/bin
Using /usr/local/lib/python2.7/dist-packages/baruwa-2.0.0-py2.7.egg
Because this distribution was installed --multi-version, before you can
import modules from this package in an application, you will need to
'import pkg_resources' and then use a 'require()' call similar to one
of
these examples, in order to select the desired version:
pkg_resources.require("baruwa") # latest installed version
pkg_resources.require("baruwa==2.0.0") # this exact version
pkg_resources.require("baruwa>=2.0.0") # this version or higher
Processing dependencies for baruwa
Searching for mysql-python
Reading http://pypi.python.org/simple/mysql-python/
Reading http://sourceforge.net/projects/mysql-python
Reading https://github.com/farcepest/MySQLdb1
Best match: MySQL-python 1.2.4
Downloading
http://pypi.python.org/packages/source/M/MySQL-python/MySQL-python-1.2.4.zip#md5=ddf2386daf10a97af115ffad2ed4a9a0
Processing MySQL-python-1.2.4.zip
Running MySQL-python-1.2.4/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-963t4w/MySQL-python-1.2.4/egg-dist-tmp-zokpsP
The required version of distribute (>=0.6.28) is not available,
and can't be installed while this script is running. Please
install a more recent version first, using
'easy_install -U distribute'.
(Currently using distribute 0.6.24dev-r0
(/usr/lib/python2.7/dist-packages))
error: Setup script exited with
So I did this:
easy_install -U distribute
Searching for distribute
Reading http://pypi.python.org/simple/distribute/
Reading http://packages.python.org/distribute
Best match: distribute 0.6.34
Processing distribute-0.6.34-py2.7.egg
distribute 0.6.34 is already the active version in easy-install.pth
Installing easy_install script to /home/baruwa/px/bin
Installing easy_install-2.7 script to /home/baruwa/px/bin
Using
/home/baruwa/px/lib/python2.7/site-packages/distribute-0.6.34-py2.7.egg
Processing dependencies for distribute
Finished processing dependencies for distribute
what do I do next?
_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056