Command poetry env use get error on windows 10
See original GitHub issuepython 3.9.1 poetry 1.1.4
PS C:\Users\jw_wi\OneDrive\Desktop\primeiro programa> poetry env use 3.9 Creating virtualenv primeiro_programa-rBrVYlXr-py3.9 in C:\Users\jw_wi\AppData\Local\pypoetry\Cache\virtualenvs
EnvCommandError
Command C:\Users\jw_wi\AppData\Local\pypoetry\Cache\virtualenvs\primeiro_programa-rBrVYlXr-py3.9\Scripts\python.exe - errored with the following return code 1, and output: O sistema nÆo pode encontrar o caminho especificado. input was : import sys
if hasattr(sys, “real_prefix”): print(sys.real_prefix) elif hasattr(sys, “base_prefix”): print(sys.base_prefix) else: print(sys.prefix)
at ~.poetry\lib\poetry\utils\env.py:1074 in _run 1070│ output = subprocess.check_output( _) 1075│ 1076│ return decode(output) 1077│ 1078│ def execute(self, bin, *args, **kwargs):
- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
- OS version and name:
- Poetry version:
- Link of a Gist with the contents of your pyproject.toml file:
Issue
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:7 (1 by maintainers)
Tried fresh install many times and getting same error on Windows 10.
Closing for now as this has changed significantly with 1.2. If you run into this and can reproduce it, please open an issue with detailed information on OS version, Python version, install method, and anything else that makes your configuration unique.