AttributeError: module 'requests' has no attribute 'get'
See original GitHub issueIssue Description
Hello,
i’ve followed all the steps to configure the ATM. When i execute ./app.py i recieve this error: AttributeError: module ‘requests’ has no attribute ‘get’.
Traceback (most recent call last):
File "./app.py", line 12, in <module>
import config
File "/home/pi/LightningATM/config.py", line 192, in <module>
BTCPRICE = utils.get_btc_price(conf["atm"]["cur"])
File "/home/pi/LightningATM/utils.py", line 51, in get_btc_price
price = requests.get(
AttributeError: module 'requests' has no attribute 'get'
Can you help me?
Thanks
Issue Analytics
- State:
- Created a year ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
'Module object has no attribute 'get' Python error Requests?
is the problem, I wrote a file named requests.py and here i imported "requests" module.So python engine look get method in the nearest...
Read more >AttributeError: module 'requests' has no attribute ... - GitHub
Attribute ConnectError was added to requests in 2014 somewhere around version 2.3.0 . Solution for that is to upgrade the requests package with...
Read more >Python requests module issue - Google Groups
I've been working on the deployment of a Flask application using mod_wsgi4.5.18 (compiled against Python3.6.1) and have been encountering issues with the ...
Read more >Keep getting "AttributeError: 'module' has no attribute 'get'?
I'm very new to Python, and am practicing using the Requests library. ... AttributeError: 'module' object has no attribute 'get'.
Read more >AttributeError: module 'requests' has no attribute 'get'
问题描述执行python程序时报错:AttributeError: module 'requests' has no attribute 'get'解决方案原始的requests版本过低, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
So, i’ve formatted everything and reinstalled. Now it works like a charm. 😃
Thanks for the help anyway!
Thank you very much. I’ll try again and let you know.