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

Strange behavior in Windows

P: n/a


Greetings.

I have been trying to switch to Python from other languages such as Perland now I have a newbie question.

I have been trying to run a setup script to install a python library. To dothat I need to run "c:python setup.py install" but the strange thing isis that when it runs the command:
>>from distutils import log
I get the error ONLY while in cmd. If I run this from the interactive shellthat comes with IDLE it works. But if I go into the interactive shell inthe Windows shell cmd then I get:

ImportError: cannot import log

Any ideas on how I can fix this

Vinsamlega athugiğ ağ upplısingar í tölvupósti şessum og viğhengi eru eingöngu ætlağar şeim sem póstinum er beint til og gætu innihaldiğ upplısingar sem eru trúnağarmál. Sjá nánar:http://www.ru.is/trunadur

Please note that this e-mail and attachments are intended for the namedaddresses only and may contain information that is confidential andprivileged. Further information: http://www.ru.is/trunadur
Jun 2 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.