Awesome been looking for this solution for a long time. Its particularly useful for servers that have no internet connection because of security issues
Thanks for the info, It works great! I had a different question though, can I do the same with a conda environment? Perhaps a conda command equivalent to the pip command used here?
Nice job; subbed ! I want to duplicate my current python package collection onto another, offline PC. So do you think it would be a valid approach to use pip freeze or pip list (or something better) to make a list of ALL of the packages. Then convert that to a requirements.txt. Then use that with the -r option on both steps of your procedure ?
I think it should work. If the python module is pure python code, it will work. If the package is compiled with platform specific code it will not work in Linux. Hope this helps, cheers 👍
The command you used in the video at 3:00 is not the same as what is shown in the blog post. In the video you put the library after "pip install" while in the post you put the library after the file path. Just FYI
Using the computer that's connected to the internet, is there a way to point it to the python package you want to install offline, have it check the dependencies that it's going to need... then download all the files for the offline computer to install? Also, if you have a script that imports a bunch of libraries that aren't actually used in the script.. is there a way to list only the actual libraries that are used?
@@bennguyen1313 I understand what you say. Even I too thought of it. I actually see all the python files and find the packages i need. I will try to figure out if there is an automated way for this
@@zefur321 Hi, just write -r requirements.txt instead of the package name while downloading the packages and installing the packages. Hope this helps, cheers 👍
Hi, you can use the command pip install bsddb3 or install the library offline using the procedure explained in the video. The link to the blog of this video is in the description Hope this helps, cheers 👍
@@learningsoftwareskills I am having the same problem. Both "pip" and "python" are not recognized as a cmdlet, etc. I dont think the --no-index is working. Please help!
@@peterpickslay2507 Hi, add the python.exe folder path to the PATH system environment variable. Then python will be recognised as a command. Or else you can use the complete python path instead of just python in the command. Hope this helps, cheers👍
Excelent video!!! Super useful and concise.
Thank you very much 🙏👍
great, that is exactly what i am looking for !
many thanks for this video
Glad that this video helped you 👍
Very nicely explained.
@@narayanadhasojuraghavender1478 thank you 🙏👍
Great......!!!! Help me lot........!!! 🥰🥰
Thank you 👍
Wonderful video, I love it! You solved me a problem, thank you.
You are welcome 👍
Awesome been looking for this solution for a long time. Its particularly useful for servers that have no internet connection because of security issues
@@brendancallaghan101 yes you are right, that is the perfect use case 👍
Thank you, I installed python packages in my Kali Linux (android) offline
It works
I am glad that this content helped you 👍
Good explanation
Thank you, I am glad this content helped you 👍
Great video!
Thank you for the encouraging feedback 👍
Perfect.
Thank you 🙏👍
how can i do if i have a 'requirement.txt'
Hi, just write -r requirements.txt instead of the package name.
Hope this helps, cheers 👍
You just made my day! Thank you!!!
You are welcome 👍
Thanks for the info, It works great! I had a different question though, can I do the same with a conda environment? Perhaps a conda command equivalent to the pip command used here?
Hi, open spyder, and write pip commands with ! at the beginning
Example: !pip install elasticsearch
I think this should work
Hope this helps, cheers 👍
Nice job; subbed ! I want to duplicate my current python package collection onto another, offline PC. So do you think it would be a valid approach to use pip freeze or pip list (or something better) to make a list of ALL of the packages. Then convert that to a requirements.txt. Then use that with the -r option on both steps of your procedure ?
Yes, i think that would be correct👍
Thanks very much boss it help me lot
You are welcome 👍🙏
Will the .whl created in windows work in linux server package installation?
I think it should work. If the python module is pure python code, it will work. If the package is compiled with platform specific code it will not work in Linux. Hope this helps, cheers 👍
The command you used in the video at 3:00 is not the same as what is shown in the blog post. In the video you put the library after "pip install" while in the post you put the library after the file path. Just FYI
Hi, nice observation. Both will work. Cheers👍
Using the computer that's connected to the internet, is there a way to point it to the python package you want to install offline, have it check the dependencies that it's going to need... then download all the files for the offline computer to install?
Also, if you have a script that imports a bunch of libraries that aren't actually used in the script.. is there a way to list only the actual libraries that are used?
@@bennguyen1313 I understand what you say. Even I too thought of it. I actually see all the python files and find the packages i need. I will try to figure out if there is an automated way for this
how to download and install all packages follow to python environment file?
Remark: I want to clone my python enviroment from online pc to offline pc.
@@zefur321 Hi, just write -r requirements.txt instead of the package name while downloading the packages and installing the packages.
Hope this helps, cheers 👍
Hello sir I want to ask how to install bsddb3 in python online or offline
Hi, you can use the command pip install bsddb3 or install the library offline using the procedure explained in the video.
The link to the blog of this video is in the description
Hope this helps, cheers 👍
'pip' is not recognized as an internal or external command,
operable program or batch file.
You can write "python -m pip" instead of "pip"
Hope this helps, cheers 👍
@@learningsoftwareskills I am having the same problem. Both "pip" and "python" are not recognized as a cmdlet, etc. I dont think the --no-index is working. Please help!
@@peterpickslay2507 Hi, add the python.exe folder path to the PATH system environment variable. Then python will be recognised as a command.
Or else you can use the complete python path instead of just python in the command.
Hope this helps, cheers👍
can we make pytorch offline too?
Hi, since pytorch is also a python package, I think you can make it also offline
@@learningsoftwareskills is there any detail tutorial about it? ive tried but always failed
but how to copy to other computer by using pendrive ?
Yes, you can use pendrive or network storage or shared folder