I'm trying to clone all the packages of a venv from one PC to another(both having Windows OS). When I'm installing all the wheel packages on the second PC with this command
pip install *.whl
as suggested by AKX in his answer to my question, it's giving me the error as.
*.whl looks like a file but not found in the current directory.
When I installed a package that have no dependencies, it's installed successfully. There is a long list of packages, so I can't install each package by typing the name of whole .whl file.
If you have access to a bash
shell (Git Bash, Cygwin, WSL, or whatever), the following script works great:
for wheel in *.whl do
pip install $wheel
done
I'm sure similar syntax could be used for Powershell.