Hello!
Following Anaconda | Moving Conda Environments, I moved one of my conda environments (located on an internet connected Windows computer with conda version 23.7.3) to an offline Windows computer (with conda version 24.9.2). Summarized: I use “conda pack” to create a .tar.gz that I moved to the offline computer using a USB stick. On the offline computer, I used tar to copy the environment over, and then activated the environment (“conda activate <my_env>”). Running “conda-unpack” then fails with an “OSError [Errno 22]: invalid argument”. In the full error message, I can see that files referenced have paths beginning with \\?
, e.g. \\?\Users\<my_user>\AppData\...\cairo_dwrite_font.pc
. I guess the error is due to these erroneous filepaths, but how do I fix this?
same thing happened to me, did you solve it ? currently I have no solution for this.
Nope, haven’t done much to solve it yet. I guess we could try to at least use the same conda version on the two machines, unless that was the case for you?
I updated conda and then conda-pack in my base environment on the first computer (from which I packed the environment I wanted transferred to the second computer). After that, I packed the environment of interest just like last time, and then conda-unpack worked on the second computer.