mdsplus
mdsplus copied to clipboard
Installation on macOS Big Sur
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
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.
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.
sorry i know only little about anaconda...
conda env config vars -h
may help... well and google should be a good friend.
Closing this as Big Sur is now old, if this issue is persisting on newer versions, please let us know.