Closed ramprao closed 4 years ago
Hi @ramprao,
Thanks for the report. Looks like the requests
module is failing to parse the JSON package file from PyPi.
Do you mind providing your micropy.log
file via a pastebin or similiar? (Stored in $HOME/.micropy/micropy.log
)
I cannot reproduce this issue, so it may be something wrong with your environment. Please try executing pip install requests --upgrade
and check if the issue persists. Thanks!
Braden, Thanks. Here is the pastebin from the time when I started the micropy command.
(https://pastebin.com/rCVsfm2e)
I did try a reinstall of requests but that did not help. I may try a separate environment.
Thanks. You were correct. It works in a new conda environment. Something must have conflicted.
conda create --name "test2"
conda activate test2
conda install pip
conda install requests
pip install micropy-cli
Start VS Code. Change python: Select Interpreter to point to this environment.
micropy stubs add esp32-micropython-1.11.0
micropy init
micropy install picoweb
Installed without error.
When I try to install something in VScode , for example, picoweb, I get the following error:
Get the error with any package I'm trying to install.