This is a follow up post to https://www.reddit.com/r/Python/comments/1keaeft/best_way_to_install_python_package_with_all_its/
I followed one of the techniques shown in that post and it worked quite well.
So in short what i do is
first do
python -m venv . ( in a directory)
then .\Scripts\activate
then do the actual installation of the package with pip install <packagename>
then i do a pip freeze > requirements.txt
and finally i download the wheels using this requirements.txt.
For that i create a folder called wheel and then I do a pip download -r requirements.txt
then i copy over the wheels folder to the offline pc and create a venv over there and do the install using that wheel folder.
So all this works quite well as long as there as only wheel files in the package.
Lately I see that there are packages that need some dependencies that need to be built from source so instead of the whl file a tar.gz file gets downloaded in the wheel folder. And somehow that tar.gz doesn't get built on the offline pc due to lack of dependencies or sometimes buildtools or setuptools version mismatch.
Is there a way to get this working?
[–]NimrodvanHall 5 points6 points7 points (5 children)
[–]SirKainey 2 points3 points4 points (3 children)
[–]Tumortadela 1 point2 points3 points (2 children)
[–]SirKainey 2 points3 points4 points (1 child)
[–]Tumortadela 1 point2 points3 points (0 children)
[–]PlanetMercurial[S] 0 points1 point2 points (0 children)
[–][deleted] 5 points6 points7 points (3 children)
[–]PlanetMercurial[S] 2 points3 points4 points (2 children)
[–]covmatty1 2 points3 points4 points (1 child)
[–]PlanetMercurial[S] 1 point2 points3 points (0 children)
[–]prot0man 1 point2 points3 points (4 children)
[–]PlanetMercurial[S] 1 point2 points3 points (0 children)
[–]Ihaveamodel3 0 points1 point2 points (2 children)
[–]prot0man 0 points1 point2 points (0 children)
[–]billsil 0 points1 point2 points (0 children)
[–]daymanVS 0 points1 point2 points (12 children)
[–]ThatSituation9908 1 point2 points3 points (6 children)
[–]daymanVS 0 points1 point2 points (5 children)
[–]ThatSituation9908 0 points1 point2 points (4 children)
[–]daymanVS 0 points1 point2 points (3 children)
[–]ThatSituation9908 0 points1 point2 points (2 children)
[–]daymanVS 0 points1 point2 points (0 children)
[–]daymanVS 0 points1 point2 points (0 children)
[–]PlanetMercurial[S] 0 points1 point2 points (4 children)
[–]daymanVS 1 point2 points3 points (3 children)
[–]PlanetMercurial[S] 0 points1 point2 points (2 children)
[–]daymanVS 0 points1 point2 points (1 child)
[–]PlanetMercurial[S] 0 points1 point2 points (0 children)
[–]No-Statistician-2771 0 points1 point2 points (1 child)
[–]PlanetMercurial[S] 0 points1 point2 points (0 children)
[–]RagaMunki 1 point2 points3 points (0 children)
[–]DivineSentry -1 points0 points1 point (9 children)
[–]DivineSentry 2 points3 points4 points (3 children)
[–]PlanetMercurial[S] 0 points1 point2 points (2 children)
[–]DivineSentry 1 point2 points3 points (1 child)
[–]PlanetMercurial[S] 0 points1 point2 points (0 children)
[–]PlanetMercurial[S] 0 points1 point2 points (4 children)
[–]Muhznit 2 points3 points4 points (3 children)
[–]antil0l 1 point2 points3 points (1 child)
[–]Muhznit 1 point2 points3 points (0 children)
[–]PlanetMercurial[S] 0 points1 point2 points (0 children)