尝试为特定的Python版本创建一个
Pipfile
,但是pipenv无法检测到已安装的Python版本。使用asdf来安装和管理Python版本。↪ python --version
Python 3.6.6
↪ pipenv --python 3.6.6
Warning: Python 3.6.6 was not found on your system…
You can specify specific versions of Python with:
$ pipenv --python path/to/python
↪ asdf current python
3.6.6 (set by /Users/dennis/some/project/.tool-versions)
pipenv --python 3.10.10
,我仍然会收到Warning: Your Pipfile requires python_version 3.11, but you are using 3.10.10
的警告。 - Nick K9Pipfile
,其中明确指定了与你使用asdf
设置的版本不同的python_version
要求? - undefinedPipfile
,其中明确指定了与你使用asdf
设置的版本不同的python_version
要求? - Dennis