- Posts: 3
Error running API provided (Cant find PySSC)
- syj9065
- Topic Author
Less
More
19 Sep 2017 14:35 #5735
by syj9065
Error running API provided (Cant find PySSC) was created by syj9065
I'm trying to run the API codes in Jupyter Notebook with python 2.7 after installing SDK.
However, I keep having same error that it says it can't find the library. Exact error message is copied below:
dlopen(/Applications/sam-sdk-2015-6-30-r3/languages/python/..\..\/osx64/ssc.dylib, 6): image not found
I have downloaded SDK and unzipped and moved to Applications folder but it still can't find the file.
Can someone please help or give me instruction on this?
However, I keep having same error that it says it can't find the library. Exact error message is copied below:
dlopen(/Applications/sam-sdk-2015-6-30-r3/languages/python/..\..\/osx64/ssc.dylib, 6): image not found
I have downloaded SDK and unzipped and moved to Applications folder but it still can't find the file.
Can someone please help or give me instruction on this?
Please Log in or Create an account to join the conversation.
- pgilman
Less
More
- Posts: 5447
19 Sep 2017 16:25 #5736
by pgilman
Replied by pgilman on topic Error running API provided (Cant find PySSC)
Hello,
I think you may have better luck generating the Python code from the SAM application using SAM's code generator than using the sample code that comes with the SDK.
To do that, start SAM, create a case or open a .sam file, and then from the Case menu (click the 'v' in the Case tab), click Generate code and choose Python 3. That should create all the files you need to run SSC from Python.
Best regards,
Paul.
I think you may have better luck generating the Python code from the SAM application using SAM's code generator than using the sample code that comes with the SDK.
To do that, start SAM, create a case or open a .sam file, and then from the Case menu (click the 'v' in the Case tab), click Generate code and choose Python 3. That should create all the files you need to run SSC from Python.
Best regards,
Paul.
Please Log in or Create an account to join the conversation.
- amruthp
Less
More
- Posts: 1
24 Sep 2017 11:08 #5737
by amruthp
Replied by amruthp on topic Error running API provided (Cant find PySSC)
Awesome Paul, it worked like a breeze after generating from SAM Application
Please Log in or Create an account to join the conversation.
Moderators: pgilman