| Crates.io | poit |
| lib.rs | poit |
| version | 0.1.6 |
| created_at | 2024-09-19 08:39:37.750201+00 |
| updated_at | 2024-09-20 01:36:41.574328+00 |
| description | Pip offline installation tool. |
| homepage | https://github.com/rikonaka/poit-rs |
| repository | https://github.com/rikonaka/poit-rs |
| max_upload_size | |
| id | 1380070 |
| size | 75,995 |
Pip offline installation tool.
architecture as the B server, and with a good network.pip (or pip3) is installed.We use ipython as example.
Create a work folder.
root@debian:~# mkdir test
root@debian:~# cp poit test/
root@debian:~# cd test
Start packing.
root@debian:~/test# ./poit --pack ipython
Or package a specific version of the software.
root@debian:~/test# ./poit --pack ipython --package-version 8.26.0
Or package with specific python version.
root@debian:~/test# ./poit --pack ipython --python-version 3.12
These three files will appear in the directory.
root@debian:~/test# ls
ipython.poit ipython.poit.sha256 poit
Do not change any files, including naming and content, and make sure all three files are copied to a USB or CD.
Check for the presence of these three files.
root@debian:~/test# ls
ipython.poit ipython.poit.sha256 poit
Start offline installation.
root@debian:~/test# ./poit --install ipython.poit
Or
root@debian:~/test# ./poit --install ipython.poit --package-version 8.26.0
If this process does not have any error messages, the installation is successful and you can now use the offline installed ipython.