You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
on installing poetry it worked for a second... and then it didn't. using python 3.13. windows 11.
At first it gives output:
C:\Users\mofog\AppData\Roaming\pypoetry\venv\Lib\site-packages>poetry
Poetry (version 2.1.1)
...
\poetry --version
Poetry (version 2.1.1)
then it just breaks a few commands later in the same session.
The latest version (2.1.1) is already installed.
PS C:\Users\redacted\AppData\Roaming\pypoetry\venv\Lib\site-packages> poetry --version
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\mofog\AppData\Roaming\Python\Scripts\poetry.exe_main.py", line 4, in
tried adding to Pycharm through local interpreter.
adding through pip gave an inability error.
adding through explicit path to poetry.exe gave error:
ModuleNotFoundError: No module named 'poetry
i'm sorry but I'm incredibly frustrated with poetry and i have to use it for work.
Workarounds
no.
Poetry Installation Method
other
Operating System
windows 11
Poetry Version
2.1.1
Poetry Configuration
poetry config --list
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "C:\Users\mofog\AppData\Roaming\Python\Scripts\poetry.exe\__main__.py", line 4, in<module>
from poetry.console.application import main
ModuleNotFoundError: No module named 'poetry'
Python Sysconfig
sysconfig.log
Paste the output of 'python -m sysconfig', over this line.
Example pyproject.toml
Poetry Runtime Logs
poetry -vvv config --list
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\mofog\AppData\Roaming\Python\Scripts\poetry.exe_main.py", line 4, in
from poetry.console.application import main
ModuleNotFoundError: No module named 'poetry'
The text was updated successfully, but these errors were encountered:
thanks for the links. they were insightful.
my poetry did install into Roaming not LocalApp.
I used python from python.org, not Microsoft store. Its installation is in C:...\AppData\Local\Programs\Python\Python313
Pycharm's local interpreter setting has Poetry as an option, but gave the error above, (ModuleNotFoundError: No module named 'poetry')
it does all seem to be an environment variable issue or poetry location issue.
where is poetry 'supposed' to be installed?
Description
on installing poetry it worked for a second... and then it didn't. using python 3.13. windows 11.
At first it gives output:
C:\Users\mofog\AppData\Roaming\pypoetry\venv\Lib\site-packages>poetry
Poetry (version 2.1.1)
...
\poetry --version
Poetry (version 2.1.1)
then it just breaks a few commands later in the same session.
The latest version (2.1.1) is already installed.
PS C:\Users\redacted\AppData\Roaming\pypoetry\venv\Lib\site-packages> poetry --version
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\mofog\AppData\Roaming\Python\Scripts\poetry.exe_main.py", line 4, in
tried adding to Pycharm through local interpreter.
adding through pip gave an inability error.
adding through explicit path to poetry.exe gave error:
ModuleNotFoundError: No module named 'poetry
i'm sorry but I'm incredibly frustrated with poetry and i have to use it for work.
Workarounds
no.
Poetry Installation Method
other
Operating System
windows 11
Poetry Version
2.1.1
Poetry Configuration
Python Sysconfig
sysconfig.log
Example pyproject.toml
Poetry Runtime Logs
poetry -vvv config --list
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Users\mofog\AppData\Roaming\Python\Scripts\poetry.exe_main.py", line 4, in
from poetry.console.application import main
ModuleNotFoundError: No module named 'poetry'
The text was updated successfully, but these errors were encountered: