Time to update python to the latest version?
@JonB I installed chardet in site-package-3, but it seems it did not take precedence over the pre-installed version.
Did you force quit pythonista?
next, in console:
import sys, chardet del sys.modules['chardet'] import chardet print(chardet.__file__)
import sys print(sys.path)
@JonB How to set module path with code? Like
sys.modules['chardet'] = 'site-package-3/chardet'
please run the above code, and we will see if chardet was installed, and if not, we can get into why not. the sys path should already be set
@JonB I just del sys.modules[name], then I reinstall the modules using stash. Now it works.
@omz Welcome back! Any plans about updating modules or python?
Hello! Im having the same or a similar issue with requests/chardet/idna dependencies. I tried deleting chardet and restart the app, but my stash seems ”stuck” when I try to reinstall the package (or doing any other operation for that matter). All I get is ”No module named chardet”, even when I run pip install simplegist (as a simple, seemingly unrelated example?)