Questions tagged [pip]
pip is a tool for installing and managing Python packages
295
questions
1
vote
0
answers
80
views
Can't install wxPython by using pip on a Python 3.10.11 installation
I've recently installed Python 3.10.11 on openSuSE 15.4 from source as the Python version, which comes with SuSE, had proved too old (3.6). Now I need to add several modules, of which one is wxPython&...
0
votes
0
answers
4
views
Making a binary package for my open source project [migrated]
I currently have the following open source project, https://github.com/nadermx/backgroundremover I followed the tutorial https://betterscientificsoftware.github.io/python-for-hpc/tutorials/python-pypi-...
0
votes
1
answer
72
views
'pip install pycups' errors out with exit status 1
I'm installing Odoo 8, with Python 2.7 and pip 20.3.4. I know the version of Odoo is old but I need to use it. I can't install pycups, and I can't figure out the problem.
Collecting pycups
Using ...
0
votes
1
answer
108
views
How can I download a python package with dependencies for a specific python version of an offline cross-platform?
I have an online Windows PC with Python 3.10.10 and pip 23.0.1. I want to download a python package and its dependencies for an offline computer that has a 64-bit Linux and Python 3.6.8. I tried:
pip ...
0
votes
1
answer
42
views
I installed beautiful-atoms with pip but it cannot find blender
There is this nice python module to render beautiful atoms using Blender's Python API
I installed everything using pip on Ubuntu 22 LTS without problems
>> pip install bpy
>> pip install ...
0
votes
2
answers
4k
views
Upgrade/update yt-dlp via pip?
There used to be a top answer with a simple command to update yt-dlp via pip, and I swore it was pip install --upgrade yt-dlp, but maybe it was python3 pip install --upgrade yt-dlp. I cannot test it ...
0
votes
1
answer
87
views
pip install --user xmlstarlet fails on Fedora 37
I was in the process of refreshing my system with a new install of Fedora 37 (up from 36). All went well and I started the install of the packages I use. That went well until I tried to install ...
0
votes
0
answers
119
views
What does python mod_wsgi install's exit code 33947949 mean
I have a working installation of xampp. I installed python which is working (I managed to upgrade pip from command line).
I am trying to add MOD_WSGI and I used the command
pip install MOD_WSGI
It ...
0
votes
0
answers
12
views
IDS To Detect software installation in CentOS
I was wondering if there are any open source tools that detect if a host in a network is trying to install a software or pypi package?
0
votes
0
answers
629
views
How to install pip for more than one python version
I have python3.8 and I have installed python3.7 on Ubuntu 22.04.
Also I have pip.
When I run pip3 -V or pip -V I got
pip 22.2.2 from /usr/local/lib/python3.8/dist-packages/pip (python 3.8).
But when I ...
1
vote
1
answer
2k
views
Powershell script to install python and pip packages
I'm trying to write a powershell script which will install Python and then proceed with pip package, conan, installation. The installation works successfully however the name conan is not recognized ...
0
votes
0
answers
198
views
Pip support with embeddable Python on wine in Docker
I am using an architecture which supports Windows system only. I have setup a Jenkins server for CI/CD. I am using Wine with Ubuntu:20.04 in Docker to build my source and package it on Jenkins.
I also ...
1
vote
0
answers
29
views
Search Python packages that no other packages depend on
How can I find all Python packages that no other packages depend on? I tried pipdeptree to get dependency trees, but I'm not sure if this is a good starting point and my impression is that it's ...
1
vote
0
answers
210
views
What is this pip config output?
I have to install and configure Python 3.8.10 on a Windows 7 machine and I'm getting this output for pip config -v list:
C:\Users\Username>pip config -v list
For variant 'global', will try loading '...
0
votes
1
answer
179
views
pip won't listen to PYTHONUSERBASE
For Python 3.8.10 under Windows 7, I changed PYTHONUSERBASE from C:\Users\Username\AppData\Roaming\Python to C:\Users\Username\AppData\Local\Python by adding a PYTHONUSERBASE environment variable and ...
1
vote
1
answer
39
views
How do package installers make packages available anywhere without adding them to the Environment Variables' path?
Example1:
When I install a package using a package manager such as the JavaScript package manager npm, the package immediately becomes available to run from any directory on any terminal:
$ npm ...
6
votes
2
answers
8k
views
Why pip throwing an error when installing numpy in Termux?
I'm installing numpy in Termux. When I run pip install numpy --no-cache-dir, the error was:
File "/data/data/com.termux/files/usr/tmp/pip-install-ywfqxfk8/numpy_cf9d5c136bf14c7f9ce4181f190e4581/...
0
votes
1
answer
382
views
How to simple view second screen on first screen on WIndows 10?
I have two LCD monitors plugged in one PC with Windows 10.
First monitor is main and it's placed next to PC with keyboard and mouse.
Second monitor is in another room.
And while I'm on first monitor ...
2
votes
1
answer
2k
views
Cannot uninstall ansible with pip or brew on Mac OSX
I cannot remove ansible from my machine.
If I run:
which ansible
/usr/local/bin/ansible
and
ansible --version
ansible 2.7.0
...
0
votes
1
answer
2k
views
Pip isn't working because some random process is running
So basically... I installed the python-certifi-win32 to solve another problem I was having, but then it was giving me a separate error. So I tried to uninstall it with pip, but I got this error:
...
2
votes
0
answers
2k
views
Cannot install packages with pip - error with inconsistent version but version matches metadata
I recently have an issue trying to install anything with pip. It keeps trying older versions complaining that each one has a version mismatch, when it matches perfectly fine. This following log is ...
1
vote
1
answer
1k
views
How do I reinstall pip and its packages when pip doesn't work?
When I tried to install a google pip package it broke my pip installation and now I can't use pip to install or remove anything. I know I should have used a virtualenv but I already didn't.
If I just ...
2
votes
0
answers
4k
views
AttributeError: 'version_info' object has no attribute '__version__' when trying to load Yolo Model Weights
I have been referred to this platform from Stack Overflow for this question.
I am trying to follow the How to Build Object Detection APIs Using TensorFlow and Flask video (on YouTube).
I cloned the ...
2
votes
1
answer
202
views
Docker use system python package
How do I keep pip from compiling av, if I have python3-av installed through apt?
I'm performing a multi-arch Docker build with a Dockerfile that looks like this:
FROM python:3-bullseye
RUN apt-get ...
1
vote
1
answer
3k
views
Pip error - Cannot open include file: 'basetsd.h': No such file or directory
[SOLVED] Answer in comments!
I am trying to install these requirements
(jaydebeapi==1.2.3) in Python and facing the issue bellow.
The main message of error is: "Cannot open include file: 'basetsd....
1
vote
1
answer
3k
views
pip3 encountering permission errors when run outside of a virtualenv
I was in the process of installing CrackMapExec (CME) on Ubuntu this afternoon, and the CME docs suggested that I install pipx and manage the installation of CME through pipx to avoid dependency ...
3
votes
0
answers
2k
views
Why running iTerm2 the first time installs pip3?
When iTerm2 is run for the first time on a Mac, it starts installing pip3. I am trying to understand why.
In my case I was on a slow network and the install would have take 3 hours, so I stopped the ...
0
votes
0
answers
48
views
Philosophy of virtualenv
Can somebody explain the philosophy of virtualenv?
I fully understand how it works - if I use scripts by hand. I've to enter to some folder, run virtualenv and do what I want in secure environment. ...
0
votes
2
answers
1k
views
Sub-process /usr/bin/dpkg returned an error code (1). AGAIN
I realize this seems to be a very popular question but none of the fixes worked for me. I use ubuntu 18.04 and I've been unable to apt install anything for the good part of 6 months. It says the issue ...
1
vote
0
answers
724
views
How can I install pip package persistently on Tails?
I installed pip3 using following:
sudo apt update
sudo apt install -y python3-pip
When I run pip3 install --user passphraseme, package is not installed persistently.
How can I install pip package ...
0
votes
1
answer
236
views
Brew Installing Wrong Wheels On Mac
When I install numpy with pip I see it installing numpy-1.21.0-cp39-cp39-macosx_10_9_x86_64.whl however I'm not using macosx_10_9 -- I'm using Mac OS 11.4.
Why isn't it installing instead numpy-1.21.0-...
0
votes
2
answers
1k
views
Pip install gives "no free space"
I'm new to linux, and I'm trying to install a package (more than 700MB) using pip install. However, as I run the following command
pip install torch==1.8.0
I get the error
ERROR: Could not install ...
1
vote
2
answers
283
views
Homebrew pip issue 5599 on Intel macOS Big Sur
(I'm new here, so please be gentle)
When using topgrade in homebrew (I installed topgrade after installing homebrew with brew install topgrade) on macOS big sur on a 2020 Intel 13" default upper ...
-2
votes
1
answer
6k
views
Unable to install pyinstaller using the pip command
Error output:
pip install pyinstaller
installing build dependencies
Collecting wheel
Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by '...
0
votes
1
answer
1k
views
How to install python2 packages using pip while having python3?
I am on Parrot OS.
I have both python 2 and Python 3 installed.
┌─[✗]─[jaysmito@parrot]─[~/]
└──╼ $python --version
Python 3.9.2
┌─[jaysmito@parrot]─[~/]
└──╼ $python2 --version
Python 2.7.18
And pip:...
1
vote
1
answer
2k
views
Pip3 not working at all
So a couple days ago, I had a problem where pip3 just stopped working. I was planning on upgrading my WSL2 anyway, so I just migrated to Ubuntu 20. But the same problem has occurred here too! I can't ...
1
vote
1
answer
5k
views
Ansible - Python - Docker: Module not found docker / docker-py — WHY No module found error is coming in Python prompt and in Ansible
Ansible 2.8.3
When I run my playbook, I see the following error.
TASK [deployer_role : Creating network] ************************************************************************************************...
0
votes
2
answers
71
views
Ansible Run Analysis tool :Exception during the install of mysqlclient using pip3
I want to use a mysql engine/database with ARA instead of the default sqlite engine that comes with the tool in order to have a more robust engine for multiple entries but I am facing an issue that ...
4
votes
4
answers
14k
views
Ansible installed via pip3, but Ansible commands not found
I have installed Ansible via pip3, but I can't find the Ansible commands (ansible --version, ansible-playbook, etc.)
Here's the listing that shows that Ansible is installed via pip3:
:~# pip3 list | ...
3
votes
0
answers
2k
views
Can't install with pip: SSL error
I'm new to coding and have recently started learning Python. Whenever I enter pip install django (for example), I get these error messages:
WARNING: Retrying (Retry(total=0, connect=None, read=None, ...
1
vote
2
answers
1k
views
How can I find an older version of pip that works with Python 2.7?
I am using Ubuntu 20.10 in a Virtual Box. By default, this version of Ubuntu has Python 3.8 but I managed to install Python 2.7 (I need it for a specific program that does not work with Python 3) and ...
0
votes
0
answers
18
views
pip --version takes time to return the first time but is fast afterwards
I have noticed on fresh VM's that when I run pip --version in a bash shell, the first time takes around 20 seconds to return. After that it returns very fast. What is the reason for this?
1
vote
0
answers
77
views
Why do I have to download some python libraries before pip installing them?
It is possible to install most python libraries like numpy, sklearn, pandas by "pip-installing" them, i.e.
pip install numpy
However, other libraries like tensorflow, keras and opencv I ...
1
vote
1
answer
474
views
How do I remove partially installed files from the Linux directory on my chromebook without having to reinstall Linux?
I am currently trying to learn how to analyse social media data and the online course I was taking advised us to install spyder. I first tried to install the ubuntu package and used the command sudo ...
0
votes
1
answer
249
views
What is "python3 -m pip install --upgrade"?
I've installed the package github with the command python3 -m pip install --upgrade github.py and now I can't uninstall it with pip3 uninstall github because it says it isn't installed. So if I didn't ...
0
votes
1
answer
4k
views
pipenv fails on Ubuntu 20.04
I was trying to use pipenv on Ubuntu 20.04 and got a perplexing error message. First, you must install pipenv. Install pipenv locally, not system wide, or you get into a whole different can of worms!
...
1
vote
1
answer
224
views
Unable to remove python-pip package using apt
Here are my commands:
check if it exists
❯ sudo apt list python-pip
Listing... Done
python-pip/cosmic,cosmic 9.0.1-2.3 all
remove it
❯ sudo apt remove python-pip
Reading package lists... ...
12
votes
1
answer
6k
views
Re-scan python libraries after pip install in Visual Studio Code
Every time i install a python library using pip (e.g. pip install requests) i have to reload Visual Studio Code, so it starts scanning installed libraries (even when using the pip install-command from ...
1
vote
1
answer
8k
views
Error using pip with requirements.txt
I have never used requirements.txt before, and just came across it following a tutorial. My file looks like this:
pip install kivy
pip install kivy-deps.angle
pip install kivy-deps.glew
pip install ...
1
vote
0
answers
181
views
Pip install remove module on Mac OS
Recently, whenever I try to install a package using pip on Mac OS 10.15.6, the following happen :
The installation is successful
Now the module will never be able to be loaded, python will always ...