question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Command poetry env use get error on windows 10

See original GitHub issue

python 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:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
BrieoRobinocommented, Jan 6, 2021

Tried fresh install many times and getting same error on Windows 10.

0reactions
neersightedcommented, Sep 24, 2022

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.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure a Poetry environment | PyCharm Documentation
Install Poetry . Open Terminal (on macOS and Linux) or PowerShell (on Windows) and execute the following command: macOS. Windows.
Read more >
Introduction | Documentation | Poetry - Python dependency ...
Introduction Poetry is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project depends on...
Read more >
1 - Stack Overflow
I use Windows 10, python 3.9.7 and I tried to install poetry. I followed this tutorial. The installation process is good but then...
Read more >
Python Poetry tutorial: How to use Python Poetry - YouTube
This short Python Poetry tutorial is about installation Poetry on Ubuntu-based Linux distribution, how to create a Python project with ...
Read more >
Python Virtual Environments tutorial using Virtualenv and Poetry
Python Virtual Environments tutorial using Virtualenv and Poetry ... Note: if you're on Windows and using Command Line Prompt, use double ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found