[Simnibs-discuss] [UNCLASSIFIED] Unable to install simnibs 4.0

Oula Puonti oulap at drcmr.dk
Wed Feb 22 14:20:51 CET 2023


Hi Aidan,

Sorry I copied the wrong link in. Please download the .yml file first,
i.e., save the file from this link:

https://github.com/simnibs/simnibs/releases/download/v4.0.0/environment_win.yml

to your computer.

Then use conda and the file above to create the simnibs environment:

conda env create -f "%USERPROFILE%\Download\environment_win.yml"

assuming the .yml file is in your Download folder. After that activate
the environment by calling:

conda activate simnibs_env

and finally install the simnibs wheel (here's where I made a mistake in
the previous email):

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

then try calling (with the environment active):

python 

import simnibs


Best,
Oula




On Wed, 2023-02-22 at 00:35 +0000, Aidan.Lewis wrote:
> Hello Oula,
>  
> The following error message occurs:
>  
> What best should I do from here?
>  
> Kind regards,
> Aidan 
>  
> From: Oula Puonti <oulap at drcmr.dk>
> Sent: Wednesday, 22 February 2023 9:41 AM
> To: Aidan.Lewis <Aidan.Lewis at canberra.edu.au>; discuss at simnibs.org
> Subject: Re: [Simnibs-discuss] [UNCLASSIFIED] Unable to install
> simnibs 4.0
>  
> Hi Aidan,
> 
> Can you try the installation guide here:
> 
> https://simnibs.github.io/simnibs/build/html/installation/conda.html
> 
> Hopefully creating a fresh environment and pip installing simnibs
> directly there solves the issue. The final command in the guide,
> namely:
> 
> pip install -f https://github.com/simnibs/simnibs/releases/latest
> simnibs
> 
> does not work, please use:
> 
> pip install
> https://github.com/simnibs/simnibs/releases/download/v4.0.0/environment_win.yml
> 
> instead, i.e., pass the full path to the wheel. Once you've done
> that,
> run (while having the simnibs_env activated):
> 
> python
> 
> import simnibs
> 
> and see if that works. 
> 
> Not exactly sure what cause the issue, but people have reported
> similar
> problems here:
> 
> https://stackoverflow.com/questions/69057590/dll-load-failed-while-importing-arpack-from-scipy-integrate
> 
> and here:
> 
> https://github.com/conda/conda/issues/6396
> 
> 
> Best,
> Oula
> 
> 
> On Tue, 2023-02-21 at 22:08 +0000, Aidan.Lewis wrote:
> > Hi Oula,
> >  
> > I believe I successfully upgraded the scipy files, but the same
> > error
> > still occurred – whether I tried the install wizard or through
> > python. See screenshots of the terminal lines of each. Please let
> > me
> > know if I have done something wrong.
> >  
> > Kind regards,
> > Aidan
> >  
> > From: Oula Puonti <oulap at drcmr.dk>
> > Sent: Wednesday, 22 February 2023 7:29 AM
> > To: Aidan.Lewis <Aidan.Lewis at canberra.edu.au>;discuss at simnibs.org
> > Subject: Re: [Simnibs-discuss] [UNCLASSIFIED] Unable to install
> > simnibs 4.0
> >  
> > Hi Aidan,
> > 
> > Can you try to update scipy by running (in a terminal):
> > 
> > simnibs_python -m pip install --upgrade scipy
> > 
> > and then try typing (in a terminal):
> > 
> > simnibs_python
> > 
> > import simnibs
> > 
> > to see if that fixes the issue.
> > 
> > Best,
> > Oula
> > 
> > 
> > On Wed, 2023-02-15 at 23:09 +0000, Aidan.Lewis wrote:
> > > Hi Oula,
> > >  
> > > Thank you for your response. That’s correct – 3.2 simnibs
> > > successfully uninstalled and no files remain on my computer and I
> > > used the most recent installer available on the website.
> > >  
> > > My laptop is a Dell with an Intel® Core i7 v Pro. I am running
> > > Windows 10 Enterprise. It is a work laptop that is owned by
> > > University of Canberra (but please note I was still able to
> > > install
> > > 3.2 simnibs on this same laptop).
> > >  
> > > From: Oula Puonti <oulap at drcmr.dk>
> > > Sent: Thursday, 16 February 2023 3:39 AM
> > > To: Aidan.Lewis <Aidan.Lewis at canberra.edu.au>;discuss at simnibs.org
> > > Subject: Re: [Simnibs-discuss] [UNCLASSIFIED] Unable to install
> > > simnibs 4.0
> > >  
> > > Hi Aidan,
> > > 
> > > Looks like you might be missing some scipy-specific libraries. 
> > > 
> > > Just to be sure: you don't have any old versions of simnibs lying
> > > around (probably not the case as you said you managed to
> > > uninstall),
> > > and you're a clean install of the new version with the installer
> > > downloaded from the website?
> > > 
> > > Could you also provide us with the details of the computer and
> > > operating system you're trying to install simnibs on? Is it a
> > > personal
> > > computer (desktop/laptop) or a server?
> > > 
> > > Thanks,
> > > Oula
> > > 
> > > 
> > > On Wed, 2023-02-15 at 02:10 +0000, Aidan.Lewis wrote:
> > > > Hello,
> > > >  
> > > > I have recently tried to upgrade from Simnibs 3.2 to 4. I
> > > > successfully uninstalled 3.2, but an error message pops up in
> > > > the
> > > > final parts of installation. Please find attached my install
> > > > log.
> > > > I
> > > > believe it has something to do with _arpack. Your assistance is
> > > > greatly appreciated.
> > > >  
> > > > Kind regards,
> > > > Aidan
> > > >  
> > > > Discipline of Psychology | School of Health Sciences 
> > > > | University
> > > > of
> > > > Canberra
> > > > University of Canberra Research Institute for Sport and
> > > > Exercise | Active Brain | University of Canberra
> > > > Bruce ACT, 2601 Australia
> > > >  
> > > > I b
> > > >  
> > > >  
> > > >  
> > > > UC Logo
> > > >  
> > > > UC Research is in #1 in Australia for Industry Collaboration
> > > >  
> > > >  
> > > > The Ngunnawal people are the Traditional Custodians of the ACT
> > > > where
> > > > UC's Bruce Campus is situated and are an integral and
> > > > celebrated
> > > > part
> > > > of UC's culture. We also acknowledge other First Nations
> > > > Peoples.
> > > > Australian Government Higher Education Registered Provider
> > > > (CRICOS)
> > > > #00212K. TEQSA Provider ID: PRV12003 (Australian University)  
> > > > Email Disclaimer
> > > > 
> > > > UC Facebook    UC Twitter    UC Instagram    UC Linkedin    UC
> > > > Youtube University of Canberra 
> > > > 
> > > > _______________________________________________
> > > > Simnibs-discuss mailing list
> > > > Simnibs-discuss at drcmr.dk
> > > > https://mailman.drcmr.dk/mailman/listinfo/simnibs-discuss



More information about the Simnibs-discuss mailing list