-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install borks at: "python setup.py egg_info did not run successfully." #103
Comments
In the future, when making use of open source projects, might I suggest that you at least make an attempt at solving issues yourself before asking the project maintainers for help? This is clearly an issue with your local python environment, which you could have found a solution to in about 10 seconds by googling the error message. In case you're new to this, here's an excerpt I found about open source etiquette:
|
Sorry Tim, my bad. Thanks for the info. |
Unable to get this to install properly on Ubuntu 22.05 getting the following error:
`Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [41 lines of output]
running egg_info
creating /tmp/pip-pip-egg-info-a_5f4ser/ratelimit.egg-info
writing /tmp/pip-pip-egg-info-a_5f4ser/ratelimit.egg-info/PKG-INFO
writing dependency_links to /tmp/pip-pip-egg-info-a_5f4ser/ratelimit.egg-info/dependency_links.txt
writing top-level names to /tmp/pip-pip-egg-info-a_5f4ser/ratelimit.egg-info/top_level.txt
writing manifest file '/tmp/pip-pip-egg-info-a_5f4ser/ratelimit.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-pip-egg-info-a_5f4ser/ratelimit.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE.txt'
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "/tmp/pip-install-1usau_h6/ratelimit_ed6c80dc89634660853dc9e882d0f763/setup.py", line 10, in
setup(
File "/usr/local/lib/python3.10/dist-packages/setuptools/init.py", line 117, in setup
return distutils.core.setup(**attrs)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/core.py", line 183, in setup
return run_commands(dist)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/core.py", line 199, in run_commands
dist.run_commands()
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 954, in run_commands
self.run_command(cmd)
File "/usr/local/lib/python3.10/dist-packages/setuptools/dist.py", line 995, in run_command
super().run_command(command)
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/dist.py", line 973, in run_command
cmd_obj.run()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/egg_info.py", line 313, in run
self.find_sources()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/egg_info.py", line 321, in find_sources
mm.run()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/egg_info.py", line 549, in run
self.prune_file_list()
File "/usr/local/lib/python3.10/dist-packages/setuptools/command/sdist.py", line 162, in prune_file_list
super().prune_file_list()
File "/usr/local/lib/python3.10/dist-packages/setuptools/_distutils/command/sdist.py", line 380, in prune_file_list
base_dir = self.distribution.get_fullname()
File "/usr/local/lib/python3.10/dist-packages/setuptools/_core_metadata.py", line 267, in get_fullname
return _distribution_fullname(self.get_name(), self.get_version())
File "/usr/local/lib/python3.10/dist-packages/setuptools/_core_metadata.py", line 285, in _distribution_fullname
canonicalize_version(version, strip_trailing_zero=False),
TypeError: canonicalize_version() got an unexpected keyword argument 'strip_trailing_zero'
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.`
Any suggestions as to how I can fix this?
The text was updated successfully, but these errors were encountered: