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
python_openzwave fails to install if cython is missing. #12293
Comments
How did you install home assistant? |
Upgraded using |
After installing cython I get the following. I've also tried a fresh venv and get the same result.
|
Is the installation procedure of home assistant on FreeBSD documented in our docs? According to the python-openzwave readme some systems might need cython pre install. https://github.com/OpenZWave/python-openzwave/blob/master/README.rst At the same time it says that cython is not needed if the default flavor of install is used. At minimum we could add a note somewhere in our Z-wave docs that some systems might need cython. |
In my case I am using Debian 9.3 with Python 3.5.3. |
@andrewfoster are you getting the same error as @Instagraeme upon home assistant start? If not, that might be unrelated and require a different issue. |
@MartinHjelmare No, the error I get is the “Unable to install package ...” one mentioned in the initial post on the issue. Sounds like @Instagraeme has a different issue. As for the dependency, thanks I now see it mentioned on the python-openzwave read me, but prior to upgrading to this release of hass I didn’t have to install cython. Given the upgrade/startup of hass handles other dependencies it seems reasonable that it should handle this one, or at least throw an error that helps the user track down what the problem is. In cases like this it’d be nice if hass re-ran the failing pip install command without the quiet option so the user can see the error too (I had to run ps repeatedly during hass startup, grepping for pip until I could see what was being run). |
I have the same problem running HA on: Ubuntu 16.04.3 LTS xenial after pip3 install Cython (and restart of HA) I get an error that python_openzwave can't find libopenzwave.so.1.4 |
Please file another issue. It's not documented in the original issue. |
I have the same issue on a raspberry running rasbian.
|
Note that I installed cython manually using pip3 install cython from within the venv I am running in. Else python-openzwave didn't install at all. |
That's the other issue. We haven't confirmed it's the same cause as in this issue, so let's keep them separated for now. |
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 |
I just hit the same bug. Install cython following the readme and I get the error: import libopenzwave Without separate installation of cython, I get an error saying that it can't find cython... The homeassistant version is 0.73.1 which should be most recent version. |
I uninstall cython and install 0.4.5 version. Then change the homeassistant requirements to 0.4.5 but still no luck: File "/home/pi/homeassistant/lib/python3.5/site-packages/openzwave/option.py", line 29, in
|
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 |
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem 👍 |
Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (
hass --version
):0.63.0
Python release (
python3 --version
):Python 3.6.4
Component/platform:
zwave
Description of problem:
After upgrading to 0.63.0 zwave fails to upgrade to python_openzwave 0.4.3
2018-02-11 17:37:02 ERROR (SyncWorker_5) [homeassistant.util.package] Unable to install package python_openzwave==0.4.3: Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-tdgs7252/python-openzwave/
I can see the attempted installation:
/usr/local/bin/python3.6 -m pip install --quiet python_openzwave==0.4.3 --upgrade
Attempting this manually results in this error:
Installing cython manually solves this, allowing python_openzwave to install.
Expected:
python_openzwave installs
Problem-relevant
configuration.yaml
entries and steps to reproduce:Traceback (if applicable):
Additional info:
The text was updated successfully, but these errors were encountered: