Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Data Science by (18.4k points)
edited by

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, not 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 can I properly fix that?

I think the 3.7 should be a minimum requirement — well, a script is so simple that I think even 3.0 should work.

1 Answer

0 votes
by (36.8k points)
edited by

You can download Python 3.7 from the official site

If you are a beginner and want to know more about Python the do check out the python for data science

1.2k questions

2.7k answers

501 comments

693 users

Browse Categories

...