Installing sparkfun-qwiic causes an interesting error regarding the GPS device

Hello!

I decided to try and install the Python examples for the Qwiic series for the Pi, but this happened:

pi@raspberrypi:~$ sudo pip3 install sparkfun-qwiic
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
Requirement already satisfied: sparkfun-qwiic in /usr/local/lib/python3.7/dist-packages/sparkfun_qwiic-1.0.12-py3.7.egg (1.0.12)
Collecting sparkfun-pi-servo-hat (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/c3/6e/9283ac95df4fe57940c0fd772aa6f82a7b2d5e3242dc350f34fff418745e/sparkfun_pi_servo_hat-0.9.0-py2.py3-none-any.whl
Collecting sparkfun-qwiic-bme280 (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/65/1a/458fbe35733a5b89965bb92c06d2dc5a43f7f3758f56ad0fea62b2549c26/sparkfun_qwiic_bme280-0.9.0-py2.py3-none-any.whl
Collecting sparkfun-qwiic-ccs811 (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/70/36/a03a42ab6814368dbdfd9a03089d39902c976b28d9b76f850f892019867b/sparkfun_qwiic_ccs811-0.9.4-py2.py3-none-any.whl
Collecting sparkfun-qwiic-dual-encoder-reader (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/7d/ba/00ddc7bd110ef38c02abae312fa86ef28fff86a730dc61acf96bb0c3c9a7/sparkfun_qwiic_dual_encoder_reader-0.0.2-py2.py3-none-any.whl
Collecting sparkfun-qwiic-i2c (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/f4/6d/c474b9b8963654363e1b232eb0a3f85432f88f7e67987803801df0bfe647/sparkfun_qwiic_i2c-0.9.11-py2.py3-none-any.whl
Collecting sparkfun-qwiic-icm20948 (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/31/a7/cb7c55d26f4e70fa4823d36004a139836f1723d332a67cf56d69f45ecea6/sparkfun_qwiic_icm20948-0.0.1-py2.py3-none-any.whl
Collecting sparkfun-qwiic-joystick (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/cd/7c/ce5cdb117b34d7e37d4712253c981a7073662a2b658f9ea158280e0ce531/sparkfun_qwiic_joystick-0.9.0-py2.py3-none-any.whl
Collecting sparkfun-qwiic-keypad (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/2c/c0/929575ca297ddc97a0261ecb74d964c196f9109d412a82b4269701459167/sparkfun_qwiic_keypad-0.9.0-py2.py3-none-any.whl
Collecting sparkfun-qwiic-max3010x (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/6e/10/42420633a5c9adcb4844f289e81d660d1c6a60567a9317215c887ca3da09/sparkfun_qwiic_max3010x-0.0.2-py2.py3-none-any.whl
Collecting sparkfun-qwiic-micro-oled (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/a4/94/31e3178ae3e846260ec2d308beff0fc46ae42f83548378b13aa132b15615/sparkfun_qwiic_micro_oled-0.9.0-py2.py3-none-any.whl
Collecting sparkfun-qwiic-pca9685 (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/14/96/c95832bb2c418cc4591502e74d2d538548663725aea8eddf563255fe8e30/sparkfun_qwiic_pca9685-0.9.1-py2.py3-none-any.whl
Collecting sparkfun-qwiic-proximity (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/ad/d4/401537c1113fcb278bc0b6c03221b0c28567049b7e485dd5817be9367e21/sparkfun_qwiic_proximity-0.9.0-py2.py3-none-any.whl
Collecting sparkfun-qwiic-relay (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/ef/13/9704f8b38ed2fab5579c6ec72f04a8556f89e959a2f85f01d5857cb1990d/sparkfun_qwiic_relay-0.0.2-py2.py3-none-any.whl
Collecting sparkfun-qwiic-scmd (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/49/10/c00eea35b6636437f5ea58e08ec729bcd80a817e2c434fda152a25c7c9f7/sparkfun_qwiic_scmd-0.9.1-py2.py3-none-any.whl
Collecting sparkfun-qwiic-tca9548a (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/e5/cd/bd9abd55fa01533fa18d85d26cf92c7372888ad9db3144831ee71d5afa86/sparkfun_qwiic_tca9548a-0.9.0-py2.py3-none-any.whl
Collecting sparkfun-qwiic-titan-gps (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/d7/32/dbd041d7ea6ff68a34e4732e63016b9a98d967b17accea4571ede1cf3d45/sparkfun_qwiic_titan_gps-0.1.1-py2.py3-none-any.whl
Collecting sparkfun-qwiic-twist (from sparkfun-qwiic)
  Downloading https://files.pythonhosted.org/packages/39/3c/9f5779cf58433ba5e963eb9efc7d86a3c26d426dca852fd998e4dcd662b6/sparkfun_qwiic_twist-0.9.0-py2.py3-none-any.whl
Collecting sparkfun-qwiic-ublox-gps (from sparkfun-qwiic)
Could not install packages due to an EnvironmentError: 404 Client Error: Not Found for url: https://pypi.org/simple/sparkfun-qwiic-ublox-gps/

pi@raspberrypi:~$

It seems the one for the GPS device hasn’t been published yet. I did try and build it from GIT with interesting results. More on that later.

I got the same error on OSX, Ubuntu and an openwrt:

raise HTTPError(http_error_msg, response=self)

requests.exceptions.HTTPError: 404 Client Error: Not Found for url: https://pypi.org/simple/sparkfun-qwiic-ublox-gps/

Which is a real shame.

Hello,

You can try uninstalling pip then reinstall and update. Then try running the pip command again.

If that doesn’t work try the link available on this webpage: https://pypi.org/project/sparkfun-ublox-gps/.