AttributeError: module 'tensorflow._api.v1.config' has no attribute 'list_physical_devices' after running rasa init #7634
Labels
area:rasa-oss 🎡
Anything related to the open source Rasa framework
type:bug 🐛
Inconsistencies or issues which will cause an issue or problem for users or implementors.
Rasa version:2.2.2
Rasa SDK version : 2.2.0
Python version: 3.7.9
Operating system :windows
error:
c:\users\gwinivac.conda\envs\chatboty\lib\importlib_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
return f(*args, **kwds)
c:\users\gwinivac.conda\envs\chatboty\lib\importlib_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
return f(*args, **kwds)
c:\users\gwinivac.conda\envs\chatboty\lib\importlib_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
return f(*args, **kwds)
c:\users\gwinivac.conda\envs\chatboty\lib\importlib_bootstrap.py:219: RuntimeWarning: greenlet.greenlet size changed, may indicate binary incompatibility. Expected 144 from C header, got 152 from PyObject
return f(*args, **kwds)
Traceback (most recent call last):
File "c:\users\gwinivac.conda\envs\chatboty\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "c:\users\gwinivac.conda\envs\chatboty\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\Gwinivac.conda\envs\chatboty\Scripts\rasa.exe_main.py", line 7, in
File "c:\users\gwinivac.conda\envs\chatboty\lib\site-packages\rasa_main.py", line 115, in main
rasa.telemetry.initialize_error_reporting()
File "c:\users\gwinivac.conda\envs\chatboty\lib\site-packages\rasa\telemetry.py", line 230, in decorated
return f(*args, **kwargs)
File "c:\users\gwinivac.conda\envs\chatboty\lib\site-packages\rasa\telemetry.py", line 651, in initialize_error_reporting
default_context = _default_context_fields()
File "c:\users\gwinivac.conda\envs\chatboty\lib\site-packages\rasa\telemetry.py", line 480, in _default_context_fields
"gpu": len(tf.config.list_physical_devices("GPU")),
File "c:\users\gwinivac.conda\envs\chatboty\lib\site-packages\tensorflow_core\python\util\module_wrapper.py", line 193, in getattr
attr = getattr(self._tfmw_wrapped_module, name)
AttributeError: module 'tensorflow._api.v1.config' has no attribute 'list_physical_devices'
The text was updated successfully, but these errors were encountered: