Install now results in 'No matching distribution found for pyCLI==2.0.3'
See original GitHub issueI’ve been using bashhub for a while (Thanks! by the way), and had a reason to reinstall it.
Unfortunately, now I’m getting a weird error upon install:
> curl -OL https://bashhub.com/setup && bash setup
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8783 100 8783 0 0 39754 0 --:--:-- --:--:-- --:--:-- 41823
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 122 100 122 0 0 1073 0 --:--:-- --:--:-- --:--:-- 1184
100 282 100 282 0 0 1403 0 --:--:-- --:--:-- --:--:-- 1403
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 5001k 100 5001k 0 0 3223k 0 0:00:01 0:00:01 --:--:-- 4368k
Using Python path /Users/ftod/.pyenv/shims/python3.8
Using base prefix '/Users/ftod/.pyenv/versions/3.8.2'
New python executable in /Users/ftod/.bashhub/env/bin/python3.8
Also creating executable in /Users/ftod/.bashhub/env/bin/python
Installing setuptools, pip, wheel...
done.
Pulling down bashhub-client from 2.1.3 branch
Pulling down a few dependencies...(this may take a moment)
ERROR: Command errored out with exit status 1:
command: /Users/ftod/.bashhub/env/bin/python3.8 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/_c/s2n0864j077cpl86rfz3gbc80000gp/T/pip-install-8y2kkf8j/pycli_0eb3c03f54424b80bc0a337794a84c2e/setup.py'"'"'; __file__='"'"'/private/var/folders/_c/s2n0864j077cpl86rfz3gbc80000gp/T/pip-install-8y2kkf8j/pycli_0eb3c03f54424b80bc0a337794a84c2e/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/_c/s2n0864j077cpl86rfz3gbc80000gp/T/pip-pip-egg-info-uqgsh76g
cwd: /private/var/folders/_c/s2n0864j077cpl86rfz3gbc80000gp/T/pip-install-8y2kkf8j/pycli_0eb3c03f54424b80bc0a337794a84c2e/
Complete output (36 lines):
running egg_info
creating /private/var/folders/_c/s2n0864j077cpl86rfz3gbc80000gp/T/pip-pip-egg-info-uqgsh76g/pyCLI.egg-info
writing /private/var/folders/_c/s2n0864j077cpl86rfz3gbc80000gp/T/pip-pip-egg-info-uqgsh76g/pyCLI.egg-info/PKG-INFO
writing dependency_links to /private/var/folders/_c/s2n0864j077cpl86rfz3gbc80000gp/T/pip-pip-egg-info-uqgsh76g/pyCLI.egg-info/dependency_links.txt
writing entry points to /private/var/folders/_c/s2n0864j077cpl86rfz3gbc80000gp/T/pip-pip-egg-info-uqgsh76g/pyCLI.egg-info/entry_points.txt
writing top-level names to /private/var/folders/_c/s2n0864j077cpl86rfz3gbc80000gp/T/pip-pip-egg-info-uqgsh76g/pyCLI.egg-info/top_level.txt
writing manifest file '/private/var/folders/_c/s2n0864j077cpl86rfz3gbc80000gp/T/pip-pip-egg-info-uqgsh76g/pyCLI.egg-info/SOURCES.txt'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/private/var/folders/_c/s2n0864j077cpl86rfz3gbc80000gp/T/pip-install-8y2kkf8j/pycli_0eb3c03f54424b80bc0a337794a84c2e/setup.py", line 43, in <module>
setup(**setup_options)
File "/Users/ftod/.bashhub/env/lib/python3.8/site-packages/setuptools/__init__.py", line 159, in setup
return distutils.core.setup(**attrs)
File "/Users/ftod/.pyenv/versions/3.8.2/lib/python3.8/distutils/core.py", line 148, in setup
dist.run_commands()
File "/Users/ftod/.pyenv/versions/3.8.2/lib/python3.8/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
File "/Users/ftod/.pyenv/versions/3.8.2/lib/python3.8/distutils/dist.py", line 985, in run_command
cmd_obj.run()
File "/Users/ftod/.bashhub/env/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 299, in run
self.find_sources()
File "/Users/ftod/.bashhub/env/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 306, in find_sources
mm.run()
File "/Users/ftod/.bashhub/env/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 541, in run
self.add_defaults()
File "/Users/ftod/.bashhub/env/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 578, in add_defaults
sdist.add_defaults(self)
File "/Users/ftod/.pyenv/versions/3.8.2/lib/python3.8/distutils/command/sdist.py", line 226, in add_defaults
self._add_defaults_python()
File "/Users/ftod/.bashhub/env/lib/python3.8/site-packages/setuptools/command/sdist.py", line 113, in _add_defaults_python
self._add_data_files(self._safe_data_files(build_py))
File "/Users/ftod/.bashhub/env/lib/python3.8/site-packages/setuptools/command/egg_info.py", line 621, in _safe_data_files
return build_py.get_data_files_without_manifest()
File "/Users/ftod/.pyenv/versions/3.8.2/lib/python3.8/distutils/cmd.py", line 103, in __getattr__
raise AttributeError(attr)
AttributeError: get_data_files_without_manifest
----------------------------------------
ERROR: Could not find a version that satisfies the requirement pyCLI==2.0.3 (from bashhub) (from versions: devel, 0.2, 0.3.3, 0.3.4, 1.0, 1.0.1, 1.0.2, 1.0.3, 1.0.4, 1.1.0, 1.1.1, 2.0.0, 2.0.1, 2.0.2, 2.0.3)
ERROR: No matching distribution found for pyCLI==2.0.3
What’s weird to me is that it complains it can’t find v2.0.3 from a list that includes v2.0.3!
Btw this is on a Mac running Monterey v12.0.1. And I tested on Big Sur as well. Same issue.
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
No matching distribution found for <package> [duplicate]
Do this steps to solve this error, it's worked in my case. python3 -m ensurepip --upgrade; check python module name on PyPI and...
Read more >No matching distribution found for pytorch3d · Issue #1186
I have been using this command to pip install pytorch3d for a while and it always worked until now: pip install --no-index --no-cache-dir ......
Read more >Getting Error while running pip install -r requirements.txt after ...
The course has been tested with Python 3.8 and this error usually happens when using an earlier/later version since the package gets deprecated ......
Read more >Fix ERROR No matching distribution found for tensorflow
Fix ERROR No matching distribution found for tensorflowpython pip install tensorflowERROR: Could not find a version that satisfies the ...
Read more >Installation issue - D-Wave Systems
No matching distribution found for ortools<7.0.0,>=6.6.4659 (from penaltymodel-mip<0.3.0,>=0.2.0; extra == "mip"->dwavebinarycsp[mip]<0.1.0 ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I got Bashhub working by creating my own pyenv environment and installing via the git repo.
Glad you found a work around @proinsias! I’ll start to consider more options for updating the client to avoid potential install problems going forward.