How does a virtual environment work?

This page summarizes the projects mentioned and recommended in the original post on /r/Python

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
  • PDM

    A modern Python package and dependency manager supporting the latest PEP standards

  • pdm and PEP 582 enter the chat

  • pip

    The Python package installer

  • ~/tmp $ python3 -m venv --copies testvenv ~/tmp $ testvenv/bin/pip install xkcdpass Collecting xkcdpass Using cached xkcdpass-1.19.3.tar.gz (2.6 MB) Preparing metadata (setup.py) ... done Installing collected packages: xkcdpass DEPRECATION: xkcdpass is being installed using the legacy 'setup.py install' method, because it does not have a 'pyproject.toml' and the 'wheel' package is not installed. pip 23.1 will enforce this behaviour change. A possible replacement is to enable the '--use-pep517' option. Discussion can be found at https://github.com/pypa/pip/issues/8559 Running setup.py install for xkcdpass ... done Successfully installed xkcdpass-1.19.3 ~/tmp $ testvenv/bin/xkcdpass travesty sizzling untying penpal impish matchbox ~/tmp $ head -n 1 testvenv/bin/xkcdpass #!/home/vinay/tmp/testvenv/bin/python3 ~/tmp $ mv testvenv testvenv2 ~/tmp $ testvenv2/bin/xkcdpass bash: testvenv2/bin/xkcdpass: /home/vinay/tmp/testvenv/bin/python3: bad interpreter: No such file or directory

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts