[DOCS] Python 3.7 support removal from docs for master (#19670)

* Python update

* update

* fix

* m suffix removal
This commit is contained in:
Maciej Smyk 2023-09-21 15:54:10 +02:00 committed by GitHub
parent 318106d17d
commit f790a3b4f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
19 changed files with 32 additions and 32 deletions

View File

@ -933,7 +933,7 @@ Q102. What does the message "Operation _contrib_box_nms is not supported ..." me
Q103. What does the message "ModelOptimizer is not able to parse *.caffemodel" mean?
#####################################################################################################################################################
**A:** If a ``*.caffemodel`` file exists and is correct, the error occurred possibly because of the use of Python protobuf implementation. In some cases, error messages may appear during model parsing, for example: "``utf-8`` codec can't decode byte 0xe0 in position 4: invalid continuation byte in field: mo_caffe.SpatialTransformerParameter.transform_type". You can either use a newer Python version (3.7 - 3.11) or build the ``cpp`` implementation of ``protobuf`` yourself for your version of Python. For the complete instructions about building ``protobuf`` from sources, see the appropriate section in the :doc:`Converting Models with Model Optimizer <openvino_docs_MO_DG_Deep_Learning_Model_Optimizer_DevGuide>` guide.
**A:** If a ``*.caffemodel`` file exists and is correct, the error occurred possibly because of the use of Python protobuf implementation. In some cases, error messages may appear during model parsing, for example: "``utf-8`` codec can't decode byte 0xe0 in position 4: invalid continuation byte in field: mo_caffe.SpatialTransformerParameter.transform_type". You can either use a newer Python version (3.8 - 3.11) or build the ``cpp`` implementation of ``protobuf`` yourself for your version of Python. For the complete instructions about building ``protobuf`` from sources, see the appropriate section in the :doc:`Converting Models with Model Optimizer <openvino_docs_MO_DG_Deep_Learning_Model_Optimizer_DevGuide>` guide.
.. _question-104:

View File

@ -11,7 +11,7 @@ The software was validated on:
- [CMake](https://cmake.org/download/) 3.13 or higher
- GCC 7.5 or higher to build OpenVINO Runtime
- Python 3.7 - 3.11 for OpenVINO Runtime Python API
- Python 3.8 - 3.11 for OpenVINO Runtime Python API
- (Optional) Install Intel® Graphics Compute Runtime for OpenCL™ Driver package to enable inference on Intel integrated GPUs. Select a driver package from the table below depending on what version of Ubuntu you are installing on.
| Ubuntu | Driver package |
@ -74,9 +74,9 @@ You can use the following additional build options:
```
2. Enable the `-DENABLE_PYTHON=ON` option in the CMake step above (Step 4). To specify an exact Python version, use the following options:
```
-DPYTHON_EXECUTABLE=`which python3.7` \
-DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.7m.so \
-DPYTHON_INCLUDE_DIR=/usr/include/python3.7
-DPYTHON_EXECUTABLE=`which python3.8` \
-DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.8.so \
-DPYTHON_INCLUDE_DIR=/usr/include/python3.8
```
3. To build a wheel package (.whl), enable the `-DENABLE_WHEEL=ON` option in the CMake step above (Step 4), and install requirements:
```sh

View File

@ -14,7 +14,7 @@ The software was validated on:
- [brew](https://brew.sh) package manager to install additional dependencies. Use [install brew](https://brew.sh) guide to achieve this.
- Installation step for python and python libraries varies depending on the host architecture:
- **arm64** Python 3.7 - 3.11 for the OpenVINO Runtime Python API, Development tools (Model Optimizer, POT and others):
- **arm64** Python 3.8 - 3.11 for the OpenVINO Runtime Python API, Development tools (Model Optimizer, POT and others):
```sh
% # let's have a look what python versions are available in brew
% brew search python

View File

@ -12,7 +12,7 @@ The software was validated on:
- [brew](https://brew.sh) package manager to install additional dependencies. Use [install brew](https://brew.sh) guide to achieve this.
- Installation step for python and python libraries varies depending on the host architecture:
- **x86_64** Python 3.7 - 3.11 for the OpenVINO Runtime Python API, Development tools (Model Optimizer, POT and others):
- **x86_64** Python 3.8 - 3.11 for the OpenVINO Runtime Python API, Development tools (Model Optimizer, POT and others):
```sh
% # let's have a look what python versions are available in brew
% brew search python

View File

@ -43,9 +43,9 @@ git clone --recurse-submodules --single-branch --branch=master https://github.co
via `pip3`, adding the following options:
```sh
-DENABLE_PYTHON=ON \
-DPYTHON_EXECUTABLE=/usr/bin/python3.7 \
-DPYTHON_LIBRARY=/usr/lib/arm-linux-gnueabihf/libpython3.7m.so \
-DPYTHON_INCLUDE_DIR=/usr/include/python3.7
-DPYTHON_EXECUTABLE=/usr/bin/python3.8 \
-DPYTHON_LIBRARY=/usr/lib/arm-linux-gnueabihf/libpython3.8.so \
-DPYTHON_INCLUDE_DIR=/usr/include/python3.8
```
## See also

View File

@ -11,7 +11,7 @@ Supported configurations:
- [CMake](https://cmake.org/download/) 3.13 or higher
- Microsoft Visual Studio 2019 or higher, version 16.3 or later
> **NOTE**: Native Microsoft Visual Studio for WoA is available since 2022.
- Python 3.7 - 3.11 for OpenVINO Runtime Python API
- Python 3.8 - 3.11 for OpenVINO Runtime Python API
> **NOTE**: Python for ARM64 is available since [3.11](https://www.python.org/downloads/windows/) version.
- [Git for Windows*]
- (Windows on ARM only) [LLVM for Windows on ARM (WoA)](https://github.com/llvm/llvm-project/releases/download/llvmorg-15.0.6/LLVM-15.0.6-woa64.exe)

View File

@ -16,7 +16,7 @@ OpenVINO Development Tools is a set of utilities that make it easy to develop an
The instructions on this page show how to install OpenVINO Development Tools. If you are a Python developer, it only takes a few simple steps to install the tools with PyPI. If you are developing in C/C++, OpenVINO Runtime must be installed separately before installing OpenVINO Development Tools.
In both cases, Python 3.7 - 3.11 needs to be installed on your machine before starting.
In both cases, Python 3.8 - 3.11 needs to be installed on your machine before starting.
.. note::

View File

@ -34,7 +34,7 @@
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`__
* GCC 7.5.0 (for Ubuntu 18.04), GCC 9.3.0 (for Ubuntu 20.04) or GCC 11.3.0 (for Ubuntu 22.04)
* `Python 3.7 - 3.11, 64-bit <https://www.python.org/downloads/>`__
* `Python 3.8 - 3.11, 64-bit <https://www.python.org/downloads/>`__
Installing OpenVINO Runtime

View File

@ -40,14 +40,14 @@
* `Homebrew <https://brew.sh/>`_
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`__
* GCC 7.5.0 (for Ubuntu 18.04), GCC 9.3.0 (for Ubuntu 20.04) or GCC 11.3.0 (for Ubuntu 22.04)
* `Python 3.7 - 3.10, 64-bit <https://www.python.org/downloads/>`__
* `Python 3.8 - 3.10, 64-bit <https://www.python.org/downloads/>`__
.. tab-item:: macOS
:sync: macos
* `Homebrew <https://brew.sh/>`_
* `CMake 3.13 or higher <https://cmake.org/download/>`__ (choose "macOS 10.13 or later"). Add ``/Applications/CMake.app/Contents/bin`` to path (for default installation).
* `Python 3.7 - 3.11 <https://www.python.org/downloads/mac-osx/>`__ . Install and add it to path.
* `Python 3.8 - 3.11 <https://www.python.org/downloads/mac-osx/>`__ . Install and add it to path.
* Apple Xcode Command Line Tools. In the terminal, run ``xcode-select --install`` from any directory to install it.
* (Optional) Apple Xcode IDE (not required for OpenVINO™, but useful for development)

View File

@ -50,7 +50,7 @@
:sync: software
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`__
* `Python 3.7 - 3.11, 64-bit <https://www.python.org/downloads/>`__
* `Python 3.8 - 3.11, 64-bit <https://www.python.org/downloads/>`__
* GCC:
.. tab-set::

View File

@ -28,7 +28,7 @@
:sync: software-requirements
* `CMake 3.13 or higher <https://cmake.org/download/>`__ (choose "macOS 10.13 or later"). Add ``/Applications/CMake.app/Contents/bin`` to path (for default install).
* `Python 3.7 - 3.11 <https://www.python.org/downloads/mac-osx/>`__ (choose 3.7 - 3.11). Install and add to path.
* `Python 3.8 - 3.11 <https://www.python.org/downloads/mac-osx/>`__ (choose 3.8 - 3.11). Install and add to path.
* Apple Xcode Command Line Tools. In the terminal, run ``xcode-select --install`` from any directory
* (Optional) Apple Xcode IDE (not required for OpenVINO™, but useful for development)

View File

@ -38,7 +38,7 @@ System Requirements
* `Microsoft Visual Studio 2019 with MSBuild <https://visualstudio.microsoft.com/vs/older-downloads/>`__ or `Microsoft Visual Studio 2022 <http://visualstudio.microsoft.com/ downloads/>`__
* `CMake 3.14 or higher, 64-bit <https://cmake.org/download/>`__ (optional, only required for building sample applications)
* `Python 3.7 - 3.11, 64-bit <https://www.python.org/downloads/windows/>`__
* `Python 3.8 - 3.11, 64-bit <https://www.python.org/downloads/windows/>`__
.. note::

View File

@ -37,7 +37,7 @@
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`_
* GCC 8.2.0
* `Python 3.7 - 3.11, 64-bit <https://www.python.org/downloads/>`_
* `Python 3.8 - 3.11, 64-bit <https://www.python.org/downloads/>`_
Install OpenVINO Runtime

View File

@ -170,11 +170,11 @@ alias pip='noglob pip'
On Windows*, some libraries are necessary to run OpenVINO. To resolve this issue, install the [C++ redistributable (.exe)](https://aka.ms/vs/17/release/vc_redist.x64.exe). You can also view a full download list on the [official support page](https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist).
### ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
### ImportError: libpython3.8.so.1.0: cannot open shared object file: No such file or directory
To resolve missing external dependency on Ubuntu* 18.04, execute the following command:
```sh
sudo apt-get install libpython3.7
sudo apt-get install libpython3.8
```
## Additional Resources

View File

@ -89,11 +89,11 @@ Users in China might encounter errors while downloading sources via PIP during O
On Windows*, some libraries are necessary to run OpenVINO. To resolve this issue, install the [C++ redistributable (.exe)](https://aka.ms/vs/17/release/vc_redist.x64.exe). You can also view a full download list on the [official support page](https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist).
### ImportError: libpython3.7m.so.1.0: cannot open shared object file: No such file or directory
### ImportError: libpython3.8.so.1.0: cannot open shared object file: No such file or directory
To resolve missing external dependency on Ubuntu*, execute the following command:
```sh
sudo apt-get install libpython3.7
sudo apt-get install libpython3.8
```
## Additional Resources

View File

@ -113,7 +113,7 @@
.. dropdown:: Check the versions of Python and PIP
To check your Python version, run ``python -VV`` or ``python --version``. The supported Python versions should be 64-bit and between 3.7 and 3.11. If you are using Python 3.6, you are recommended to upgrade the version to 3.7 or higher.
To check your Python version, run ``python -VV`` or ``python --version``. The supported Python versions should be 64-bit and between 3.8 and 3.11. If you are using Python 3.7, you are recommended to upgrade the version to 3.8 or higher.
If your Python version does not meet the requirements, update Python:

View File

@ -30,18 +30,18 @@ The table below lists the supported operating systems and Python versions.
| | (64-bit |
| | ) <https://www.python.org/>`__ |
+=====================================+================================+
| Ubuntu 18.04 LTS | 3.7, 3.8, 3.9, 3.10. 3.11 |
| Ubuntu 18.04 LTS | 3.8, 3.9, 3.10. 3.11 |
+-------------------------------------+--------------------------------+
| Ubuntu 20.04 LTS | 3.7, 3.8, 3.9, 3.10, 3.11 |
| Ubuntu 20.04 LTS | 3.8, 3.9, 3.10, 3.11 |
+-------------------------------------+--------------------------------+
| Red Hat Enterprise Linux 8 | 3.8, 3.9, 3.10, 3.11 |
+-------------------------------------+--------------------------------+
| macOS 10.15.x versions | 3.7, 3.8, 3.9, 3.10, 3.11 |
| macOS 10.15.x versions | 3.8, 3.9, 3.10, 3.11 |
+-------------------------------------+--------------------------------+
| Windows 10 Pro, Enterprise | 3.7, 3.8, 3.9, 3.10, 3.11 |
| Windows 10 Pro, Enterprise | 3.8, 3.9, 3.10, 3.11 |
| or Education editions | |
+-------------------------------------+--------------------------------+
| Windows Server 2016 or higher | 3.7, 3.8, 3.9, 3.10, 3.11 |
| Windows Server 2016 or higher | 3.8, 3.9, 3.10, 3.11 |
+-------------------------------------+--------------------------------+
OpenVINO Notebooks also require Git. Follow the guide below for your
@ -57,7 +57,7 @@ Installing prerequisites
1. **Install Python**
Download 64 bit version of Python software (3.7, 3.8, 3.9, 3.10, 3.11) from `python.org <https://www.python.org/downloads/windows/>`__
Download 64 bit version of Python software (3.8, 3.9, 3.10, 3.11) from `python.org <https://www.python.org/downloads/windows/>`__
Run the installer by double clicking it. Follow the installation steps to set up the software.

View File

@ -73,7 +73,7 @@ The software dependencies are:
* clang 3.5 or later
* [Intel® C++ Compiler](https://software.intel.com/en-us/intel-parallel-studio-xe) 17.0 or later
* Visual C++ 2015 (MSVC++ 19.0) or later
- [python™](https://www.python.org/downloads/) 3.7 or later.
- [python™](https://www.python.org/downloads/) 3.8 or later.
## Trademark Information

View File

@ -20,7 +20,7 @@ Post-Training Optimization Tool includes standalone command-line tool and Python
### System requirements
- Ubuntu 18.04 or later (64-bit)
- Python 3.7 or later
- Python 3.8 or later
- OpenVINO
### Installation (Temporary)