Hassbian pip3 not finding newest versions

Trying to get myUSPS working on a newish Hassbian install. My hassiban raspberry pi 3 is setup as a test for tying the newest versions of home assistant out before I commit my main pi to an upgrade (due to major changes from hdmi_cec)

First I was having issues of trying to “pip3 install --upgrade homeassistant” and getting permission errors. Then I changed ownership for everything in /srv/homeassistant/lib/python3.4/site-packages to the ‘homeassistant’ user.

But I’m still noticing my main problem which is that pip3 install --upgrade doesn’t see the newest versions.

For instance here is the same command typed into both of my rpi3 (one Hassibian, the other is manual installed months ago)

Hassbian:
> (homeassistant) homeassistant@berry-test:~ $ pip3 install myusps
> Collecting myusps
> Using cached myusps-1.0.2.tar.gz
> Requirement already satisfied: lxml==3.7.1 in /srv/homeassistant/lib/python3.4/site-packages (from myusps)
> Requirement already satisfied: python-dateutil==2.6.0 in /srv/homeassistant/lib/python3.4/site-packages (from myusps)
> Requirement already satisfied: requests==2.12.4 in /srv/homeassistant/lib/python3.4/site-packages (from myusps)
> Requirement already satisfied: six>=1.5 in /srv/homeassistant/lib/python3.4/site-packages (from python-dateutil==2.6.0->myusps)
> Installing collected packages: myusps
> Running setup.py install for myusps … done
> Successfully installed myusps-1.0.2

Non-Hassbian:
> (homeassistant) homeassistant@berry:/home/pi $ pip3 install myusps
> Collecting myusps
> Using cached myusps-1.0.3.tar.gz
> Requirement already satisfied: lxml==3.7.1 in /srv/homeassistant/lib/python3.4/site-packages (from myusps)
> Requirement already satisfied: python-dateutil==2.6.0 in /srv/homeassistant/lib/python3.4/site-packages (from myusps)
> Requirement already satisfied: requests==2.12.4 in /srv/homeassistant/lib/python3.4/site-packages (from myusps)
> Requirement already satisfied: six>=1.5 in /srv/homeassistant/lib/python3.4/site-packages/six-1.10.0-py3.4.egg (from python-dateutil==2.6.0->myusps)
> Installing collected packages: myusps
> Running setup.py install for myusps … done
> Successfully installed myusps-1.0.3

The same thing happens when trying to update homeassistant, it finds an older version. When I try to manually point to myusps-1.0.3 for example I get:

> (homeassistant) homeassistant@berry-test:~ $ pip3 install myusps==1.0.3
> Collecting myusps==1.0.3
>   Could not find a version that satisfies the requirement myusps==1.0.3 (from versions: 1.0.0, 1.0.1, 1.0.2)
> No matching distribution found for myusps==1.0.3

What could be causing pip3 to not find current versions?

I have the same issue for aiohttp==2.0.6. Did you ever solve it?

Same here when trying to upgrade to HA 0.42 in a virtual environment

Hmmm … upgrading aiohttp previously to upgrading HA solves this issue

pip3 install --upgrade aiohttp
pip3 install --upgrade homeassistant
1 Like