Open susovanD opened 3 years ago
Error message is displayed when I tried to import InstaBot. Code i used : from instabot import Bot Error i got : AttributeError: module 'urllib3.util' has no attribute 'PROTOCOL_TLS'
Whole error log : Traceback (most recent call last):
File "", line 1, in from instabot import Bot
File "C:\Users\ASUS\Anaconda3\lib\site-packages\instabot__init__.py", line 2, in from .bot import Bot
File "C:\Users\ASUS\Anaconda3\lib\site-packages\instabot\bot__init__.py", line 1, in from .bot import Bot
File "C:\Users\ASUS\Anaconda3\lib\site-packages\instabot\bot\bot.py", line 13, in from ..api import API
File "C:\Users\ASUS\Anaconda3\lib\site-packages\instabot\api__init__.py", line 1, in from .api import API
File "C:\Users\ASUS\Anaconda3\lib\site-packages\instabot\api\api.py", line 14, in import requests
File "C:\Users\ASUS\Anaconda3\lib\site-packages\requests__init__.py", line 95, in from urllib3.contrib import pyopenssl
File "C:\Users\ASUS\Anaconda3\lib\site-packages\urllib3\contrib\pyopenssl.py", line 83, in util.PROTOCOL_TLS: OpenSSL.SSL.SSLv23_METHOD,
AttributeError: module 'urllib3.util' has no attribute 'PROTOCOL_TLS'
Error message is displayed when I tried to import InstaBot. Code i used : from instabot import Bot Error i got : AttributeError: module 'urllib3.util' has no attribute 'PROTOCOL_TLS'
Whole error log : Traceback (most recent call last):
File "", line 1, in
from instabot import Bot
File "C:\Users\ASUS\Anaconda3\lib\site-packages\instabot__init__.py", line 2, in
from .bot import Bot
File "C:\Users\ASUS\Anaconda3\lib\site-packages\instabot\bot__init__.py", line 1, in
from .bot import Bot
File "C:\Users\ASUS\Anaconda3\lib\site-packages\instabot\bot\bot.py", line 13, in
from ..api import API
File "C:\Users\ASUS\Anaconda3\lib\site-packages\instabot\api__init__.py", line 1, in
from .api import API
File "C:\Users\ASUS\Anaconda3\lib\site-packages\instabot\api\api.py", line 14, in
import requests
File "C:\Users\ASUS\Anaconda3\lib\site-packages\requests__init__.py", line 95, in
from urllib3.contrib import pyopenssl
File "C:\Users\ASUS\Anaconda3\lib\site-packages\urllib3\contrib\pyopenssl.py", line 83, in
util.PROTOCOL_TLS: OpenSSL.SSL.SSLv23_METHOD,
AttributeError: module 'urllib3.util' has no attribute 'PROTOCOL_TLS'