471,329 Members | 1,904 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,329 software developers and data experts.

Strange behavior in Windows



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
0 767

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by Ronen | last post: by
7 posts views Thread by Tyler Foreman | last post: by
4 posts views Thread by solex | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.