Pipenv未从asdf获取Python版本

Pipenv未从asdf获取Python版本,python,pipenv,asdf-vm,Python,Pipenv,Asdf Vm,尝试为特定Python版本创建Pipfile,但pipenv无法检测到已安装的Python版本存在。用于安装和管理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/

尝试为特定Python版本创建
Pipfile
,但pipenv无法检测到已安装的Python版本存在。用于安装和管理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)

重新创建所需Python版本的垫片,然后重试

↪ asdf update

↪ asdf reshim python 3.6.6

↪ pipenv --python 3.6.6
Creating a virtualenv for this project…