Message414691
I created a virtual env on windows 11.
When I run pip install -r "..."
I get the error
```
C:\Users\dopry\src\Client\some.domain.com\django> pip install -r .\requirements_to_freeze.txt
Traceback (most recent call last):
File "C:\Users\dopry\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "C:\Users\dopry\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "C:\Users\dopry\src\Client\some.domain.com\django\venv310\Scripts\pip.exe\__main__.py", line 4, in <module>
ModuleNotFoundError: No module named 'pip'
```
When I run get command to verify that the venv is activated I get
```
(venv310) PS C:\Users\dopry\src\Client\some.domain.com\django> Get-Command python
CommandType Name Version Source
----------- ---- ------- ------
Application python.exe 3.10.21... C:\Users\dopry\src\Client\some.domain.com\django\venv310\Scripts\python.exe
```
When I update the `venv310\pyenv.cfg` and set `include-system-site-packages = true` to true, it was defaulted to false, it seems that I can pip install my requirements successfully.
When I try to start my app though, the requirements are not found. |
|
Date |
User |
Action |
Args |
2022-03-07 18:28:51 | darrel.opry | set | recipients:
+ darrel.opry, paul.moore, tim.golden, zach.ware, steve.dower |
2022-03-07 18:28:51 | darrel.opry | set | messageid: <1646677731.73.0.904643383001.issue46950@roundup.psfhosted.org> |
2022-03-07 18:28:51 | darrel.opry | link | issue46950 messages |
2022-03-07 18:28:51 | darrel.opry | create | |
|