Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues installing MicroWebsrv2 #88

Open
pgraykowski69 opened this issue Nov 4, 2022 · 0 comments
Open

Issues installing MicroWebsrv2 #88

pgraykowski69 opened this issue Nov 4, 2022 · 0 comments

Comments

@pgraykowski69
Copy link

Hi,
I ultimately am trying to install MicroWebSrv and MicroWebSrv2 on an rp2 (pico w). I encountered memory issues so I now trying to install in the unix (MacOs) port of micropython.

The best I can determine is no json is being returned (after reviewing urequests source)

mip.install('https://github.com/jczic/MicroWebSrv2.git#egg=MicroWebSrv2')
Installing https://github.com/jczic/MicroWebSrv2.git#egg=MicroWebSrv2/package.json to /Users/foo/.micropython/lib
Traceback (most recent call last):
File "", line 1, in
File "mip.py", line 166, in install
File "mip.py", line 153, in _install_package
File "mip.py", line 102, in _install_json
File "urequests.py", line 32, in json
ValueError: syntax error in JSON

Are others able to install via mip?

My goal is to us mpy-cross to generate mpy and see if I can get it to fit on the rp2 hardware. I'm open to manually installing (did that on the rp2 hw but couldn't get it to load properly'. If someone has the installed in a lib I'd appreciate a listing of the library and subdirs so I can mimic w/ mpy.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant