Questions tagged [pip]
Use for questions about the Python package installer but not about Picture-in-Picture
23,565
questions
0
votes
0
answers
11
views
How to resolve "ERROR: Could not build wheels for pendulum, frozenlist, multidict, " while installing msgraph-sdk for python..?
I am trying to install msgraph-sdk encountering the error
I am trying to install in 3.8 version also try in 3.12 version but still same error "ERROR: Could not build wheels for pendulum, ...
-2
votes
2
answers
36
views
Python PyCharm - cannot install contextily
I am using Python with PyCharm and I am trying to run this code that I found here:
from libpysal import weights, examples
from contextily import add_basemap
import matplotlib.pyplot as plt
import ...
0
votes
0
answers
16
views
Error during pip install -r requirements.txt due to "-e ."
I'm encountering an issue while trying to install the dependencies for my Python project using pip install -r requirements.txt.
The error I'm receiving: It's due to -e . present in requirements.txt
...
0
votes
1
answer
18
views
Error building the ONNX library from scratch Ubuntu 22.04.2
I'm trying to build the ONNX library from source going step by step according to the official manual. When I reach the final step of executing the pip install -e . command, I encounter some errors. As ...
0
votes
0
answers
27
views
Why poetry add git+https://github.com/blnkoff/foo-project.git installs package to venv/src
I've created my python package in GitHub. I have no setup.py there , but have pyproject.toml with specified build system poetry.
In other project I use command for installing that package:
poetry add ...
0
votes
0
answers
20
views
Download Python packages with correct dependencies for offline install
I am trying to install Apache Airflow 2.7.3 offline.
I have read about pip download, requirement file, constraint file but still not able to do this.
Below is my full script to demonstrate the problem....
0
votes
2
answers
34
views
Handling of python packages and correct virtual environment use
I have recently changed my OS to Debian 12. Before, when I wanted to install some python package, I used pip install <package>. But now, I get this error message:
error: externally-managed-...
-1
votes
0
answers
33
views
a proplem in installing Python libraries and packages
I have a laptop with Windows 7 32-bit, I have installed the Python version
3.8.8, and also installed the PyCharm program. In the device’s CMD, I updated the pip to version 23.3.1, then in CMD I ...
-1
votes
1
answer
31
views
Can't Install Pyheif python library
So, I have a Python project to convert and Compress images/pictures. I want this program to support the HEIC/HEIF format. I read about the library to use, and it said I could use Pyheif for the ...
1
vote
1
answer
93
views
"Could not install packages due to an OSError" while trying to download python packages
I've been using python v3.12 for the past month without any problem, but now out of nowhere i'm unable to download any packages at all. It gives this long list of warnings and an error.
> WARNING: ...
0
votes
0
answers
30
views
Error when installing dotenv: "error: invalid command 'dist_info'" [duplicate]
When I install dotenv with pip, an error message is shown that "pip subprocess to install backend dependencies did not run successfully.".
Here's the full error msg when I enter "pip3 ...
0
votes
0
answers
19
views
Pip install fails on l18n. Setuptools issue due to corrupted python install?
My server ran out of space and it seems to have corrupted the python virtual environments for my Django/Wagtail sites. Initially loading the virtual environment pip could not be found. Then creating a ...
-4
votes
0
answers
29
views
Trying to install PIP but getting parse error near && [closed]
I am trying to run the command
cd && sudo curl -O <https://bootstrap.pypa.io/get-pip.py> && python3 get-pip.py --user
in MacOS terminal and keep getting the error
zsh: parse ...
-1
votes
0
answers
12
views
Module not found - transformers.modeling_tf_gpt2
I'm trying to access the TFConv1D from transformers.modeling_tf_gpt2. However, I keep getting the error:
ModuleNotFoundError: No module named 'transformers.modeling_tf_gpt2'
I'm on python 3.10.13
I've ...
-1
votes
1
answer
62
views
No matching distribution found for python-colorspace
I'm trying to install colourspace for python as it looks very useful for me. But am running into difficulty. Usually I'd use
py -3 -m pip install python-colorspace
but that results in:
ERROR: Could ...
0
votes
2
answers
50
views
ModuleNotFoundError: No module named 'pybind11'
I tried to install fasttext by the following command:
python -m pip install -U fasttext
but it didn't work well.
I faced the error below:
Collecting fasttext
Using cached fasttext-0.9.2.tar.gz (68 ...
0
votes
2
answers
61
views
Error while trying to install python packages
I am trying to install various Python packages such as pandas, numpy, mlforecast, xgboost etc. The issue is I have two Python versions in my VM: 3.11.6 and 3.12.
When I run the command print(sys....
0
votes
1
answer
97
views
pip WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) error
I faced error which is pip can't download packages
the error is
ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded ...
0
votes
0
answers
14
views
Tried everything still getting the error No module named 'pip.download'
python3 -m build --sdist --wheel --outdir dist/
Creating virtualenv isolated environment...
Installing packages in isolated environment... (setuptools >= 40.8.0, wheel)
Getting build dependencies ...
0
votes
0
answers
23
views
ERROR: No matching distribution found for maturin<2,>=1
Due to our company's IT policy, I am unable to install Python packages directly from external repositories. Instead, I first have to download the packages to my local directory before using pip for ...
0
votes
0
answers
34
views
Python packaging with data directories - Clean uninstall
I am writing a Python package that relies on some expensive to generate and large data file in order to properly work.
This large file only needs to be generated once, so I have configured the package'...
-1
votes
0
answers
13
views
what are the essential pip package modules required for downloading an application? [closed]
running into problems with pip when installing an application. asking for guidance on the critical pip package modules that must be downloaded in order to manage dependencies and guarantee a seamless ...
0
votes
0
answers
16
views
Store .egg-info directory in venv directory
I create a virtual environment and then install a local package into it in editable mode like this:
python3 -m venv --copies venv_dir
source "venv_dir/bin/activate"
python3 -m pip install --...
-1
votes
1
answer
43
views
Install TA-lib issue || .whl is not a valid wheel filename, || looks like a filename, but the file does not exist
I am having trouble installing a wheel file via pip.
I am using Windows 11
and my python version : 3.12.0
I downloaded "TA_Lib-0.4.24-cp310-cp310-cp310-win_amd64.whl" because I couldn't find ...
-1
votes
1
answer
40
views
All packages showing inside the virtual environment
Whenever I'm trying pip/pip3 freeze/list inside a venv, it's showing a huge list and I'm guessing it's all the packages available in my machine.
I'm using Python 3.10.12 and pip version is 23.3.1. I ...
0
votes
1
answer
10
views
cffi.VerificationError: CompileError: command '/usr/bin/gcc' failed with exit code 1
While installing the package pewanalytics with the command: pip install git+https://github.com/pewresearch/pewanalytics#egg=pewanalytics I have got the following error:
× python setup.py ...
-1
votes
1
answer
24
views
Getting 'pip' is not recognized [duplicate]
What to do if i'm not able to install module in python?
I even download pip module but it's still not able to download module using pip.py
I even used some to cmnds to download pip module in VS CODE ....
0
votes
0
answers
9
views
Error while installing hyfetch through pip on ubuntu 20.04 [duplicate]
I can't get hyfetch to work, and when i tried reinstalling it this warning showed up:
WARNING: The script hyfetch is installed in '/home/twankle/.local/bin' which is not on PATH.
Consider adding ...
-1
votes
0
answers
15
views
pip : The term 'pip' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling... it was too long [duplicate]
it said that i dont have pip which is wierd becauase i litterally just used pip
i tried to do the command 'pip install keyboard' and i was expecting it to install the keyboard module
full error code:
...
0
votes
0
answers
48
views
dependency hell with python-apt
I am building a package which is dependent on two packages, which are difficult to handle.
The two problematic packages are:
python-apt (PyPI, Docs)
python-pam (PyPI)
What is the issue with those ...
0
votes
0
answers
64
views
Getting this error when trying to install pyrevolve
Please find the entire text output after pip install pyrevolve, have tried downgrading and upgrading different versions of Python and have also tried to uninstall anaconda but doesn't seem to be very ...
0
votes
0
answers
22
views
Importing a subpackage from a git repository using poetry
I have two Poetry projects in separate repositories. Project B is a library used by Project A.
When I moved Project B from a setuptools-based project to a Poetry project, I started experiencing this ...
1
vote
0
answers
48
views
Issue With PyUnity Installation
I am attempting to install pyunity and it keeps giving the error Failed building wheel for pyunity.
It says the issue is that setuptools.installer and fetch_build_eggs are deprecated. And to fix i ...
-1
votes
0
answers
127
views
Pip installing error: "could not find a version that satisfies the requirement <package> (from versions: none)"
I can't seem to install some packages using pip. Some work, some don't. I get the error "could not find a version that satisfies the requirement (from versions: none)" followed by "...
-1
votes
3
answers
40
views
I get "Getting requirements to build wheel did not run successfully" when I try to pip3 install pymc3
I need to use the module pymc3, but when I try to install it, I get the following error :
error printed screen
I've tried to install pymc to see if it makes a difference, but it doesn't. My python ...
1
vote
0
answers
48
views
ERROR: Unknown compiler(s): [['ifort'], ['gfortran'], ['flang'], ['pgfortran'], ['g95']] -- What should I do?
I tried to pip install -r requirements_versions.txt , however I keep getting the same error message regarding Fortran compilers. I'm not sure where to install them from as I tried from their website ...
0
votes
0
answers
39
views
Could not parse vswhere.exe output -- What am I doing wrong?
I have tried to pip install -r requirements_versions.txt but I keep getting this error. I don't know much about python or programming to be honest, so excuse me if the answer is evident. Answers are ...
0
votes
0
answers
89
views
Getting requirements to build wheel did not run successfully -- What am I doing wrong?
I don't really use Python, so excuse me if my problem is evident. I have created a virtual environment in cmd using python -m venv aitest command. Then I cloned a repo into the venv using git clone ...
0
votes
0
answers
23
views
How can I solve the error occurred while importing Tensorflow package using pip
I have installed the package of Tensorflow but when imported it throws this error:
import tensorflow
Traceback (most recent call last):
File "C:\Users\DELL\AppData\Local\Programs\Python\...
0
votes
0
answers
22
views
"gdown : The term 'gdown' is not recognized as the name of a cmdlet, function, script file, or operable program..."
I'm getting the error when trying to run gdown.
gdown : The term 'gdown' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a ...
1
vote
4
answers
117
views
Install pip on Python 2.6
I need to install pip on Python 2.6. I have tried a couple of solutions available.
How to install pip on a system with python 2.6
How to install pip for python 2.6?
How to install pip with python 2....
0
votes
1
answer
46
views
pip install can't find a package during build even though it's installed
During pip install of a local package, which uses custom code for building, I am getting the following error:
python3 -m pip install -vvv .
...
Created temporary directory: /tmp/pip-unpack-g_w7p_yj
...
0
votes
0
answers
90
views
Error while importing TrueEra trulens-eval
I'm trying to replicate the amazing tutorial from llama_index and truera on DLAI: https://learn.deeplearning.ai/building-evaluating-advanced-rag
I running the code inside a docker container on one of ...
-1
votes
2
answers
59
views
setuptools is not available in the build environment error when installing pyinotify using pip
C:\Users\misba>pip install pyinotify
Could not find platform independent libraries <prefix>
Collecting pyinotify
Using cached pyinotify-0.9.6.tar.gz (60 kB)
Preparing metadata (setup.py) ....
0
votes
1
answer
64
views
Error installing Mesh-to-SDF using pip in Python
I am trying to install Mesh-to-SDF but I get an error that I believe is related to installing scikit-learn (sklearn).
!pip install mesh-to-sdf
and the error is:
Collecting mesh-to-sdf
Using cached ...
0
votes
0
answers
39
views
cant install certain packages on python (pandas, lxml)
There have been similar questions, but none of them had the same exact problem as I have, I have no clue what to do to fix this issue
When I tried installing lxml and pandas there were errors, but for ...
0
votes
0
answers
24
views
Installing protobuf package for cmake with Protobuf_LIBRARIES and Protobuf_INCLUDE_DIR
I am trying to install the package super-gradients=2.0.0 in python with the command
pip3 install super-gradients=2.0.0
This fails due to the missing module/package Protobuf.
It tries to build a wheel ...
1
vote
1
answer
67
views
Ubuntu PyQT6 works from apt but not in a virtualenv through pip
When trying to follow a tutorial for PyQT6 (on Ubuntu 23.10) I create a virtual environment, activate it and then I install PyQT6 through pip. When that is done and I try to run a basic program that ...
-1
votes
1
answer
105
views
Problem installing lxml on Termux on Android 10 with Python 3.11.6 and pip 23.3.1
pip install lxml
python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [174 lines of output]
Building lxml version 4.9.3.
/data/data/com.termux/files/usr/tmp/pip-...
-1
votes
2
answers
22
views
Python error "Module not found" while trying to read .xls file. How to install xlrd? [duplicate]
I was trying to import the xls file where I am getting this error.
ImportError: Missing optional dependency 'xlrd'. Install xlrd >= 1.0.0 for Excel support Use pip or conda to install xlrd.
Help me ...