Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
pip
#1
i have a new computer and i wanna install packages

but its so complicating

i cant download this package
because of pip
and i just cant figure it out
Reply
#2
Use uv,there really no need to install Python in OS anymore uv take care of that.
Eg if do this on new pc it will install Python 3.13.1 and use i uv pip to install eg request,the speed is also lot faster than with just pip.
G:\corsor\test_env
λ uv venv --python 3.13.1
Using CPython 3.13.1
Creating virtual environment at: .venv
Activate with: .venv\Scripts\activate

G:\corsor\test_env
λ .venv\Scripts\activate

G:\corsor\test_env
(test_env) λ uv pip install requests
Resolved 5 packages in 848ms
░░░░░░░░░░░░░░░░░░░░ [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 298ms
 + certifi==2025.1.31
 + charset-normalizer==3.4.1
 + idna==3.10
 + requests==2.32.3
 + urllib3==2.3.0

G:\corsor\test_env
(test_env) λ python
Python 3.13.1 (main, Dec 19 2024, 14:38:48) [MSC v.1942 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import requests
>>>
>>> r = requests.get('https://python-forum.io/')
>>> r.headers['Date']
'Tue, 25 Mar 2025 20:09:59 GMT'
>>> exit
Reply
#3
why is there a greek symbol
Reply
#4
(Mar-26-2025, 12:34 PM)Azdaghost Wrote: why is there a greek symbol
@snippsat is using cmder as console emulator (i.e. cmd replacement)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020