Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows installation with poetry #38

Open
tjbarnum13 opened this issue Nov 8, 2021 · 0 comments
Open

Windows installation with poetry #38

tjbarnum13 opened this issue Nov 8, 2021 · 0 comments

Comments

@tjbarnum13
Copy link
Collaborator

Two issues arise with installation of PySpecTools on Windows with the new poetry method. Recommend updating installation instructions in README as a patch.

  1. If installing in a virtual environment, poetry will default create its own virtual environment, which messes up the installation. This can be fixed by setting: poetry config virtualenvs.in-project false and poetry config virtualenvs.create false to prevent creation of any new virtual environments.
  2. There is a known issue with the current release of poetry that results in "ValueError *.whl not found" (see ValueError, whl in cache does not exist when running poetry install again python-poetry/poetry#4163). Several workarounds have been found and are detailed in this thread. The workaround, which I have found works consistently across different versions of poetry and Windows, is to navigate to C:\Users\user\AppData\Local\pypoetry\Cache and delete everything in this folder. Then you can run poetry install successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant