Questions tagged [pip]
Use for questions about the Python package installer but not about Picture-in-Picture
24,217
questions
-1
votes
0
answers
27
views
Pip installs packages globally inside of virtual environment
I am at a loss so I apologise if this is a repeated question.
I have currently set up a virtual environment via the command python3 -m venv .env and attempted to install a package that is local to ...
-1
votes
0
answers
49
views
How do I install mysqlclient 1.4.6? (Python 3.6) MacOs?
I install pip install mysqlclient==1.4.6 --no-cache-dir
But an error occurs:
ld: library 'ssl' not found
clang: error: linker command failed with exit code 1 (use -v to see invocation)
...
0
votes
1
answer
18
views
Install Python packages in Fedora 40 ERROR: Could not install packages due to an OSError
I am working in an virtual environment in Ubuntu 24.04 using python 3.12.3. The working directory is automatically synced on the cloud. Now, I installed Fedora 40 on my laptop (another PC) with a ...
-3
votes
1
answer
31
views
Pip cannot find recent versions of package when trying to install in Docker container
I am trying to run a Docker container in a Jupyter Notebook within AWS Sagemaker. The DockerFile is from a template that worked until I added one additional RUN command with some ML packages I wanted ...
0
votes
1
answer
24
views
Pip only installing dependencies, not main package
I have made a previous package that I put in https://gitlab.com/Matthijs.Kramer/common (I don't think it's public, it's work-related) that contains the following pyproject.toml:
[build-system]
...
0
votes
0
answers
23
views
pip install pyqt5 (no traceback just "Killed")
I'm trying to install PyQtWebEngine on an Ubuntu 22.0 ARM VM running under UTF on a MacBook M3 Max. I've searched multiple stack overflow and other pages and I'm stuck.
What I've done:
pip install --...
0
votes
0
answers
15
views
pipx can't use globally installed truststore package
I would like to start using pipx in a corporate Windows environment where TLS interception is used. My first goal with it is to install poetry. I have pip set up here and working perfectly fine thanks ...
0
votes
2
answers
31
views
Gitlab pipeline does not have pip installed
I have a gitlab pipeline split in two jobs but unfortunately the second job complains /bin/sh: eval: pip: not found.
Below is the .gitlab-ci.yml file.
stages:
- build
- test
default:
image: ...
-1
votes
1
answer
61
views
I can't get pip on my python3 venv on Ubuntu 24.04
I have a fresh install of Ubuntu 24.04. I added pip with the usual sudo apt install python3-pip, and went to install some packages, but got the error: externally-managed-environment. This was all ...
0
votes
2
answers
96
views
ValueError: Unable to determine which files to ship inside the wheel using the following heuristics:
MRE
Python 3.9
Windows OS
On running the below command:
pip install kaggle
Complete error message:
Defaulting to user installation because normal site-packages is not writeable
Collecting kaggle
...
0
votes
0
answers
40
views
trying to import python-docx from within the company network
Getting the message below when trying to install python's docx.
pip install python-docx
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken ...
-5
votes
0
answers
49
views
python package pre-commit can't initialized [closed]
I'm installed pre-commit with pip version 20.3.4 and git already installed on my machine. When I try to use pre-commit install command this error has showed.
An error has occurred: FatalError: git ...
1
vote
1
answer
108
views
metadata-generation-failed when installing tf-models-official
I'm trying to install tf-models-official with !pip install tf-models-official and when it started to collecting kaggle>=1.3.9, it returned error below :
Collecting kaggle>=1.3.9 (from tf-models-...
0
votes
0
answers
99
views
ImportError: cannot import name 'TypeBaseModel' from 'langchain_core.utils.pydantic'
from pydantic import BaseModel
from langchain.chains import RetrievalQA
chain = RetrievalQA.from_chain_type(llm=llm,chain_type="stuff",retriever=retriever,input_key="query",...
0
votes
0
answers
10
views
pip ubuntu deliver such output "Requirement %s: %s (%s)"
I use ubuntu 22.04, with python3.10.
i dont know why, suddently from pip and vllm all output look like this :
tarik@tata-linux1:~/AI-WS/CodeGeeX4$ pip install vllm
Defaulting to user installation ...