Tuesday, 15 June 2010

Python requests module suddenly stopped working -


I'm new to Python and I've imported some modules for those scripts I'm working on and one of them is a request. After a couple of weeks testing my script does not make any problem, all of them are seen in the work of shutting down and a message given below.

I have manually installed the request and have not installed any other module. The last thing is that there is some import command on Python shell to test, if it is available.

It looks like you have a file time.py ( / home /SRL/a.panaglima/time .py ) which is causing the underlying time module to be hidden.

Delete / Rename this file.

Alternatively, your project Ifactor and __future__ import absolute_import on your file (up to other imports).


No comments:

Post a Comment