-
-
Couldn't load subscription status.
- Fork 33.3k
Description
I used python version 3.9.2 on Windows and wanted to use venv in kivy program. But after python -m venv venv was input in terminal, virtual environment turned out to be void of its own pip and instead inherits pip from global environment. That makes each package installed using pip stays in global. thus I have to force --target argument when using pip each time.
What effort I made so far as follows:
I found that every virtual environment now created by command python -m venv venv, In its local file path venv\scripts, there is no pip.exe. I tried to repair and reinstall Python, then I used
python -m pip install -U --force-reinstall pip to update pip to the lasted version, All was in vain.
I have not met such condition before and my one-years-ago tiny demo using virtual environment indeed contains local pip.
Any help would be apperaciated.