Skip to content
This repository has been archived by the owner on Nov 2, 2023. It is now read-only.

Does it work with python 3.11 or not? Help me #65

Open
Misters-Wise opened this issue Aug 23, 2023 · 2 comments
Open

Does it work with python 3.11 or not? Help me #65

Misters-Wise opened this issue Aug 23, 2023 · 2 comments

Comments

@Misters-Wise
Copy link

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>

@shen-muchuan
Copy link

I have the same problem with both 3.6.x and 3.11.x

@Jinxuyang
Copy link

Try to install requests 2.29.0
pip install requests==2.29.0

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants