Hi there…
After installing rasa on windows 10 machine successfully I’m getting below error… please help me to sort out this problem…
(venv) C:>python -V
Python 3.8.1
(venv) C:>pip -V
pip 20.0.2 from c:\venv\lib\site-packages\pip (python 3.8)
(venv) C:>rasa --version
Traceback (most recent call last):
File “C:\Users\mdraskinur.rashid\AppData\Local\Programs\Python\Python38\lib\runpy.py”, line 193, in run_module_as_main
return run_code(code, main_globals, None,
File “C:\Users\mdraskinur.rashid\AppData\Local\Programs\Python\Python38\lib\runpy.py”, line 86, in run_code
exec(code, run_globals)
File "C:\venv\Scripts\rasa.exe_main.py", line 7, in
File "c:\venv\lib\site-packages\rasa_main.py", line 69, in main
set_log_level(log_level)
File “c:\venv\lib\site-packages\rasa\utils\common.py”, line 71, in set_log_level
update_tensorflow_log_level()
File “c:\venv\lib\site-packages\rasa\utils\common.py”, line 111, in update_tensorflow_log_level
import tensorflow as tf
File "c:\venv\lib\site-packages\tensorflow_init.py", line 24, in
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
File “c:\venv\lib\site-packages\tensorflow\python_init_.py”, line 49, in
from tensorflow.python import pywrap_tensorflow
File “c:\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow.py”, line 58, in
from tensorflow.python.pywrap_tensorflow_internal import *
File “c:\venv\lib\site-packages\tensorflow\python\pywrap_tensorflow_internal.py”, line 114
def TFE_ContextOptionsSetAsync(arg1, async):
^
SyntaxError: invalid syntax
Still stuck…is there any solid guideline for windows user?
(venv) C:>pip install tensorflow==1.15
ERROR: Could not find a version that satisfies the requirement tensorflow==1.15 (from versions: none)
ERROR: No matching distribution found for tensorflow==1.15
I HAVE MANAGED TO INSTALL LATEST TENSORFLOW.
FOR THIS, I HAVE TO INSTALL PYTHON 3.6, PREVIOUSLY IT WAS 3.8.
SO, IT SEEMS LATEST TENSORFLOW DOES NOT SUPPORT PYTHON 3.8
SPECIAL THANKS TO << JiteshGaikwad >>
However, I am facing with below problem… could you please help me more…
(venv) C:>rasa init --no-prompt
Traceback (most recent call last):
File “C:\Users\mdraskinur.rashid\AppData\Local\Programs\Python\Python36\lib\runpy.py”, line 193, in run_module_as_main
“main”, mod_spec)
File “C:\Users\mdraskinur.rashid\AppData\Local\Programs\Python\Python36\lib\runpy.py”, line 85, in run_code
exec(code, run_globals)
File "C:\venv\Scripts\rasa.exe_main.py", line 4, in
File "c:\venv\lib\site-packages\rasa_init.py", line 8, in
from rasa.run import run
File “c:\venv\lib\site-packages\rasa\run.py”, line 5, in
from rasa.cli.utils import print_warning
File “c:\venv\lib\site-packages\rasa\cli\utils.py”, line 11, in
from typing import NoReturn
ImportError: cannot import name ‘NoReturn’