By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,089 Members | 2,260 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,089 IT Pros & Developers. It's quick & easy.

importerror all 3rd party modules

P: n/a
Hi,

Brand new to python. I am trying to install the py2exe modeule, and when
I run scripts (simple ones I've made, and examples) I get an importerror.
At the python command line I type:
import py2exe
and get: 'ImportError: no module named py2exe

So installed everything on my laptop (windows me) and it all works fine.
Has anyone seen this before? Am I importing the module incorrectly? Are
there platform specifics issues when installing 3rd party modules?

Any suggestions appreciated,
N
Jul 18 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a

nyiann wrote:
Hi,

Brand new to python. I am trying to install the py2exe modeule, and when I run scripts (simple ones I've made, and examples) I get an importerror. At the python command line I type:
import py2exe
and get: 'ImportError: no module named py2exe
Aside: py2exe is used for packaging up Python fully-tested
production-ready scripts so that they can be run as stand-alone
executables in environments where the BOsFH won't let you install
Python. You don't *need* py2exe to run a Python script. It is *not* a
"compiler"; it doesn't make your script run faster. As you are "brand
new to Python", you may want to postpone your investigation of py2exe
for a little while.

So installed everything on my laptop (windows me) and it all works fine.

It's nice to know that it "works fine" on your laptop. However
palantirs exist only in the story-books; so that we can help you with
the platform on which it *doesn't* work, could you possibly divulge:
which version of Windows, which version of Python, what "trying to
install" means, what example/script you were trying to run, what the
import error was [copy/paste], ...
Has anyone seen this before? Am I importing the module incorrectly? Are there platform specifics issues when installing 3rd party modules?


If any, they would be typically be mentioned in the documentation for
the module. Typically, the module's setup.py would handle this.

Jul 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.