Search code examples
pythonpippypi

pip cannot find module that is in pypi


I have created a python module, i2cdev.

When I try to install it through pip, I get that it cannot find it:

$ pip3 search "i2cdev"  # finds it fine
i2cdev                    - Simple I2C Library for linux
$ pip3 install i2cdev
Collecting i2cdev
  Could not find any downloads that satisfy the requirement i2cdev
  No distributions at all found for i2cdev

What is going on?


Solution

  • wow, I'm an idiot. Apparently you have to use setup.py sdist upload to actually upload the code onto python. I thought just registering it was enough.