I do the following things: To install the deriv-api package, I use pip
pip install deriv-api
Step 2 : Example Python script:
from deriv_api import DerivAPI
This above code code outputs:
ImportError: cannot import name ‘DerivAPI’ from ‘deriv_api’
How to solve this?
AMALAN is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1