Skip to main content

4 posts tagged with "pyenv"

pyenv tag description

View All Tags

Poetry Fails to Install Multidict: Pyenv, Compilers, and Wheels

· 6 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

If your poetry install command is failing specifically when trying to install multidict (or packages that depend on it, like aiohttp or discord.py), the root cause is almost always a failure to compile the optional C extensions for the package.

Since multidict offers pre-compiled binaries (wheels) for standard Python versions on common operating systems, a compilation error indicates one of two things: the wheel is unavailable for your specific setup, or the local build tools are missing. Your use of pyenv often exacerbates the issue by complicating the environment setup.

Switching Python Versions: Complete Developer Guide to pyenv, Poetry, CLI Cheatsheet, and Troubleshooting

· 9 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Managing active Python interpreters is a fundamental workflow requirement, particularly when developing across multiple backend microservices with competing runtime constraints or legacy dependencies. Directly altering system Python binaries breaks core OS utilities.

This guide provides a comprehensive manual on how to switch Python versions safely, featuring pyenv (installation, precedence mechanics, CLI cheatsheet, and troubleshooting), Poetry (project-level virtual environments), operating system overrides (Linux, macOS, Windows), and containerized Docker environments.

Choosing the right Python environment and package management tool in 2025

· 7 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Choosing the right Python environment and package management tool in 2025 depends on your project's complexity and your team's workflow. The tools available can be categorized into two main groups: those that manage Python versions (pyenv, asdf) and those that manage project dependencies (venv, virtualenv, Poetry). Combining these tools is often the most effective approach.

Install pyenv on MacOs

· 6 min read
Serhii Hrekov
Senior Software Engineer & System Architect specializing in Python, Web Systems, Cloud Infrastructure & Automation

Homebrew is the recommended and easiest way to install pyenv on macOS, but you can install it without Homebrew by cloning the repository from GitHub. This method requires a few extra steps, including manually configuring your shell and installing dependencies.