Virtual Environment

Managing Python Virtual Environments with Conda/Anaconda, poetry, pyenv, pipenv etc.

2023-01-30. Category & Tags: Conda, Virtual Environment, Pyton

See also the main blog: /learn-python which contains the latest virtual env. manager. 【 USE UV ! 】PYENV # Suggested: use uv venv. installing pyenv fr. source # WARN: Before installing any specific py version: sudo apt install -y python3-pip curl git python3-dev libbz2-dev libssl-dev libsqlite3-dev libreadline-dev lib32readline-dev libffi-dev build-essential zlib1g-dev. (see the common error below for the reason) Run curl [ref]: (manually do it if lacking curl) Note: every user needs to run individually: ...

Python the Language (in case of)

2016-08-21. Category & Tags: Python, Environment, Virtual Environment, UV, Py, Py3, Lang, Language

Related: /jupyter Learn Django python desktop GUI/frontend py code cookbook/reuse plot in py w pyvis Python in Win by MS official tutorial CN 用 Rust 让 numpy、scikit 和 pandas 加速 100 倍!开源 Weld 技术揭秘 PRE-INSTALL: UV, CONDA VS. PIP # Pip requires apt. Thus, pip+apt. Pip chose to live together with apt (or other package manager) as apt is better at managing packages, especially when related to system. Some pip packages requires system (apt) to cooperate, such as uwsgi, graphviz, ffmpeg, gcc, python3-dev. ...