I'm trying to offline update xlwings in Anaconda / conda.
From https://pypi.python.org/pypi/xlwings, I downloaded the most recent package, and put it into "C:\Program Files\Anaconda2\pkgs"
From Cmd, I've tried a number of different combinations, but I can't seem to get it to update the package... For example:
1) conda install xlwings --offline
2) conda install xlwings --offline xlwings-0.10.2.tar.gz
3) conda update xlwings --offline
4) conda update xlwings --offline xlwings-0.10.2.tar.gz
Attempts 2 & 4 (I've tried using the full directory for these as well) result in unrecognized command.
Attempts 1 & 3 results in:
First download the rellevant package-name.tar.bz2 file, (from anaconda repository)
Open command prompt, cd to apropiate directory and type
conda install package-name.tar.bz2
This should work.
From my experience the process is:
tar.bz2
files form the ~/anaconda3/pkgs folder conda update name_of_packge.tar.bz2 --offline
. you may want to run conda index
on the pkgs
folder
update
Another option is to use conda pack. This allows to transfer entire environments from online to offline.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With