Hi,
I have a problem installing artiq via conda. I get the following error message when installing all the required packages right after
conda create -n artiq artiq
Collecting package metadata (current_repodata.json): done
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: done

list of all the packages
Proceed ([y]/n)? y
Downloading and Extracting Packages
InvalidArchiveError('Error with archive C:\\Users\\schwa\\anaconda3\\pkgs\\lld-14.0.6-hcdb6601_1.conda. You probably need to delete and re-download or re-create this file. Message was:\n\nfailed with error: seeking backwards is not allowed')

I could not find any insightful help online or in the forum here.
I have already tried a complete reinstall of conda and it didn't work. This issue seems to be related to lld/llvm and I was wondering if anyone can help me fix this?
Thanks!

    multi131
    Hi,

    This seems to be an issue with conda package for lld/llvm as also seen here https://github.com/conda/conda/issues/12834. See my comment in that github issue.

    In the meantime, the easiest way to start using artiq in windows is via MSYS2. See https://m-labs.hk/artiq/manual-beta/installing.html#installing-via-msys2-windows.

    Or if you still want to go with conda, you can try using conda-forge as the priority channel rather than defaults (anaconda) channel. Though be careful with the version, since it will fetch the latest version from upstream.

    A sample command:

    conda create -n artiq7 artiq llvmlite=0.39.0 libllvm14 llvm-tools=14.0.6 lld=14.0.6 python=3.10.13 -c conda-forge

    Take note that I have pinned the version of some packages to match artiq7 dependencies. This initially creates the artiq7 environment but I haven't thoroughly tested it. You can also update/change the packages inside your conda env when you encounter compatibility issues if you try this method.

      6 days later

      fsagbuya Thanks! Is it possible to download the last stable (non-beta) version of artiq via msys2 as well?

        multi131 Right now, only the beta version is supported for msys2. There is however an option to build your own python package for msys2 from this guide. And many examples here. I haven't tried this on packaging artiq yet.