Jump to content
  • 0

Running a custom Python script in macOS


dpalma

Question

Hi,

I am trying to use a Digital Discovery from macOS with Python scripts. I can run SDK's Python script examples with no trouble. However, when I try to run a custom script I get the following error

Traceback (most recent call last):
  File "/Users/myUser/Documents/script.py", line 3, in <module>
    from dwfconstants import *
ModuleNotFoundError: No module named 'dwfconstants'

I guess the Python libraries are not in my PATH. However, this is my PATH

/Applications/WaveForms.app/Contents/Frameworks

Thus, I don't know what I hav etc add to the PATH in order to run Python scripts.

Thanks in advanced.

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...