Can pipenv find Pythons on Windows?
See original GitHub issueUsing 7.2.1 and this Pipfile:
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
[requires]
python_version = "3.6"
[packages]
testpackage = "*"
Installation with a full Python path works:
$ pipenv install --python=C:\\Python36\\python.exe
Creating a virtualenv for this project…
Using C:\Python36\python.exe to create virtualenv…
Running virtualenv with interpreter C:\Python36\python.exe
Using base prefix 'C:\\Python36'
New python executable in C:\projects\template-python-demo\.venv\Scripts\python.exe
Installing setuptools, pip, wheel...done.
But pipenv is unable to locate Python otherwise despite it being installed in the normal location (on AppVeyor):
$ pipenv install
Warning: Python 3.6 was not found on your system…
You can specify specific versions of Python with:
$ pipenv --python path\to\python
Is pipenv able to locate Pythons on Windows? Having this feature work would mean that build scripts no longer need to workaround the Windows case and can get rid of hardcoded paths. 🎉
Issue Analytics
- State:
- Created 6 years ago
- Comments:27 (23 by maintainers)
Top Results From Across the Web
How to Use Python Pipenv in Mac and Windows - Thinkdiff
In this post we will discuss how to install and use pipenv in mac and windows.
Read more >How To Install pipenv Tool on Windows - Python Tutorial
Before installing the pipenv tool, you need to have Python and pip installed on your computer. First, open the Command Prompt or Windows...
Read more >How can I know which python a pipenv venv is using?
@Overdrivr yes but pipenv is installed in the scripts folder of the original python.exe you just have to navigate the python installation. – ......
Read more >Configure a Pipenv environment | PyCharm Documentation
Pipenv is a tool that provides all necessary means to create a virtual environment for your Python project. It automatically manages project packages ......
Read more >Pipenv & Virtual Environments
On Windows you can find the user base binary directory by running py -m site --user-site and replacing site-packages with Scripts . For...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm that pipenv==7.2.8 is finding Python correctly. Thanks!
it does.