Python Forum

Full Version: Setting Up Python on New Debian 12 Install
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(Nov-01-2024, 09:50 PM)jogl Wrote: [ -> ]What O/S are you running? Is it a virtual machine?
It's VirtualBox with Mint distro,pyenv work the same.

uv is the new Python package and project manager,it replace pyenv and lot of other stuff.
Quote:馃殌 A single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more.
Here on Windows same on Linux,can start with no Python installed on OS.
Here it downloads and install Python 3.13.
G:\div_code\py_313
位 uv venv --python 3.13.0
Using CPython 3.13.0
Creating virtual environment at: .venv
Activate with: .venv\Scripts\activate
 
G:\div_code\py_313
位 .venv\Scripts\activate
 
G:\div_code\py_313
(py_313) 位 python --version
Python 3.13.0
Eg install Request it's fast馃殌
G:\div_code\py_313
(py_313) 位 uv pip install requests
Resolved 5 packages in 440ms
Prepared 5 packages in 394ms
鈻戔枒鈻戔枒鈻戔枒鈻戔枒鈻戔枒鈻戔枒鈻戔枒鈻戔枒鈻戔枒鈻戔枒 [0/5] Installing wheels...
warning: Failed to hardlink files; falling back to full copy. This may lead to degraded performance.
         If the cache and target directories are on different filesystems, hardlinking may not be supported.
         If this is intentional, set `export UV_LINK_MODE=copy` or use `--link-mode=copy` to suppress this warning.
Installed 5 packages in 449ms
 + certifi==2024.8.30
 + charset-normalizer==3.4.0
 + idna==3.10
 + requests==2.32.3
 + urllib3==2.2.3
 
G:\div_code\py_313
(py_313) 位 python
Python 3.13.0 (main, Oct 16 2024, 00:33:24) [MSC v.1929 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>> exit
  
G:\div_code\py_313
(py_313) 位
Pages: 1 2