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'

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
cefn's avatar
1
cefn
asked 11 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
cefn's avatar
1
cefn
answered 11 years ago, updated 11 years ago
link

Comments

see more comments