I wrote a script on Pycharm using conda interpreter. when run the scrip on Pycharm it runs fine.
However, when the API of Compound Discoverer (software) runs the scri