mdsplus icon indicating copy to clipboard operation
mdsplus copied to clipboard

Installation on macOS Big Sur

Open cliekhus opened this issue 3 years ago • 3 comments

After running conda install -c conda-forge mdsplus I am unable to import MDSplus in Spyder launched from anaconda. I receive the following error: Issues loading MdsShr, trying find_library Issues loading TreeShr, trying find_library Issues loading TdiShr, trying find_library Issues loading Mdsdcl, trying find_library Issues loading MdsIpShr, trying find_library Issues loading MdsShr, trying find_library Issues loading MdsShr, trying find_library Issues loading MdsMisc, trying find_library Issues loading TreeShr, trying find_library Issues loading XTreeShr, trying find_library Issues loading Mdsdcl, trying find_library Issues loading MdsShr, trying find_library Issues loading MdsIpShr, trying find_library Issues loading TdiShr, trying find_library Issues loading MdsShr, trying find_library

I can import MDSplus if I launch python from a terminal after running: source user/local/mdsplus/setup.sh

cliekhus avatar Sep 27 '21 17:09 cliekhus

That is a known issue with anaconda AFAIK. anaconda has its own path env definition, however MDSplus, since it is not a pure python package requires binaries that are typically located in /usr/local/mdsplus/bin .. the setup.sh script add this path to your env.. for anaconda you would have to setup your anaconda environment to source this setup.sh when started.

zack-vii avatar Sep 27 '21 17:09 zack-vii

Hi zack-vii Thank you so much for your help. I apologize for knowing so little, but I don't know how to add the setup.sh path to my environment. If you have more detailed instructions I would be incredibly thankful.

cliekhus avatar Sep 27 '21 17:09 cliekhus

sorry i know only little about anaconda...

conda env config vars -h

may help... well and google should be a good friend.

zack-vii avatar Sep 27 '21 18:09 zack-vii

Closing this as Big Sur is now old, if this issue is persisting on newer versions, please let us know.

WhoBrokeTheBuild avatar Mar 30 '23 19:03 WhoBrokeTheBuild