Ask Your Question
0

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

asked 2014-02-18 08:54:12 -0600

cefn gravatar image

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'
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-02-18 09:02:53 -0600

cefn gravatar image

updated 2014-02-18 09:35:59 -0600

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2014-02-18 08:54:12 -0600

Seen: 1,062 times

Last updated: Feb 18 '14