Closed guegueniat closed 1 year ago
Hi, what OS and Python's version are you using?
Hello,
Thank you for your quick reply.
I'm using OS Monterey 12.6.3 and Python 3.9.
Unfortunately I haven't tested the library for macOS. The error you are presenting is probably due to the DSSAT executable that the library is using, so far I've included an exe for Windows and other for Linux, but not one for macOS since I was hoping that the same exe of Linux would work on macOS. I can only recommend you to use the library on a Linux environment. I'll try to compile DSSAT on macOS for latter releases.
Hello, I have just tried with Linux through Ubuntu (22.04), on a virtual machine and I have got the same error. Would downgrading a good solution?
Updates:
I've got same error on MacOS, M1 chip. I hope there will be an update for MacOS in the next releases! Thanks!
Hello, I have just tried to run the code as described in the first example:
Then, I have got the following error:
OSError: [Errno 8] Exec format error: '/var/folders/fc/q617vtwn0n1dj5xdkq2l5ng80000gn/T/dssatrdpojkco/static/bin/dscsm048'
It appears whenself._execute_child
is called fromsubprocess.py
in Python 3.9 whilstrun.py
in DSSATTools is run .Thank you for your help :)