Installation error

asked 2015-09-26 03:17:01 -0500

Hering's avatar

updated 2015-09-29 14:40:22 -0500

Hello again
I tried to install Askbot again on a fresh Ubuntu 14.04 LTS following this list of commands:

sudo su
mkdir /var/www/html/askbot-devel  
cd /var/www/html/askbot-devel  
git clone git://github.com/ASKBOT/askbot-devel.git .
virtualenv .
./bin/pip install --upgrade setuptools
./bin/pip install -r askbot_requirements_dev.txt
./bin/python setup.py install develop

Unfortunately the setup doesnt finish due to an error:

Using /var/www/html/askbot-devel/lib/python2.7/site-packages
Finished processing dependencies for askbot==0.7.53
running develop
error: can't create or remove files in install directory

The following error occurred while trying to add or remove files in the
installation directory:

    [Errno 2] No such file or directory: 'build/bdist.linux-x86_64/egg/test-easy-install-36074.write-test'

The installation directory you specified (via --install-dir, --prefix, or
the distutils default setting) was:

    build/bdist.linux-x86_64/egg

This directory does not currently exist.  Please create it and try again, or
choose a different installation directory (using the -d or --install-dir
option).

If I try to add --install-dir or --prefix I recieve the same error. Also if I create the folder manually and run the setup.py again it will just delete it and throw the same error again.

Is there any way to fix this?

edit retag flag offensive close merge delete