Ask your own question, for FREE!
MIT 6.01SC Introduction to Electrical Engineering and Computer Science I 15 Online
OpenStudy (anonymous):

I'm getting a "Bad Magic Number" error when I try to import SM.sm - Is there any way to get around this given that only the .pyc files are included in the library?

OpenStudy (anonymous):

I can answer my own question - I was using Python 2.7 instead of 2.6, which creates issues with the library files. I got around this by using virtualenv to create a virtual environment where I can run scripts using Python 2.6.

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!