I know a little of Python and more than a year ago I wrote a small script, using pipenv
to manage the dependencies.
The old platform was Windows 7, the current platform is Windows 10.
At that time I probably had Python 3.7 installed, now I have 3.8.3 but running:
pipenv install
Complained that:
Warning: Python 3.7 was not found on your system…
Neither 'pyenv' nor 'asdf' could be found to install Python.
You can specify specific versions of Python with:
$ pipenv --python path\to\python
This is the Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
python-ldap = {path = "./dependencies/python_ldap-3.1.0-cp37-cp37m-win_amd64.whl"}
requests = "~=2.0"
mysqlclient = "~=1.0"
[dev-packages]
[requires]
python_version = "3.7"
I manually edited that last line to allow 3.8, but how do I properly fix that?
I think 3.7 should be a minimum requirement — well, the script is so simple that I think even 3.0 should work.
I know a litte of Python and more that a year ago I wrote a small script, using pipenv
to manage the dependencies.
Old platform was Windows 7, current platform is Windows 10.
At that time I probably had Pyhton 3.7 installed, now I have 3.8.3 but running:
pipenv install
Complained that:
Warning: Python 3.7 was not found on your system…
Neither 'pyenv' nor 'asdf' could be found to install Python.
You can specify specific versions of Python with:
$ pipenv --python path\to\python
This is the Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
python-ldap = {path = "./dependencies/python_ldap-3.1.0-cp37-cp37m-win_amd64.whl"}
requests = "~=2.0"
mysqlclient = "~=1.0"
[dev-packages]
[requires]
python_version = "3.7"
I manually edited that last line to allow 3.8, but how do I properly fix that?
I think 3.7 should be a minimum requirement — well, the script is so simple that I think even 3.0 should work.
I know a litte of Python and more that a year ago I wrote a small script, using pipenv
to manage the dependencies.
Old platform was Windows 7, current platform is Windows 10.
At that time I probably had Pyhton 3.7 installed, now I have 3.8.3 but running:
pipenv install
Complained that:
Warning: Python 3.7 was not found on your system…
Neither 'pyenv' nor 'asdf' could be found to install Python.
You can specify specific versions of Python with:
$ pipenv --python path\to\python
This is the Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
python-ldap = {path = "./dependencies/python_ldap-3.1.0-cp37-cp37m-win_amd64.whl"}
requests = "~=2.0"
mysqlclient = "~=1.0"
[dev-packages]
[requires]
python_version = "3.7"
I manually edited that last line to allow 3.8, but how do I properly fix that?
I think 3.7 should be a minimum requirement — well, the script is so simple that I think even 3.0 should work.
I know a litte of Python and more that a year ago I wrote a small script, using pipenv
to manage the dependencies.
Old platform was Windows 7, current platform is Windows 10.
At that time I probably had Pyhton 3.7 installed, now I have 3.8.3 but running:
pipenv install
Complained that:
Warning: Python 3.7 was not found on your system…
Neither 'pyenv' nor 'asdf' could be found to install Python.
You can specify specific versions of Python with:
$ pipenv --python path\to\python
This is the Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
python-ldap = {path = "./dependencies/python_ldap-3.1.0-cp37-cp37m-win_amd64.whl"}
requests = "~=2.0"
mysqlclient = "~=1.0"
[dev-packages]
[requires]
python_version = "3.7"
I manually edited that last line to allow 3.8, but how do I properly fix that?
I think 3.7 should be a minimum requirement — well, the script is so simple that I think even 3.0 should work.
I know a litte of Python and more that a year ago I wrote a small script, using pipenv
to manage the dependencies.
Old platform was Windows 7, current platform is Windows 10.
At that time I probably had Pyhton 3.7 installed, now I have 3.8.3 but running:
pipenv install
Complained that:
Warning: Python 3.7 was not found on your system…
Neither 'pyenv' nor 'asdf' could be found to install Python.
You can specify specific versions of Python with:
$ pipenv --python path\to\python
This is the Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
python-ldap = {path = "./dependencies/python_ldap-3.1.0-cp37-cp37m-win_amd64.whl"}
requests = "~=2.0"
mysqlclient = "~=1.0"
[dev-packages]
[requires]
python_version = "3.7"
I manually edited that last line to allow 3.8, but how do I properly fix that?
I think 3.7 should be a minimum requirement — well, the script is so simple that I think even 3.0 should work.
I know a litte of Python and more that a year ago I wrote a small script, using pipenv
to manage the dependencies.
Old platform was Windows 7, current platform is Windows 10.
At that time I probably had Pyhton 3.7 installed, now I have 3.8.3 but running:
pipenv install
Complained that:
Warning: Python 3.7 was not found on your system…
Neither 'pyenv' nor 'asdf' could be found to install Python.
You can specify specific versions of Python with:
$ pipenv --python path\to\python
This is the Pipfile
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
python-ldap = {path = "./dependencies/python_ldap-3.1.0-cp37-cp37m-win_amd64.whl"}
requests = "~=2.0"
mysqlclient = "~=1.0"
[dev-packages]
[requires]
python_version = "3.7"
I manually edited that last line to allow 3.8, but how do I properly fix that?
I think 3.7 should be a minimum requirement — well, the script is so simple that I think even 3.0 should work.
If your python
command is Python 2.x, but you have a python3
command which runs Python 3.x, then you might just need to use the --python
option to tell pipenv
to use it:
$ pipenv install
Warning: Python >= 3.5 was not found on your system...
Neither 'pyenv' nor 'asdf' could be found to install Python.
You can specify specific versions of Python with:
$ pipenv --python path/to/python
$ pipenv --python `which python3` install
Creating a virtualenv for this project...
Install Relevant version
How to check Python Version
cmd any directory>Python -v
In My case they need Python 3.8.2 But i have Python 3.8.0 version installed Due this i could not able over come this error
Once i install exact version i can able to run command
I had a similar problem and it was solved by deleting the pipfile. The pipfile path is the path where you enter the pipenv install command in the terminal.
I meet the same problem when I move my old project to a new Laptop.
Warning: Python 3.7 was not found on your system...
Neither 'pyenv' nor 'asdf' could be found to install Python.
You can specify specific versions of Python with:
$ pipenv --python path/to/python
My way to solve the problem is simply delete the old Pipfile and input pipenv shell
in the terminal. Then it will build a new Pipfile and match your python as it should be.
You can install pyenv simply with
curl https://pyenv.run | bash
then, when you push new changes with amplify CLI, it will ask if you wish them to install the specific Python version with Pyenv. Confirm, and problem solved in a proper way:)
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.