Closed maximlamare closed 3 years ago
Thanks for reporting the issue. I'm aware of a problem with the conda builds for Mac, which causes this error - I need to fix Py6S to deal with the error properly. It's on my todo list, but life has been a bit chaotic recently with the pandemic and my son's nursery closing. I'll try and get to it ASAP.
In the meantime, you can try the following:
Uninstall conda's version of sixs: conda uninstall sixs
Download http://rtwilson.com/downloads/sixs_mac, rename it to sixsV1.1
and put it somewhere on your PATH
(somewhere like /usr/local/bin
or anywhere else that you manually add to your PATH
)
Try running the Py6S test again - it should pick up the new 6S executable, and hopefully that version will work on your system (it has come from my Mac, so should work).
Let me know how you get on
Thank you for the fix, I didn't want to put pressure on you in these hard times, I'm sorry! But now with the fix I can continue working from home using Py6S!
For others that might run into the same problem, I didn't manage to fix Py6S with conda as mentioned in the steps above. However, putting sixsV1.1 on the PATH then installing Py6S with pip works.
Hi, when following the instructions and installing Py6S with conda on a Mac:
conda create -n py6s-env -c conda-forge py6s
The test fails:
from Py6S import *
SixS.test()
I've tried with different versions of Py6S in conda-forge and different versions of Python, all yield the same error.