Skip to main content

I have install boxsdk python package by ‘pip install boxsdk’. But Still got error like ModuleNotFoundError: No module named 'boxsdk'

Python 3.10.13

pip 23.0.1 from /Users/elei/.pyenv/versions/3.10.13/lib/python3.10/site-packages/pip (python 3.10)

Successfully installed boxsdk-10.0.1

 

This is a python example:

from boxsdk import OAuth2, Client

 

oauth = OAuth2(

    client_id='YOUR_CLIENT_ID',

    client_secret='YOUR_CLIENT_SECRET',

    store_tokens=your_store_tokens_callback_method,

    access_token=persisted_access_token,

    refresh_token=persisted_refresh_token,

)

client = Client(oauth)

Be the first to reply!