chamkank / flask-chatterbot

Simple boilerplate for ChatterBot using Flask
378 stars 263 forks source link

I'm getting an error on deployment #37

Open patricklusaya opened 2 years ago

patricklusaya commented 2 years ago

I'm trying to deploy my bot in pythonanywhere following this video by @chamkank followed every step shown in the video. On installing requirements i get the following error logs

Error logs Collecting ruamel.yaml<=0.15 Downloading ruamel.yaml-0.15.0.tar.gz (247 kB) |████████████████████████████████| 247 kB 266 kB/s ERROR: Command errored out with exit status 1: command: /usr/local/bin/python3.9 -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-tqok7 5ch/ruamel-yaml_c767c7202ae74479b5eaca6954a11404/setup.py'"'"'; __file__='"'"'/tmp/pip-install-tqok75ch/ruamel-yaml_c767c7202a e74479b5eaca6954a11404/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io .StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exe c(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-h6oggpb_ cwd: /tmp/pip-install-tqok75ch/ruamel-yaml_c767c7202ae74479b5eaca6954a11404/ Complete output (11 lines): Traceback (most recent call last): File "<string>", line 1, in <module> File "/tmp/pip-install-tqok75ch/ruamel-yaml_c767c7202ae74479b5eaca6954a11404/setup.py", line 171, in <module> pkg_data = _package_data(__file__.replace('setup.py', '__init__.py')) File "/tmp/pip-install-tqok75ch/ruamel-yaml_c767c7202ae74479b5eaca6954a11404/setup.py", line 150, in _package_data data = literal_eval(u''.join(lines)) File "/tmp/pip-install-tqok75ch/ruamel-yaml_c767c7202ae74479b5eaca6954a11404/setup.py", line 122, in literal_eval return _convert(node_or_string) File "/tmp/pip-install-tqok75ch/ruamel-yaml_c767c7202ae74479b5eaca6954a11404/setup.py", line 69, in _convert if isinstance(node, (Str, Bytes)): NameError: name 'Str' is not defined