You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ pipenv install --dev -v
...
Traceback (most recent call last):
File "/Users/tom/.pyenv/versions/3.10.5/lib/python3.10/site-packages/pipenv/resolver.py", line 854, in<module>main()
File "/Users/tom/.pyenv/versions/3.10.5/lib/python3.10/site-packages/pipenv/resolver.py", line 840, in main
_main(
File "/Users/tom/.pyenv/versions/3.10.5/lib/python3.10/site-packages/pipenv/resolver.py", line 820, in _main
resolve_packages(
File "/Users/tom/.pyenv/versions/3.10.5/lib/python3.10/site-packages/pipenv/resolver.py", line 769, in resolve_packages
results, resolver = resolve(
File "/Users/tom/.pyenv/versions/3.10.5/lib/python3.10/site-packages/pipenv/resolver.py", line 749, in resolve
return resolve_deps(
File "/Users/tom/.pyenv/versions/3.10.5/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 1080, in resolve_deps
results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
File "/Users/tom/.pyenv/versions/3.10.5/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 875, in actually_resolve_deps
hashes = resolver.resolve_hashes()
File "/Users/tom/.pyenv/versions/3.10.5/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 782, in resolve_hashes
self.hashes[ireq] = self.collect_hashes(ireq)
File "/Users/tom/.pyenv/versions/3.10.5/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 762, in collect_hashes
hashes = self._get_hashes_from_pypi(ireq)
File "/Users/tom/.pyenv/versions/3.10.5/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 740, in _get_hashes_from_pypi
click.style("Warning", bold=True, fg="Red"), ireq.name
File "/Users/tom/.pyenv/versions/3.10.5/lib/python3.10/site-packages/pipenv/vendor/click/termui.py", line 586, in style
raise TypeError(f"Unknown color {fg!r}") from None
TypeError: Unknown color 'Red'
✘ Locking Failed!
Issue description
After upgrade to the latest version
2022.7.24
, runpipenv --dev -v
occurs TypeError: Unknown color 'Red' error.-v
flag.2022.7.4
.Steps to replicate
My Pipfile
Command
$ pipenv --support
Pipenv version:
'2022.7.24'
Pipenv location:
'/usr/local/lib/python3.10/site-packages/pipenv'
Python location:
'/usr/local/bin/python3'
Python installations found:
3.10.5
:/usr/local/bin/python
3.10.5
:/usr/local/bin/python3
PEP 508 Information:
System environment variables:
HOSTNAME
PYTHON_VERSION
PWD
PYTHON_SETUPTOOLS_VERSION
HOME
LANG
GPG_KEY
TERM
SHLVL
PYTHON_PIP_VERSION
PYTHON_GET_PIP_SHA256
PYTHON_GET_PIP_URL
PATH
_
PIP_SHIMS_BASE_MODULE
PIP_DISABLE_PIP_VERSION_CHECK
PIP_PYTHON_PATH
PYTHONDONTWRITEBYTECODE
PYTHONFINDER_IGNORE_UNSUPPORTED
Pipenv–specific environment variables:
Debug–specific environment variables:
PATH
:/usr/local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
LANG
:C.UTF-8
PWD
:/
Contents of
Pipfile
('/Pipfile'):The text was updated successfully, but these errors were encountered: