When I try to run setup.py give this error.
C:\chatbot\python-telegram-bot\python-telegram-bot>python setup.py
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
C:\chatbot\python-telegram-bot\python-telegram-bot>
How to Fix this issue ?
Related
When i am executing this code
`
from setuptools import setup, find_packages
from pathlib import Path
this_directory = Path(__file__).parent
long_description = (this_directory / "C:/Users/DELL/Downloads/cashflower-main/README.md").read_text()
setup(
author="Zuzanna Chmielewska",
description="Framework for actuarial cash flow models",
include_package_data=True,
long_description=long_description,
long_description_content_type="text/markdown",
name="tutorials",
packages=find_packages(include=["tutorials", "tutorials.*"]),
)
i am getting the error ......
Exception has occurred: SystemExit
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
distutils.errors.DistutilsArgError: no commands supplied
During handling of the above exception, another exception occurred:
File "C:\Users\DELL\Downloads\cashflower-main\tutorials\setup.py", line 8, in <module>
setup(
SystemExit: 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
how can i resolve the error in setup.py
I'm trying to run this "imagen-pytorch" repo https://github.com/lucidrains/imagen-pytorch/blob/main/README.md
I've cloned it and tried running the setup.py file on pycharm (CE) however I get the following error:
$ python setup.py
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
There are no further instructions on the README.md file. Please can you explain where I am going wrong?
You have to run with some command.
The most popular are
python setup.py build
python setup.py install
You need them to install module.
You can see other commands using
python setup.py --help-commands
Maybe they forgot to show this information because other modules on GitHub already show it ;)
I try to install pywebview but it just gives me a long error: ERROR: Command errored out with exit status 1:
in general, I'm trying to find a way to wrap a website in a GUI but that I can modify the screen size and cut areas of the webpage(hiding the search bar for example)
update :
using pip install
windows 10 env,
error message -
Complete output (6 lines):
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: option --single-version-externally-managed not recognized
I'm getting a weird error after running
$ pip install mysql-python
Has anyone seen an error like this with "egg_info" being invalid?
I'm running OSX mountain lion
Downloading/unpacking MySQL-python
Using download cache from /Users/Marcus/.pip/cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2FM%2FMySQL-python%2FMySQL-python-1.2.4.zip
Running setup.py egg_info for package MySQL-python
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz
Extracting in /var/folders/ss/nxvs3w690xqbpvr_l0v31mrw0000gn/T/tmpg_MvY6
Now working in /var/folders/ss/nxvs3w690xqbpvr_l0v31mrw0000gn/T/tmpg_MvY6/distribute-0.6.28
Building a Distribute egg in /Users/Marcus/sites/venv/build/MySQL-python
/Users/Marcus/sites/venv/build/MySQL-python/distribute-0.6.28-py2.7.egg
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'egg_info'
Complete output from command python setup.py egg_info:
Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.28.tar.gz
Extracting in /var/folders/ss/nxvs3w690xqbpvr_l0v31mrw0000gn/T/tmpg_MvY6
Now working in /var/folders/ss/nxvs3w690xqbpvr_l0v31mrw0000gn/T/tmpg_MvY6/distribute-0.6.28
Building a Distribute egg in /Users/Marcus/sites/venv/build/MySQL-python
/Users/Marcus/sites/venv/build/MySQL-python/distribute-0.6.28-py2.7.egg
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'egg_info'
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in /Users/Marcus/sites/venv/build/MySQL-python
Storing complete log in /Users/Marcus/.pip/pip.log
Thanks
--- I'm getting this same error when I run
$ pip install django
You need distribute package which is now inside setuptools:
pip install --upgrade setuptools
I am trying to instal the python version of openGL on my mac. When I use the command given by the site pip install PyOpenGL PyOpenGL_accelerate I get:
Downloading/unpacking PyOpenGL
Downloading PyOpenGL-3.1.0a3.tar.gz (939kB): 939kB downloaded
Running setup.py egg_info for package PyOpenGL
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'egg_info'
Complete output from command python setup.py egg_info:
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: -c --help [cmd1 cmd2 ...]
or: -c --help-commands
or: -c cmd --help
error: invalid command 'egg_info'
----------------------------------------
Command python setup.py egg_info failed with error code 1 in /private/var/folders/2m/chhqrrdn6698hyx3mt1gtcg00000gp/T/pip-build-lego90511/PyOpenGL
Storing complete log in /Users/lego90511/Library/Logs/pip.log
After some searching, most people tend to be missing some utility or another, but it is never the same thing. So what am I missing?