Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A trouble with requests
#4
I didn't mean idle, I meant to start python from command line or bash shell by typing python, but IDLE will do.
So if you don't get any message from 'IDLE' then something else is causing requests to fail on import in your new program.
If you're using an IDE, I'd exit from the IDE, reboot the OS and try again.
If it works first time after that, I would suspect that something in your code (or some other code) is tromping on memory.
Unfortunately this type of 'bug' is very hard to find as it could have been caused by something else you ran an hour ago, and only surfaced an hour later.
Reply


Messages In This Thread
A trouble with requests - by Truman - Feb-25-2019, 11:54 PM
RE: A trouble with requests - by Larz60+ - Feb-25-2019, 11:59 PM
RE: A trouble with requests - by Truman - Feb-26-2019, 12:04 AM
RE: A trouble with requests - by Larz60+ - Feb-26-2019, 12:10 AM
RE: A trouble with requests - by snippsat - Feb-26-2019, 01:58 AM
RE: A trouble with requests - by Truman - Feb-26-2019, 11:35 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020