-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[doc][yba] Installing python and YBA nodes #25563
base: master
Are you sure you want to change the base?
Changes from 1 commit
9f749fa
a23aca7
d1d8cc6
bdece80
a820a2d
f44b08d
b8199d1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,23 +62,23 @@ You need your license file to install YugabyteDB Anywhere. Contact {{% support-p | |
|
||
### Python | ||
|
||
Python v3.8 to v3.11 must be pre-installed. | ||
Python v3.10 to v3.12 must be pre-installed. | ||
|
||
Both python and python3 must symbolically link to Python 3. One way to achieve this is to use alternatives. For example: | ||
|
||
```sh | ||
sudo yum install @python38 -y | ||
sudo yum install @python310 -y | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. idt 3.10 is available in yum, use 3.11 |
||
sudo alternatives --config python | ||
# choose Python 3.8 from list | ||
# choose Python 3.10 from list | ||
|
||
sudo alternatives --config python3 | ||
# choose Python 3.8 from list | ||
# choose Python 3.10 from list | ||
|
||
python -V | ||
# output: Python 3.8.16 | ||
# output: Python 3.10.2 | ||
|
||
python3 -V | ||
# output: Python 3.8.16 | ||
# output: Python 3.10.2 | ||
``` | ||
|
||
#### Permissions | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,6 +33,12 @@ If you are running YBA on a [deprecated OS](../../reference/configuration/operat | |
|
||
{{< /note >}} | ||
|
||
{{< note title="Upgrading YBA on systems that have older versions of Python" >}} | ||
|
||
YBA v2024.1 and later requires Python v3.10-3.12. If you are running YBA on a system with Python earlier than 3.10, you will need to update Python on your system before you can upgrade YBA to v2024.1 or later. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 2025.1 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Or actually 2.25+, bc that will be the preview before 2025.1 released. we don't even have that on docs yet though so maybe this isn't needed? |
||
|
||
{{< /note >}} | ||
|
||
{{<index/block>}} | ||
|
||
{{<index/item | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would leave 3.8 as recommended, and honestly just keep this as 3.8+ I think that's going to be more correct going forward. If somebody complains we can tell them 3.6 still should work but I don't think we want to officially document supporting it bc then people will try to install it.