[DOCS] Python 3.7 support removal from docs for master (#19670)
* Python update * update * fix * m suffix removal
This commit is contained in:
parent
318106d17d
commit
f790a3b4f2
@ -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?
|
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:
|
.. _question-104:
|
||||||
|
|
||||||
|
@ -11,7 +11,7 @@ The software was validated on:
|
|||||||
|
|
||||||
- [CMake](https://cmake.org/download/) 3.13 or higher
|
- [CMake](https://cmake.org/download/) 3.13 or higher
|
||||||
- GCC 7.5 or higher to build OpenVINO Runtime
|
- 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.
|
- (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 |
|
| 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:
|
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_EXECUTABLE=`which python3.8` \
|
||||||
-DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.7m.so \
|
-DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython3.8.so \
|
||||||
-DPYTHON_INCLUDE_DIR=/usr/include/python3.7
|
-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:
|
3. To build a wheel package (.whl), enable the `-DENABLE_WHEEL=ON` option in the CMake step above (Step 4), and install requirements:
|
||||||
```sh
|
```sh
|
||||||
|
@ -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.
|
- [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:
|
- 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
|
```sh
|
||||||
% # let's have a look what python versions are available in brew
|
% # let's have a look what python versions are available in brew
|
||||||
% brew search python
|
% brew search python
|
||||||
|
@ -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.
|
- [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:
|
- 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
|
```sh
|
||||||
% # let's have a look what python versions are available in brew
|
% # let's have a look what python versions are available in brew
|
||||||
% brew search python
|
% brew search python
|
||||||
|
@ -43,9 +43,9 @@ git clone --recurse-submodules --single-branch --branch=master https://github.co
|
|||||||
via `pip3`, adding the following options:
|
via `pip3`, adding the following options:
|
||||||
```sh
|
```sh
|
||||||
-DENABLE_PYTHON=ON \
|
-DENABLE_PYTHON=ON \
|
||||||
-DPYTHON_EXECUTABLE=/usr/bin/python3.7 \
|
-DPYTHON_EXECUTABLE=/usr/bin/python3.8 \
|
||||||
-DPYTHON_LIBRARY=/usr/lib/arm-linux-gnueabihf/libpython3.7m.so \
|
-DPYTHON_LIBRARY=/usr/lib/arm-linux-gnueabihf/libpython3.8.so \
|
||||||
-DPYTHON_INCLUDE_DIR=/usr/include/python3.7
|
-DPYTHON_INCLUDE_DIR=/usr/include/python3.8
|
||||||
```
|
```
|
||||||
|
|
||||||
## See also
|
## See also
|
||||||
|
@ -11,7 +11,7 @@ Supported configurations:
|
|||||||
- [CMake](https://cmake.org/download/) 3.13 or higher
|
- [CMake](https://cmake.org/download/) 3.13 or higher
|
||||||
- Microsoft Visual Studio 2019 or higher, version 16.3 or later
|
- Microsoft Visual Studio 2019 or higher, version 16.3 or later
|
||||||
> **NOTE**: Native Microsoft Visual Studio for WoA is available since 2022.
|
> **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.
|
> **NOTE**: Python for ARM64 is available since [3.11](https://www.python.org/downloads/windows/) version.
|
||||||
- [Git for Windows*]
|
- [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)
|
- (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)
|
||||||
|
@ -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.
|
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::
|
.. note::
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`__
|
* `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)
|
* 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
|
Installing OpenVINO Runtime
|
||||||
|
@ -40,14 +40,14 @@
|
|||||||
* `Homebrew <https://brew.sh/>`_
|
* `Homebrew <https://brew.sh/>`_
|
||||||
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`__
|
* `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)
|
* 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
|
.. tab-item:: macOS
|
||||||
:sync: macos
|
:sync: macos
|
||||||
|
|
||||||
* `Homebrew <https://brew.sh/>`_
|
* `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).
|
* `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.
|
* 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)
|
* (Optional) Apple Xcode IDE (not required for OpenVINO™, but useful for development)
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@
|
|||||||
:sync: software
|
:sync: software
|
||||||
|
|
||||||
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`__
|
* `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:
|
* GCC:
|
||||||
|
|
||||||
.. tab-set::
|
.. tab-set::
|
||||||
|
@ -28,7 +28,7 @@
|
|||||||
:sync: software-requirements
|
: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).
|
* `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
|
* 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)
|
* (Optional) Apple Xcode IDE (not required for OpenVINO™, but useful for development)
|
||||||
|
|
||||||
|
@ -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/>`__
|
* `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)
|
* `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::
|
.. note::
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@
|
|||||||
|
|
||||||
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`_
|
* `CMake 3.13 or higher, 64-bit <https://cmake.org/download/>`_
|
||||||
* GCC 8.2.0
|
* 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
|
Install OpenVINO Runtime
|
||||||
|
@ -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).
|
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:
|
To resolve missing external dependency on Ubuntu* 18.04, execute the following command:
|
||||||
```sh
|
```sh
|
||||||
sudo apt-get install libpython3.7
|
sudo apt-get install libpython3.8
|
||||||
```
|
```
|
||||||
|
|
||||||
## Additional Resources
|
## Additional Resources
|
||||||
|
@ -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).
|
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:
|
To resolve missing external dependency on Ubuntu*, execute the following command:
|
||||||
```sh
|
```sh
|
||||||
sudo apt-get install libpython3.7
|
sudo apt-get install libpython3.8
|
||||||
```
|
```
|
||||||
|
|
||||||
## Additional Resources
|
## Additional Resources
|
||||||
|
@ -113,7 +113,7 @@
|
|||||||
|
|
||||||
.. dropdown:: Check the versions of Python and PIP
|
.. 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:
|
If your Python version does not meet the requirements, update Python:
|
||||||
|
|
||||||
|
@ -30,18 +30,18 @@ The table below lists the supported operating systems and Python versions.
|
|||||||
| | (64-bit |
|
| | (64-bit |
|
||||||
| | ) <https://www.python.org/>`__ |
|
| | ) <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 |
|
| 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 | |
|
| 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
|
OpenVINO Notebooks also require Git. Follow the guide below for your
|
||||||
@ -57,7 +57,7 @@ Installing prerequisites
|
|||||||
|
|
||||||
1. **Install Python**
|
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.
|
Run the installer by double clicking it. Follow the installation steps to set up the software.
|
||||||
|
|
||||||
|
@ -73,7 +73,7 @@ The software dependencies are:
|
|||||||
* clang 3.5 or later
|
* clang 3.5 or later
|
||||||
* [Intel® C++ Compiler](https://software.intel.com/en-us/intel-parallel-studio-xe) 17.0 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
|
* 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
|
## Trademark Information
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ Post-Training Optimization Tool includes standalone command-line tool and Python
|
|||||||
|
|
||||||
### System requirements
|
### System requirements
|
||||||
- Ubuntu 18.04 or later (64-bit)
|
- Ubuntu 18.04 or later (64-bit)
|
||||||
- Python 3.7 or later
|
- Python 3.8 or later
|
||||||
- OpenVINO
|
- OpenVINO
|
||||||
|
|
||||||
### Installation (Temporary)
|
### Installation (Temporary)
|
||||||
|
Loading…
Reference in New Issue
Block a user