filmov
tv
Install Python Packages Without Internet #6.3
![preview_player](https://i.ytimg.com/vi/dVZ-TSQ3K04/maxresdefault.jpg)
Показать описание
Hi All, in this video we will see how to install python packages on the machine which does not have internet access.
The steps to install python packages on the machine without internet is as follows:
1. On the machine which has internet access you need to download all the required packages. You need to create a folder where you want to store all the downloaded packages. The command to download all the packages is as follows:
pip download -d folder_name package_name
It will download all the mentioned packages with their dependencies.
2. Once you have got all the required packages in the folder, next step is to move that folder to the machine which does not have internet access. You can accomplish this task either using shared folder, using USB or taking help of IT support.
3. Once you have got the folder on required machine next step is to run below command to install all the packages available under the folder.
pip install /path/to/folder/*
In case you want to install specific package from the list of the packages under the folder you can run below command.
pip install package_name /path/to/folder/package_name
It will install given package with all its dependencies.
The steps to install python packages on the machine without internet is as follows:
1. On the machine which has internet access you need to download all the required packages. You need to create a folder where you want to store all the downloaded packages. The command to download all the packages is as follows:
pip download -d folder_name package_name
It will download all the mentioned packages with their dependencies.
2. Once you have got all the required packages in the folder, next step is to move that folder to the machine which does not have internet access. You can accomplish this task either using shared folder, using USB or taking help of IT support.
3. Once you have got the folder on required machine next step is to run below command to install all the packages available under the folder.
pip install /path/to/folder/*
In case you want to install specific package from the list of the packages under the folder you can run below command.
pip install package_name /path/to/folder/package_name
It will install given package with all its dependencies.
Комментарии