Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I'm getting an error on deployment #37

Open
patricklusaya opened this issue Aug 29, 2022 · 0 comments
Open

I'm getting an error on deployment #37

patricklusaya opened this issue Aug 29, 2022 · 0 comments

Comments

@patricklusaya
Copy link

patricklusaya commented Aug 29, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant