Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
cc78a2c2
Commit
cc78a2c2
authored
Apr 20, 2022
by
Laurențiu Nicola
Committed by
Julien Osman
Apr 21, 2022
Browse files
DOC: Be more specific on the version for each platform
parent
9e446019
Changes
1
Hide whitespace changes
Inline
Side-by-side
Packaging/Files/setup_python.sh
View file @
cc78a2c2
...
...
@@ -29,8 +29,8 @@ python_version_check() {
python_check_failed
()
{
printf
%s
\\
n
"*****Error occurred during installation******"
printf
%s
\\
n
"OTB python bindings normally require python 3.8
(or
3.7
for
windows
users) but current
\
detected python version is
$python_version
"
printf
%s
\\
n
"OTB python bindings normally require python 3.8
on Linux and MacOS and
3.7
on
windows
,
\
but current
detected python version is
$python_version
"
printf
%s
\\
n
"If you have python 3.8 (or 3.7 for win users) installed in your system you should
\
set OTB_PYTHON_EXE and re-run this installation script."
printf
%s
\\
n
"eg: OTB_PYTHON_EXE=/path/to/python3 ./OTB-X.Y-Linux64.run"
...
...
@@ -69,7 +69,7 @@ else # case where user provides an OTB_PYTHON_EXE
if
[
!
"
$python_major_version
"
-eq
3
]
||
[
!
"
$python_minor_version
"
-eq
5
]
then
printf
%s
\\
n
"*****Warning******"
printf
%s
\\
n
"OTB python bindings normally require python3.8
(or 3.7 for windows users)
."
printf
%s
\\
n
"OTB python bindings normally require python3.8
on Linux and MacOS and 3.7 on Microsoft Windows
."
printf
%s
\\
n
"The version of OTB_PYTHON_EXE (
$OTB_PYTHON_EXE
) is
\
$python_version
."
printf
%s
\\
n
"This case is undefined unless you are sure the packages were
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment