mexcdevelop / mexc-api-sdk

MIT License
173 stars 70 forks source link

module not found Error #33

Open siavashyah opened 1 year ago

siavashyah commented 1 year ago

I have installed the package from https://pypi.org/project/mexc/ to use MEXC API. But when i import that in vscode to program in python, i got this Error : ModuleNotFoundError: No module named 'mexc_sdk' I have searched and tried some solutions from the internet but none worked. Would you Please give me some help?

bahadircan-bc commented 1 year ago

I have installed the package from https://pypi.org/project/mexc/ to use MEXC API. But when i import that in vscode to program in python, i got this Error : ModuleNotFoundError: No module named 'mexc_sdk' I have searched and tried some solutions from the internet but none worked. Would you Please give me some help?

you need to use pip to install the package on your preferred python interpreter

1- git clone the repo to your system 2- install the .tar.gz file located in " mexc-api-sdk -> dist -> python " folder, you may want to use pip you can do a quick search on how to install tar.gz using pip 3- then run the script in the readme file of the repository to check your installation is successful

make sure that you have installed the package in the interpreter that you are using. to know which interpreter is active, you may type 'which python' in your terminal or 'py -0p' if you are on windows. If you encounter any issues google is your friend

have a nice day