Difference between revisions of "Notes on disconnected (offline) (air-gapped) networks"
From Simson Garfinkel
Jump to navigationJump to search
m |
m |
||
Line 16: | Line 16: | ||
Solution use johnnydep, which is available on pypi: | Solution use johnnydep, which is available on pypi: | ||
[[File:Johnnydep demo.png|thumb|Johnnydep demo]] |
Revision as of 09:05, 15 October 2020
Python modules:
Download all of the python modules with
pip wheel [package] -w /tmp
or:
pip download [package] -d /tmp --no-binary :all:
Problem: you are on MacOS running Python 3.9 but need to download linux x86 for Python 3.6:
pip3 download -d . --python-version 36 --abi cp36 --platform linux_x86_64 --no-deps lxml
Problem: You need to trace Python3 dependencies.
Solution use johnnydep, which is available on pypi: