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

Does this work on Pico W? Having trouble installing/importing socketpool #14

Closed
sgbaird opened this issue Aug 27, 2022 · 2 comments
Closed

Comments

@sgbaird
Copy link

sgbaird commented Aug 27, 2022

import socketpool
> ImportError: no module named 'socketpool'
(circuitpython) PS D:\> circup install socketpool
Found device at D:\, running CircuitPython 7.3.2.
Searching for dependencies for: ['socketpool'] 
WARNING:
        socketpool is not a known CircuitPython library.
@Neradoc
Copy link
Contributor

Neradoc commented Aug 27, 2022

Hi, the pico W is not supported in Circuitpython. Its wifi modules requires additional work to be supported.
Follow this issue to know when it is:
adafruit/circuitpython#6558

@sgbaird sgbaird closed this as completed Aug 27, 2022
@justbuchanan
Copy link

The latest beta (8.0) of circuitpython now includes support for wifi/socketpool on the pico w. I was able to get adafruit_httpserver to work, but had to change the socket from non-blocking to blocking.

Change False to True here:

self._sock.setblocking(False) # non-blocking socket

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

3 participants