• 0

'Bad Magic Number' error with dwfimports when updating from Python 2.7.10 to 3.7


Posted (edited)

I just updated Python from version to 3.7.3 (a big jump, I know... but it was time). 

Now, when I try to run an application I created using the WaveForms SDK, I get the error, 

from dwfconstants import *

ImportError: bad magic number in 'dwfconstants': b'\x03\xf3\r\n'


I just updated WaveForms, and the error persists. 

What does it mean? How do I fix it? 

Edited by spri

Share this post

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @spri,

I have moved your question to a more appropriate section of the forum where the engineer much more familiar with WaveForms SDK will be able to see and respond to your question.


Share this post

Link to post
Share on other sites

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