Open Misters-Wise opened 1 year ago
Traceback (most recent call last): File "c:\Users\OD\3D Objects\Programas\Notion_Import\fromnotion.py", line 6, in client = NotionClient(token_v2="") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\OD\AppData\Local\Programs\Python\Python311\Lib\site-packages\notion\client.py", line 77, in init self.session = create_session(client_specified_retry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\OD\AppData\Local\Programs\Python\Python311\Lib\site-packages\notion\client.py", line 39, in create_session retry = Retry( ^^^^^^ TypeError: Retry.init() got an unexpected keyword argument 'method_whitelist' PS C:\Users\OD\3D Objects\Programas\Notion_Import>
I have the same problem with both 3.6.x and 3.11.x
Try to install requests 2.29.0 pip install requests==2.29.0
pip install requests==2.29.0
Traceback (most recent call last): File "c:\Users\OD\3D Objects\Programas\Notion_Import\fromnotion.py", line 6, in
client = NotionClient(token_v2="")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\OD\AppData\Local\Programs\Python\Python311\Lib\site-packages\notion\client.py", line 77, in init
self.session = create_session(client_specified_retry) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\OD\AppData\Local\Programs\Python\Python311\Lib\site-packages\notion\client.py", line 39, in create_session retry = Retry( ^^^^^^ TypeError: Retry.init() got an unexpected keyword argument 'method_whitelist' PS C:\Users\OD\3D Objects\Programas\Notion_Import>