Questions tagged [pip]
pip is a Python package installer
225 questions
1
vote
1
answer
326
views
How can I automatically install all the pip packages used by a Python script?
I wonder how to automatically install all the pip packages used by a Python script. I know one can run:
pip install pipreqs
pipreqs .
pip install -r requirements.txt
But that sometimes fails to ...
2
votes
1
answer
140
views
I cannot get pyautogui to install
I would like to use a Python script to create a video from Stellarium. I have tried several different methods, but so far none have worked. A promising approach is to spawn Stellarium and then use ...
0
votes
1
answer
95
views
Uninstall Jupyter
I am running Debian Bookworm OS and installed Juypter using the following command sudo pip3 install --break-system-packages jupyter and would like to uninstall the program, I have tried the ...
1
vote
2
answers
108
views
Error when trying up upgrade package installed usong pipx
A package (poetry, for use with python), was installed on an installation of Ubuntu 24.10/oracular.
The package was installed using pipx:
pipx install poetry
It is required to update poetry using ...
0
votes
0
answers
177
views
Installing python 3.12 and pip on Ubuntu 22
Im on Ubnutu 22 and trying to run some python code I developed on my mac which runs python 3.12, Ubuntu 22 comes with python 3.10.x but I cant use that version. Im also using the idle IDE and pip as ...
3
votes
2
answers
1k
views
Should I keep all Python libraries only in the virtual environment?
I am working on Debian Stable Linux (12.9) and it is otherwise working very well. I am also using Python3 for small data analysis tasks. I have been installing Python3 libraries in virtual ...
0
votes
0
answers
16
views
Linux -Debian 12 virtual OS. while installing pip3 requirements for python packages I got this error in my Debian terminal.? [duplicate]
I was installing this directory brute forcing tool dirsearch git clone https://github.com/maurosoria/dirsearch.git --depth 1. in my debian 12 linux virtual OS. while Installing pip3 install dirsearch. ...
5
votes
1
answer
1k
views
Pin package version with pipx to prevent its upgrade
I would like to pin specific package version installed using pipx and prevent its upgrade.
E.g. I have installed package:
$ pipx install somepackage==2.0.0
Then after upgrade it will be updated to ...
-1
votes
1
answer
952
views
How can I install pip on FreeBSD?
I was trying to install python and pip on my FreeBSD 15.0 server. It seems like I've successfully installed python. Now I have both Python3.9 and Python 3.11. However, I can't find and package called &...
0
votes
1
answer
196
views
Python package installation using pip
I use Python both from Jupyter Notebook as well as directly from the terminal. My Python version is 3.10.12.
I install packages both from the terminal (using pip install <package-name>) as well ...
0
votes
1
answer
437
views
How do I install a pip package on a machine without Internet access?
I'm working on a Linux machine without (direct) Internet access. I want to pip install foo for some pypi package foo, but - obviously, that won't work. I have, of course, other machines which are ...
1
vote
0
answers
255
views
How to remove old pip packages after upgrade to Debian 12?
After Debian 12, my system-wide pip packages breaks. I want to remove them, using pipx instead, however I cannot list/remove those previously installed packages.
These are the files in /usr/local/bin ...
-4
votes
2
answers
2k
views
An error has occured! Seems pip doesn't seem to work
I tried to install Storm-Breaker on Kali linux but when I run my ./install it says that the requirement file is invalid although installe, and also displays pip not working despite being in the latest ...
9
votes
2
answers
2k
views
How do I determine the apt package name for a given PyPI package?
Suppose I want to install a Python package system-wide on a Debian/Devuan system. Some PyPI packages have DEB packages available via the repository's apt sources, with package names prefixed by ...
10
votes
2
answers
11k
views
Install a Python package on Debian/Devuan when apt has no package for it
I want to install some Python package pandasql system-wide, on a Devuan (or Debian) system. It's in the Python Package Index, but - there doesn't seem to be a (dpkg) package for it; let's assume that ...