Poetry: Does not work with python from windows store

Created on 8 Jan 2020  路  3Comments  路  Source: python-poetry/poetry

  • [x] I am on the latest Poetry version.
  • [x] I have searched the issues of this repo and believe that this is not a duplicate.
  • [x] If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: Windows 10
  • Poetry version: 1.0.0

Issue


It seems poetry has a problem when using python installed via the windows store. I believe this is related to #816 Poetry believes it has created a venv in my AppData folder, however this folder is never created, and thus gives a filenotfound error when trying to use this venv.

The following are the errors when I try to add an environment based on a windows store python, and then again on a non-windows store python. I believe the latter isn't working because I installed poetry using the python version from the windows store.

https://gist.github.com/gazpachoking/1dd3fdfd9be5d65882e3506864e1522c

Bug

Most helpful comment

I have verified that everything does indeed work once the cache directory is moved with

poetry config cache-dir "%USERPROFILE%\pypoetry\Cache"

All 3 comments

I have verified that everything does indeed work once the cache directory is moved with

poetry config cache-dir "%USERPROFILE%\pypoetry\Cache"

I can confirm the issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tonysyu picture tonysyu  路  3Comments

jeremy886 picture jeremy886  路  3Comments

nikaro picture nikaro  路  3Comments

Euphorbium picture Euphorbium  路  3Comments

mozartilize picture mozartilize  路  3Comments