[Simnibs-discuss] Install using Conda not working

Jesper Duemose Nielsen jesperdn at drcmr.dk
Thu Jan 19 15:06:56 CET 2023


Hi Elizabeth


I am not exactly sure why the link doesn't work, however, you can pass 
the full address to the wheel, e.g.,


pip install 
https://github.com/simnibs/simnibs/releases/download/v4.0.0/simnibs-4.0.0-cp39-cp39-macosx_10_11_x86_64.whl


(here for OSX). Note that this doesn't use the -f flag.


Best,

Jesper


On 1/17/2023 5:29, Gregory, Elizabeth wrote:
>
> Hi there,
>
>
> I am currently attempting to install the latest simnibs using a Conda 
> environment as outlined in the documentation 
> (https://simnibs.github.io/simnibs/build/html/installation/conda.html 
> <https://simnibs.github.io/simnibs/build/html/installation/conda.html>).
>
>
> I keep getting the following error when attempting to run the line 
> "pip install -f https://github.com/simnibs/simnibs/releases/latest 
> <https://github.com/simnibs/simnibs/releases/latest> simnibs"
>
>
> Looking in links: https://github.com/simnibs/simnibs/releases/latest
>
> ERROR: Could not find a version that satisfies the requirement simnibs 
> (from versions: none)
>
> ERROR: No matching distribution found for simnibs
>
>
> I have tried to instead run variations such as "pip install -f 
> https://github.com/simnibs/simnibs/releases/ 
> <https://github.com/simnibs/simnibs/releases/latest>v4.0.0 simnibs", 
> which gives the same error, and "pip install 
> https://github.com/simnibs/simnibs/releases/ 
> <https://github.com/simnibs/simnibs/releases/latest>v4.0.0", which 
> gives the following error
>
> Collecting https://github.com/simnibs/simnibs/releases/v4.0.0
>
>   Downloading https://github.com/simnibs/simnibs/releases/v4.0.0
>
> |112.6 kB853.2 kB/s0:00:00
>
>   ERROR: Cannot unpack file /tmp/pip-unpack-_5sf34ih/v4.0.0 
> (downloaded from /tmp/pip-req-build-d2li2ds3, content-type: text/html; 
> charset=utf-8); cannot detect archive format
>
> ERROR: Cannot determine archive format of /tmp/pip-req-build-d2li2ds3
>
>
> I have tried doing the install on both mac and linux operating systems 
> and the same error comes up. I installed an earlier version of simnibs 
> (I believe v.3.2.6) less than 6 months ago using this same method and 
> encountered no problems. I attempted to see if installing an earlier 
> version would work (ie using "pip install -f 
> https://github.com/simnibs/simnibs/releases/ 
> <https://github.com/simnibs/simnibs/releases/latest>v3.2.6 simnibs") 
> but the same errors come up - ie this is not isolated to the latest 
> version.
>
>
> Please let me know if there is something I am missing in this process? 
> Thank you so much for your time and help.
>
>
> Best,
>
>
> Elizabeth
>
>
> _______________________________________________
> Simnibs-discuss mailing list
> Simnibs-discuss at drcmr.dk
> https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.drcmr.dk/pipermail/simnibs-discuss/attachments/20230119/8a74376b/attachment-0001.html>


More information about the Simnibs-discuss mailing list