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 you can download the wheel packages because they are for offline usecase. You must download all dependent wheel packages otherwise you'll receive errors
while you can certainly do that...it's not recommended. due to any dependency conflict that may arise due to different system. best way is still to either dockerize your app or use Poetry to handle the dependencies.
@@CodeJana Yes I found that. to download a package and all its dependencies I used this command pip download -d to install on local machine without internet. Here is the folder where all the packages are placed. pip install --no-index -f
Hello sir, I used a python program with 'CMD'. But the CMD told that "ImportError: No module named txnUtils". Then I requested to 'pip install txnUtils' with CMD. But CMD can't find named pip(txnUtils). Now I need it for emergency for run the python file. Please give me a download link or give me the file if you known. Please sir🙏🙏
Hi there, since it is related to Crypto currency, the module has been removed from Pypi.org for quite sometime. You can search the same in Github. I am afraid but I won't be able to provide you a direct link to it.
🔖👇 Book a FREE 15-Min Doubt Clearance Session on Zoom with Me.
🔗🤷 calendly.com/codejana/doubt-clearance-code-jana
worked for me thanks a lot
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 you can download the wheel packages because they are for offline usecase. You must download all dependent wheel packages otherwise you'll receive errors
how to export env , pack then send and install in offline pc?
while you can certainly do that...it's not recommended. due to any dependency conflict that may arise due to different system.
best way is still to either dockerize your app or use Poetry to handle the dependencies.
hello boss, how in ubuntu???
Hello sir, I created the . whl file but when I import the package it is unable to detect the. Csv file which I have added in package.
goooooood
Thanks
It's asking for a HttpSConnection !!! Any solution?
it works.
What if the package has further dependencies like pandas?
Hi Asif. How are you doing? Did you find the solution?
@@CodeJana Yes I found that. to download a package and all its dependencies I used this command
pip download -d
to install on local machine without internet. Here is the folder where all the packages are placed.
pip install --no-index -f
You can checkout the related blog post: 🔗👉codejana.com/pip-install-local-package/🔗
Hello sir, I used a python program with 'CMD'. But the CMD told that "ImportError: No module named txnUtils". Then I requested to 'pip install txnUtils' with CMD. But CMD can't find named pip(txnUtils). Now I need it for emergency for run the python file. Please give me a download link or give me the file if you known. Please sir🙏🙏
Hi there, since it is related to Crypto currency, the module has been removed from Pypi.org for quite sometime. You can search the same in Github. I am afraid but I won't be able to provide you a direct link to it.
Thanks you sir. But how can I get this module manually. If have any way, please provide me.