Den*_*nis 4 python pipenv asdf-vm
尝试Pipfile为特定的 Python 版本创建一个,但 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)
Run Code Online (Sandbox Code Playgroud)
为所需的 Python 版本重新创建垫片,然后重试。
? asdf update
? asdf reshim python 3.6.6
? pipenv --python 3.6.6
Creating a virtualenv for this project…
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1440 次 |
| 最近记录: |