First time here? Check out the FAQ!
0

Error: invalid command 'develop' when following github install instructions

Tried to follow the github install instructions (I'm not permitted to include the link to the http://askbot.org Install page, though so you'll have to find the resource for reference). When I run...

python setup.py develop

It responds as follows

$ python setup.py develop
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points'
  warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'include_package_data'
  warnings.warn(msg)
/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'install_requires'
  warnings.warn(msg)
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'develop'
cefn's avatar
1
cefn
asked 2014-02-18 08:54:12 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

On Ubuntu 13.10 I installed the package python-setuptools and this error went away, leaving instead an error that setup.py doesn't have enough permissions to install the relevant packages. I am now trying with sudo instead, which is downloading and installing needed packages and has got me to the point of offering a deploy script.

Looks like I might have needed python-pip to be installed to make dependency installation easier. Because I'm aiming to use Postresql, it asked for me to install psycopg2 using pip. Psycopg2 also needed the package postgresql-server-dev-9.1 to be installed on my system before it could build.

cefn's avatar
1
cefn
answered 2014-02-18 09:02:53 -0500, updated 2014-02-18 09:35:59 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments