Skip to content

Instantly share code, notes, and snippets.

@maheshs11
Last active August 13, 2022 05:18
Show Gist options
  • Save maheshs11/e09a3f6cde4aba849f8b21c50b2d0256 to your computer and use it in GitHub Desktop.
Save maheshs11/e09a3f6cde4aba849f8b21c50b2d0256 to your computer and use it in GitHub Desktop.
links to install multiple wheels from directory
@maheshs11
Copy link
Author

maheshs11 commented Aug 13, 2022

install poetry
in shell

Set-ExecutionPolicy -ExecutionPolicy unrestricted -Scope CurrentUser
iwr -useb get.scoop.sh | iex
scoop install python@3.9.1
(Invoke-WebRequest -Uri https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py -UseBasicParsing).Content | python

add path
this pc -- properties
advanced settings
add environment variable

where poetry
whereis poetry

C:\Users"user_name_edit_This".poetry\bin
pytoml.yl file created by poetry
pip wheel .

install multiple wheels in directory in right order

python -m pip install --no-index --no-deps path/to/wheelhouse/*.whl

@maheshs11
Copy link
Author

for %x in (path*.whl, path*.tar.gz) do python -m pip install --user --no-index --no-deps %x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment