oppia / oppia-web-developer-docs

Repo for Web developer documentation on Oppia. For contribution instructions, see: https://github.com/oppia/oppia/wiki/Wiki#contributing-to-the-wiki
Apache License 2.0
12 stars 99 forks source link

(Edited) Update the troubleshooting page on the wiki to cover errors when installing using Python 2.7. #206

Open Sadasiva20 opened 1 year ago

Sadasiva20 commented 1 year ago

When running the Oppia development server on the linux vm , I am running into the following error: Traceback (most recent call last): File "/usr/lib/python2.7/runpy.py", line 163, in _run_module_as_main mod_name, _Error) File "/usr/lib/python2.7/runpy.py", line 119, in _get_module_details code = loader.get_code(mod_name) File "/usr/lib/python2.7/pkgutil.py", line 281, in get_code self.code = compile(source, self.filename, 'exec') File "/home/joe/Documents/opensource/oppia/scripts/start.py", line 86 def alert_on_exit() -> Iterator[None]: ^ SyntaxError: invalid syntax

Thanks.

asxcode commented 1 year ago

@Sadasiva20 you're trying to run it using Python 2.7, use the recommended version for Oppia or follow installation instructions for Linux

Sadasiva20 commented 1 year ago

Thank you, I have reinstalled Oppia.

seanlip commented 11 months ago

Note: Updated the title of this issue to note this on the troubleshooting page of the wiki. Moving it to the wiki repo too.