You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug python -m scripts.start gives an error when trying to setup development evironment.
To Reproduce
Steps to reproduce the behavior:
After running bash scripts/install_prerequisites.sh
Run python -m scripts.start to install all python modules
See error
Observed behavior
Error on running Checking if enum34 is installed. Checking if pip is installed on the local machine DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/lib/python2.7/dist-packages/enum/README' Consider using the --user` option or check the permissions.
Refer to https://github.com/oppia/oppia/wiki/Troubleshooting
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/ishanware77/Desktop/opensource/oppia/scripts/start.py", line 33, in
install_third_party_libs.main()
File "scripts/install_third_party_libs.py", line 238, in main
ensure_system_python_libraries_are_installed(package, version)
File "scripts/install_third_party_libs.py", line 202, in ensure_system_python_libraries_are_installed
install_backend_python_libs.pip_install_to_system(package, version)
File "scripts/install_backend_python_libs.py", line 416, in pip_install_to_system
'install', '%s==%s' % (package, version)])
File "scripts/install_backend_python_libs.py", line 393, in _run_pip_command
raise Exception('Error installing package')
Exception: Error installing package`
Screenshots
Desktop (please complete the following information; delete this section if the issue does not arise on desktop):
OS: Ubuntu 18.04
Additional context
I had set up my development environment 6 months back, it worked fine then.
However, when I try to set it up again it didn't work. I have followed all steps in the installation guide for Linux. I think the python start scripts can be rewritten.
The text was updated successfully, but these errors were encountered:
@U8NWXD I am facing a similar issue. Didn't find anything similar on the troubleshooting page.
Refer to https://github.com/oppia/oppia/wiki/Troubleshooting
Traceback (most recent call last):
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/akshaynandwana/Desktop/oppia-web/oppia/scripts/start.py", line 35, in <module>
install_third_party_libs.main()
File "scripts/install_third_party_libs.py", line 235, in main
ensure_pip_library_is_installed(package, version, path)
File "scripts/install_third_party_libs.py", line 189, in ensure_pip_library_is_installed
'%s==%s' % (package, version), exact_lib_path)
File "scripts/install_backend_python_libs.py", line 520, in pip_install
] + additional_pip_args)
File "scripts/install_backend_python_libs.py", line 473, in _run_pip_command
raise Exception('Error installing package')
Exception: Error installing package
Describe the bug
python -m scripts.start
gives an error when trying to setup development evironment.To Reproduce
Steps to reproduce the behavior:
bash scripts/install_prerequisites.sh
python -m scripts.start
to install all python modulesObserved behavior
Error on running
Checking if enum34 is installed. Checking if pip is installed on the local machine DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality. ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/lib/python2.7/dist-packages/enum/README' Consider using the
--user` option or check the permissions.Refer to https://github.com/oppia/oppia/wiki/Troubleshooting
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/home/ishanware77/Desktop/opensource/oppia/scripts/start.py", line 33, in
install_third_party_libs.main()
File "scripts/install_third_party_libs.py", line 238, in main
ensure_system_python_libraries_are_installed(package, version)
File "scripts/install_third_party_libs.py", line 202, in ensure_system_python_libraries_are_installed
install_backend_python_libs.pip_install_to_system(package, version)
File "scripts/install_backend_python_libs.py", line 416, in pip_install_to_system
'install', '%s==%s' % (package, version)])
File "scripts/install_backend_python_libs.py", line 393, in _run_pip_command
raise Exception('Error installing package')
Exception: Error installing package`
Screenshots
Desktop (please complete the following information; delete this section if the issue does not arise on desktop):
Additional context
I had set up my development environment 6 months back, it worked fine then.
However, when I try to set it up again it didn't work. I have followed all steps in the installation guide for Linux. I think the python start scripts can be rewritten.
The text was updated successfully, but these errors were encountered: