adafruit / Adafruit_CircuitPython_SHT4x

Python library for SHT4x temperature / humidity sensors
MIT License
11 stars 7 forks source link

RPi Pico W - No space left on device #12

Closed heximcz closed 1 year ago

heximcz commented 1 year ago

Initialized by: adafruit-circuitpython-raspberry_pi_pico_w-en_US-8.0.3.uf2

Inslall only "one" library "adafruit-circuitpython-sht4x" and "No space left on device" here.

install adafruit-circuitpython-sht4x
Looking in indexes: http://127.0.0.1:36628
127.0.0.1 - - [02/Mar/2023 18:55:51] "GET /adafruit-circuitpython-sht4x/ HTTP/1.1" 200 -
Collecting adafruit-circuitpython-sht4x
  Using cached http://127.0.0.1:36628/adafruit-circuitpython-sht4x/adafruit_circuitpython_sht4x-1.0.15-py3-none-any.whl/
127.0.0.1 - - [02/Mar/2023 18:55:53] "GET /adafruit-circuitpython-busdevice/ HTTP/1.1" 200 -
Collecting adafruit-circuitpython-busdevice
  Using cached http://127.0.0.1:36628/adafruit-circuitpython-busdevice/adafruit_circuitpython_busdevice-5.2.3-py3-none-any.whl/
127.0.0.1 - - [02/Mar/2023 18:55:55] "GET /adafruit-blinka/ HTTP/1.1" 200 -
Collecting Adafruit-Blinka
  Using cached http://127.0.0.1:36628/adafruit-blinka/Adafruit_Blinka-8.15.2-py3-none-any.whl/
127.0.0.1 - - [02/Mar/2023 18:55:57] "GET /pyftdi/ HTTP/1.1" 200 -
Collecting pyftdi>=0.40.0
  Using cached http://127.0.0.1:36628/pyftdi/pyftdi-0.54.0-py3-none-any.whl/
127.0.0.1 - - [02/Mar/2023 18:55:59] "GET /adafruit-platformdetect/ HTTP/1.1" 200 -
Collecting Adafruit-PlatformDetect>=3.13.0
  Using cached http://127.0.0.1:36628/adafruit-platformdetect/Adafruit_PlatformDetect-3.40.3-py3-none-any.whl/
127.0.0.1 - - [02/Mar/2023 18:56:01] "GET /adafruit-pureio/ HTTP/1.1" 200 -
Collecting Adafruit-PureIO>=1.1.7
  Using cached Adafruit_PureIO-1.1.10-py3-none-any.whl
127.0.0.1 - - [02/Mar/2023 18:56:02] "GET /adafruit-circuitpython-typing/ HTTP/1.1" 200 -
Collecting adafruit-circuitpython-typing
  Using cached http://127.0.0.1:36628/adafruit-circuitpython-typing/adafruit_circuitpython_typing-1.8.3-py3-none-any.whl/
127.0.0.1 - - [02/Mar/2023 18:56:04] "GET /pyusb/ HTTP/1.1" 200 -
Collecting pyusb!=1.2.0,>=1.0.0
  Using cached http://127.0.0.1:36628/pyusb/pyusb-1.2.1-py3-none-any.whl/
127.0.0.1 - - [02/Mar/2023 18:56:06] "GET /pyserial/ HTTP/1.1" 200 -
Collecting pyserial>=3.0
  Using cached http://127.0.0.1:36628/pyserial/pyserial-3.5-py2.py3-none-any.whl/
127.0.0.1 - - [02/Mar/2023 18:56:07] "GET /typing-extensions/ HTTP/1.1" 200 -
Collecting typing-extensions~=4.0
  Using cached http://127.0.0.1:36628/typing-extensions/typing_extensions-4.5.0-py3-none-any.whl/
127.0.0.1 - - [02/Mar/2023 18:56:09] "GET /adafruit-circuitpython-requests/ HTTP/1.1" 200 -
Collecting adafruit-circuitpython-requests
  Using cached http://127.0.0.1:36628/adafruit-circuitpython-requests/adafruit_circuitpython_requests-1.13.0-py3-none-any.whl/
Installing collected packages: pyserial, Adafruit-PlatformDetect, typing-extensions, pyusb, Adafruit-PureIO, pyftdi, adafruit-circuitpython-requests, Adafruit-Blinka, adafruit-circuitpython-typing, adafruit-circuitpython-busdevice, adafruit-circuitpython-sht4x
Successfully installed Adafruit-Blinka-8.15.2 Adafruit-PlatformDetect-3.40.3 Adafruit-PureIO-1.1.10 adafruit-circuitpython-busdevice-5.2.3 adafruit-circuitpython-requests-1.13.0 adafruit-circuitpython-sht4x-1.0.15 adafruit-circuitpython-typing-1.8.3 pyftdi-0.54.0 pyserial-3.5 pyusb-1.2.1 typing-extensions-4.5.0
Starting to apply changes to the target.
Copying adafruit_circuitpython_busdevice....
Copying typing_extensions..
Copying adafruit_circuitpython_requests..
Copying adafruit_circuitpython_typing..........
Copying Adafruit_PlatformDetect.......
Copying pyserial.
Copying pyusb................
Copying Adafruit_PureIO...Error [Errno 28] No space left on device
dhalbert commented 1 year ago

Don't do a pip install onto a board; that is for Blinka, where there are compatibility libraries to make the RPi or whatever act like CircuitPython. There are many unnecessary things you are copying to the board, like pyserial, etc.

Use circup or manual copying from the bundle to install onto a CircuitPython board. https://learn.adafruit.com/welcome-to-circuitpython/circuitpython-libraries https://learn.adafruit.com/keep-your-circuitpython-libraries-on-devices-up-to-date-with-circup