Hi, I’m trying to install QIIME2 on a Fedora system, but due to poor internet connectivity, installation fails in the middle. So, I downloaded all the required files from the text file to a local disk individually and tried to divert the command to that path. But it was not successful. It always searches for online repos rather than local drive. Is there a way to achieve this?
All required packages are in the home directory in QIIME2 folder and the text file has been edited to show the path of each file and it was saved in the home directory. Kindly inform me on how to install these dependencies from a local path.
This isn’t going to be an officially supported installation as conda can often do some strange (and pretty unpredictable things), so there’s no guarantee this is going to work, but the following will probably work:
==== warnings summary ====
Warning: alpha of 1.0 is weighted-normalized UniFrac. Weighted-normalized is being used instead as it is more optimized.
Warning: divide by zero encountered in double_scalars
Warning: invalid value encountered in true_divide
Warning: invalid value encountered in less
Warning: Data with input dtype int64 was converted to bool by check_pairwise_arrays.
I guess they are of less concern.
qiime info
No errors…
So, I proceeded further to import the demultiplexed fastq.gz files, where I faced OSErrors 18 and 28.
I found that “OSError: [Errno 18] Invalid cross-device link:” is related to filesystem type and it was rectified as per #274.
I have 36 pairs of fastq.gz files each pair about 900mb. When I use all the files these errors occur. If I limit the number to 2 pairs of input files, the process is getting completed. So, I guess this is memory problem of the “tmp” directory. I’ll change the path of “tmp” directory in my next attempt.
Is there a way to select the location to tmp while installation?
Apart from that, offline installation may work without any error, I guess
Yeah those are mostly the tests doing odd things on purpose (ideally). But aren't something you need to worry about.
Nice sleuthing! What version are you running (i.e. what does qiime info say?). That error shouldn't really be happening anymore.
That's honestly very strange. I don't think it should have anything to do with your /tmp directory (but if you want to play with it, you can set the TMPDIR environment variable in your shell to a different directory and QIIME 2 will respect that for a given command call).
It also sounds like you are getting cross-device links when you try to use all of the files, but not when you use just 2 of them? Are any of the files in your manifest on a different hard-drive (or usb stick)?
I'm a little worried that maybe something didn't work quite like we would hope for the offline install. So I'm not sure how much help I can really provide, since this isn't an installation scheme we test or support in any way.
I checked the space used by /tmp directory, it was 3.9 GB. With this space, I was able to process not more than 3 samples at a time. So, I increased the space relative to the total size of my samples, and it worked.
That being said, the error it showed [Errno 18] Invalid cross-device link in the previous attempt has nothing to do in this scenario, moreover, [Errno 28] No space left on device which was shown at the end, is the one to be concerned about.