You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#gh-33 pertains to 'ModuleNotFoundError' with this mexc_sdk this StackOverflow post also pertains to the same error
I upgraded my Python interpreter and configured Thonny to use the upgraded version.
Thonny now uses /Library/Frameworks/Python.framework/Versions/3.11/bin/python3
which is correct, as 3.11 is the new version published on October 24, 2022.
I used Thonny's package manager to install mexc-sdk
It is now shown to be installed to /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages
which is exactly where it should be for the upgraded interpreter
Still, when attempting to run the sample python code from the GitHub repo in thonny, I get
from mexc_sdk import Spot
ModuleNotFoundError: No module named 'mexc_sdk'
I've attempted to just do this from the command line to see if it was an issue with Thonny but the issue persists.
pip install mexc-sdk yields Requirement already satisfied: mexc-sdk in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (0.0.1)
which is exactly the expected result, showing the package to be installed and installed in the right directory
Attempting to run the same file in command line using python3 yields the same ModuleNotFoundError.
I confirmed that python3 --version yields the correct updated version in the terminal
I also want to add that I followed the set up instructions and successfully unzipped the .tar.gz file in the dist/python directory.
The text was updated successfully, but these errors were encountered:
Have you managed to fix this?, I have the same issue with python 3.12 and I have tried older versions and I have installed the gz download with pip. seems like a common issue.
#gh-33 pertains to 'ModuleNotFoundError' with this mexc_sdk
this StackOverflow post also pertains to the same error
/Library/Frameworks/Python.framework/Versions/3.11/bin/python3
which is correct, as 3.11 is the new version published on October 24, 2022.
/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages
which is exactly where it should be for the upgraded interpreter
pip install mexc-sdk
yieldsRequirement already satisfied: mexc-sdk in /Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages (0.0.1)
which is exactly the expected result, showing the package to be installed and installed in the right directory
python3 --version
yields the correct updated version in the terminal.tar.gz
file in thedist/python
directory.The text was updated successfully, but these errors were encountered: