Error running setup.py on Pycharm

Asked

Viewed 67 times

1

Hello, every time I try to run a file setup.py find the following error:

    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: no commands supplied

I’ve tried to install

   python setup.py install 

and

python setup.py build

How can I solve this problem?

  • This return even when you set "install" or "build"?

  • Yes, I define and return the message. I checked the versions of Python and the files and they are all correct too

  • Is some specific module you are trying to install?

  • There are several, the last used was a try:
 from setuptools import setup
 extra = dict(test_suite="tests.test.suite", include_package_data=True)
except ImportError:
 from distutils.core import setup
 extra = {}

import sys

  • I’ve tried to import one from Bovespa too

  • 1

    Strange. Can you link an example of the module you tried to install and describe all the steps? If it is possible prints or gif of the screen would even be cool.

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.