Open codeheart09 opened 1 year ago
Log output for the add command with -vvv:
...
1: derived: oack-1 (0.1.0) @ file:///C:/Users/Usu%C3%A1rio/............./pack-1
...
• Installing oack-1 (0.1.0 C:/Users/Usuário/............./pack-1)
sounds duplicate #7574, please close
@dimbleby , don't seem to be duplicate. I installed poetry via (Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | py - --git https://github.com/python-poetry/poetry.git@1.4
and also master but the issue persists - from what I get the #7574 is already merged, right?
fair enough
I don't use poetry on windows so can't offer further help. The only other idea that suggests itself looking at your log is that maybe the non-ascii username in the path might have confused something along the way, but it is only a guess.
@dimbleby Yes, I passed both python and poetry to C:\Program Files (and the project to outside the user dir) and everything worked as expected. Having it under utf-8/accentuated characters makes the issue happen.
-vvv
option) and have included the output below.Issue
I have two local packages,
pack-1
andpack-2
. When I add thepack-1
to thepack-2
(poetry add --editable ../pack-1
) thepack-1
is added to thepyproject.toml
of thepack-2
, but when I import the modulepack_1
(in any of thepack-2
files) I have the errorNo module named 'pack_1'
.pack-1 pyproject.toml:
pack-2 pyproject.toml:
In MacOS the expected behavior (the module being available to pack-2) is successful. I've been only experiencing this on Windows 11.
Let me know if you need any more info.