So I have create a new virtualenv
which uses 64-bit python version 3.7.9.
I have run rasa init
which worked fine, however when I attempt to train the model I get the following error:
(venv) PS C:\Users\Carl\Desktop\local_athena> rasa train
Traceback (most recent call last):
File “C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\runpy.py”, line 193, in _run_module_as_main
"__main__", mod_spec)
File “C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\runpy.py”, line 85, in _run_code
exec(code, run_globals)
File “C:\Users\Carl\Desktop\local_athena\venv\Scripts\rasa.exe_main_.py”, line 7, in
File “c:\users\carl\desktop\local_athena\venv\lib\site-packages\rasa_main_.py”, line 117, in main
cmdline_arguments.func(cmdline_arguments)
File “c:\users\carl\desktop\local_athena\venv\lib\site-packages\rasa\cli\train.py”, line 59, in
train_parser.set_defaults(func=lambda args: run_training(args, can_exit=True))
File “c:\users\carl\desktop\local_athena\venv\lib\site-packages\rasa\cli\train.py”, line 103, in run_training
finetuning_epoch_fraction=args.epoch_fraction,
File “c:\users\carl\desktop\local_athena\venv\lib\site-packages\tensorflow\python\keras\models.py”, line 26, in
from tensorflow.python.keras.engine import functional
File “c:\users\carl\desktop\local_athena\venv\lib\site-packages\tensorflow\python\keras\engine\functional.py”, line 38, in
from tensorflow.python.keras.engine import training as training_lib
File “c:\users\carl\desktop\local_athena\venv\lib\site-packages\tensorflow\python\keras\engine\training.py”, line 50, in
from tensorflow.python.keras.engine import data_adapter
File “c:\users\carl\desktop\local_athena\venv\lib\site-packages\tensorflow\python\keras\engine\data_adapter.py”, line 56, in
from scipy import sparse as scipy_sparse # pylint: disable=g-import-not-at-top
File “c:\users\carl\desktop\local_athena\venv\lib\site-packages\scipy_init_.py”, line 136, in
from . import _distributor_init
File “c:\users\carl\desktop\local_athena\venv\lib\site-packages\scipy_distributor_init.py”, line 61, in
WinDLL(os.path.abspath(filename))
File “C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.7_3.7.2544.0_x64__qbz5n2kfra8p0\lib\ctypes_init_.py”, line 364, in init
self._handle = _dlopen(self._name, mode)
OSError: [WinError 126] The specified module could not be found
After many hours of research I believe this is something to do with the scipy library version. I have downgraded that from 1.7.1 to 1.4.1 and still get the error. My versions are as follows:
absl-py==0.13.0 aio-pika==6.8.0 aiofiles==0.7.0 aiohttp==3.7.4 aiormq==3.3.1 APScheduler==3.7.0 astunparse==1.6.3 async-generator==1.10 async-timeout==3.0.1 attrs==21.2.0 bidict==0.21.4 blis==0.7.5 boto3==1.19.4 botocore==1.22.4 cachetools==4.2.4 catalogue==2.0.6 certifi==2021.10.8 cffi==1.15.0 chardet==3.0.4 charset-normalizer==2.0.7 click==8.0.3 cloudpickle==1.6.0 colorama==0.4.4 colorclass==2.2.0 coloredlogs==15.0.1 colorhash==1.0.3 cryptography==35.0.0 cycler==0.10.0 cymem==2.0.6 decorator==5.1.0 dm-tree==0.1.6 dnspython==1.16.0 docopt==0.6.2 fbmessenger==6.0.0 filelock==3.3.1 future==0.18.2 gast==0.3.3 google-auth==2.3.2 google-auth-oauthlib==0.4.6 google-pasta==0.2.0 greenlet==1.1.2 grpcio==1.41.1 h11==0.9.0 h5py==2.10.0 httpcore==0.11.1 httplib2==0.20.1 httptools==0.3.0 httpx==0.15.4 humanfriendly==10.0 idna==3.3 importlib-metadata==4.8.1 jieba==0.42.1 Jinja2==3.0.2 jmespath==0.10.0 joblib==1.0.1 jsonpickle==2.0.0 jsonschema==3.2.0 kafka-python==2.0.2 Keras-Preprocessing==1.1.2 kiwisolver==1.3.2 Markdown==3.3.4 MarkupSafe==2.0.1 matplotlib==3.3.4 mattermostwrapper==2.2 multidict==5.2.0 murmurhash==1.0.6 networkx==2.5.1 numpy==1.18.5 oauth2client==4.1.3 oauthlib==3.1.1 opt-einsum==3.3.0 packaging==20.9 pamqp==2.3.0 pathy==0.6.1 Pillow==8.4.0 preshed==3.0.6 prompt-toolkit==2.0.10 protobuf==3.19.0 psycopg2-binary==2.9.1 pyasn1==0.4.8 pyasn1-modules==0.2.8 pycparser==2.20 pydantic==1.8.2 pydot==1.4.2 PyJWT==2.3.0 pykwalify==1.8.0 pymongo==3.10.1 pyparsing==3.0.1 pyreadline==2.1 pyrsistent==0.18.0 pyTelegramBotAPI==3.8.3 python-crfsuite==0.9.7 python-dateutil==2.8.2 python-engineio==4.3.0 python-socketio==5.4.1 pytz==2021.3 questionary==1.9.0 rasa==2.8.0 rasa-sdk==2.8.1 redis==3.5.3 regex==2021.7.6 requests==2.26.0 requests-oauthlib==1.3.0 requests-toolbelt==0.9.1 rfc3986==1.5.0 rocketchat-API==1.16.0 rsa==4.7.2 ruamel.yaml==0.16.13 ruamel.yaml.clib==0.2.6 s3transfer==0.5.0 sacremoses==0.0.46 sanic==20.12.4 Sanic-Cors==0.10.0.post3 sanic-jwt==1.7.0 Sanic-Plugins-Framework==0.9.5 scikit-learn==0.24.2 scipy==1.7.1 sentencepiece==0.1.96 sentry-sdk==1.2.0 six==1.16.0 sklearn-crfsuite==0.3.6 slackclient==2.9.3 smart-open==5.2.1 sniffio==1.2.0 spacy==3.1.3 spacy-legacy==3.0.8 SQLAlchemy==1.4.26 srsly==2.4.2 tabulate==0.8.9 tensorboard==2.7.0 tensorboard-data-server==0.6.1 tensorboard-plugin-wit==1.8.0 tensorflow==2.3.4 tensorflow-addons==0.13.0 tensorflow-estimator==2.3.0 tensorflow-hub==0.12.0 tensorflow-probability==0.13.0 termcolor==1.1.0 terminaltables==3.1.0 thinc==8.0.11 threadpoolctl==3.0.0 tokenizers==0.7.0 tqdm==4.62.3 transformers==2.11.0 twilio==6.50.1 typeguard==2.13.0 typer==0.4.0 typing-extensions==3.10.0.2 tzlocal==2.1 ujson==4.2.0 urllib3==1.26.7 wasabi==0.8.2 wcwidth==0.2.5 webexteamssdk==1.6 websockets==8.1 Werkzeug==2.0.2 wrapt==1.13.2 yarl==1.7.0 zipp==3.6.0
Can anyone advise on how to get past this? I am in desperate need.