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
[21/Feb/2019 19:22:26] readthedocs.doc_builder.environments:599[1832]: WARNING (Build) [admin-demo:latest] Command python3.7 -mvirtualenv --no-site-packages --no-download /home/ubuntu/readthedocs.org/user_builds/admin-demo/envs/latest failed:
Traceback (most recent call last):
File "/home/ubuntu/readthedocs.org/readthedocs/doc_builder/environments.py", line 178, in run
env=environment,
File "/usr/lib/python3.6/subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'python3.7': 'python3.7'
Traceback (most recent call last):
File "/home/ubuntu/readthedocs.org/readthedocs/projects/tasks.py", line 558, in run_build
self.setup_python_environment()
File "/home/ubuntu/readthedocs.org/readthedocs/projects/tasks.py", line 784, in setup_python_environment
self.python_env.setup_base()
File "/home/ubuntu/readthedocs.org/readthedocs/doc_builder/python_environments.py", line 258, in setup_base
cwd='$HOME',
File "/home/ubuntu/readthedocs.org/readthedocs/doc_builder/environments.py", line 612, in run
return super().run(*cmd, **kwargs)
File "/home/ubuntu/readthedocs.org/readthedocs/doc_builder/environments.py", line 403, in run
return self.run_command_class(cls=self.command_class, cmd=cmd, **kwargs)
File "/home/ubuntu/readthedocs.org/readthedocs/doc_builder/environments.py", line 618, in run_command_class
return super().run_command_class(*cmd, **kwargs)
File "/home/ubuntu/readthedocs.org/readthedocs/doc_builder/environments.py", line 472, in run_command_class
raise BuildEnvironmentWarning(msg)
readthedocs.doc_builder.exceptions.BuildEnvironmentWarning: Command python3.7 -mvirtualenv --no-site-packages --no-download /home/ubuntu/readthedocs.org/user_builds/admin-demo/envs/latest failed:
Traceback (most recent call last):
File "/home/ubuntu/readthedocs.org/readthedocs/doc_builder/environments.py", line 178, in run
env=environment,
File "/usr/lib/python3.6/subprocess.py", line 709, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.6/subprocess.py", line 1344, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'python3.7': 'python3.7'
Expected Result
Docs build
Actual Result
Error on missing Python 3.7
This was not happening a few days ago when I tried this, using the same setup scripts.
The text was updated successfully, but these errors were encountered:
The docs building is separate from the application. We default to 3.7 in our newest releases. You can use a configuration file to use another python version or change the default settings from readthedocs/settings
Details
This happens trying to trigger a doc build, even for the demo project. Did this on a fresh install on both Ubuntu 18.04 and Amazon Linux 2.
My Ubuntu script:
Error:
Expected Result
Docs build
Actual Result
Error on missing Python 3.7
This was not happening a few days ago when I tried this, using the same setup scripts.
The text was updated successfully, but these errors were encountered: