Open StefanoGiu opened 4 years ago
Could you please explain? Shall I stay on 2.2 and just install MVC ?
Pls read my comment, I think my issue is different here... I was able to install 2.1.0...
I installed MVC 2019 and still I get the following (with 2.1.0)
Traceback (most recent call last): File "C:\Python38\lib\site-packages\homeassistant\helpers\entity_platform.py", line 178, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "C:\Python38\lib\asyncio\tasks.py", line 483, in wait_for return fut.result() File "C:\Python38\lib\concurrent\futures\thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "C:\Python38\lib\site-packages\homeassistant\components\tensorflow\image_processing.py", line 118, in setup_platform od_graph_def = tf.GraphDef() AttributeError: module 'tensorflow' has no attribute 'GraphDef'
Please check your code is compatible with tf 2.0.
I'm using Home Assistant integration and I don't think it's compatible with TF 2.0.
Is it possible to install 1.13.1 with Python 3.8?
I think tensorflow 1.x does not support python 3.8.
Sounds like you want to run the tensorflow on raspberry pi.
You may want to check those:
https://www.home-assistant.io/integrations/tensorflow/
https://www.tensorflow.org/install/pip#package-location
This issue has not related to the tensorflow executed on windows.
I'm on Windows 10... and Python 3.8. So there's no support?
Home assistant is not working with Tensor Flow 2.X
You can try importing tensorflow like this import tensorflow as tfv2 tf = tfv2.compat.v1
Tensorflow 2.x supports tensorflow 1.x code through tensorflow.compat.v1 module.
Tensorflow supports only Python 3.7, not 3.8
Hello, I have HA running on Windows 10 and I want to test Tensorflow integration. I came to this because of the "DLL load failed with error code".
I tried to install tensorflow 2.2.0 but I got the following error:
2020-04-21 12:38:56 ERROR (MainThread) [homeassistant.components.image_processing] Error while setting up tensorflow platform for image_processing Traceback (most recent call last): File "C:\Python38\lib\site-packages\homeassistant\helpers\entity_platform.py", line 178, in _async_setup_platform await asyncio.wait_for(asyncio.shield(task), SLOW_SETUP_MAX_WAIT) File "C:\Python38\lib\asyncio\tasks.py", line 483, in wait_for return fut.result() File "C:\Python38\lib\concurrent\futures\thread.py", line 57, in run result = self.fn(*self.args, **self.kwargs) File "C:\Python38\lib\site-packages\homeassistant\components\tensorflow\image_processing.py", line 118, in setup_platform od_graph_def = tf.GraphDef() AttributeError: module 'tensorflow' has no attribute 'GraphDef'
So I decided to install 1.13.1 or 1.14... but when I try it, I got: ERROR: tensorflow-1.14.0-cp37-cp37m-win_amd64.whl is not a supported wheel on this platform.
I'm running with Python 3.8.
What shall I do?