Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex SpeechKit
  • SpeechKit technology overview
    • About the Python SDK
    • Installing the Python SDK
    • Resolving version conflicts during the installation of Python SDK
    • Authentication in the Python SDK
    • Synchronous recognition using the Python SDK
    • Speech synthesis using the Python SDK
  • Supported audio formats
  • IVR integration
  • Quotas and limits
  • Access management
  • Pricing policy
  1. SDK
  2. Resolving version conflicts during the installation of Python SDK

Resolving version conflicts during the installation of Python SDK

Written by
Yandex Cloud
Updated at December 26, 2023

When you install the yandex-speechkit package, the grpcio-tools version 1.46.3 is installed along with it. If you installed grpcio-tools before (e.g., when going through examples of working with the SpeechKit API), a conflict between the package versions may occur.

Check which version of grpcio-tools you have installed:

pip list | grep grpcio-tools

If the command output contains the grpcio-tools package and its version is higher than 1.46.3, create a virtual environment to avoid a version conflict. Or else, install the yandex-speechkit package with no virtual environment.

To deploy a virtual environment and install the package in it:

  1. Create a directory for your Python SDK project and open it.

  2. Create a virtual environment in this directory:

    python3 -m venv <environment_name>
    

    If you need to create an environment using a specific Python version, specify python<version> instead of python3, e.g., python3.9.

  3. Activate the environment.

    source <environment_name>/bin/activate
    

    You will see the environment name before the input line in the terminal.

  4. Install the yandex-speechkit package using the pip package manager:

    pip install yandex-speechkit
    

Continue working with the Python SDK in the deployed environment. When you are finished, exit the environment by running the deactivate command.

Was the article helpful?

Previous
Installing the Python SDK
Next
Authentication in the Python SDK
© 2025 Direct Cursus Technology L.L.C.