Compiled Python

A forum for general discussion of the Python programming language.

Compiled Python

Postby OldManEd » Mon Jun 24, 2013 2:43 pm

In an attempt to speed up my Python code, I ran "python -m compileall . ". The interpreted code runs with no errors but when I run "python <program name>.pyc" I get an import error: " ImportError: No module named SOAPpy". Does anyone have an idea on what I'm doing wrong? Thanks in advance.
OldManEd
 
Posts: 2
Joined: Mon Jun 24, 2013 2:37 pm

Re: Compiled Python

Postby OldManEd » Mon Jun 24, 2013 3:55 pm

Never mind. Root cause was operator error. I have multiple versions of Python running on my server and compiled under one and executed under another. Once I synced everything up the script ran fine.
OldManEd
 
Posts: 2
Joined: Mon Jun 24, 2013 2:37 pm


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 5 guests