Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

Questions tagged [pip]

pip is a Python package installer

Filter by
Sorted by
Tagged with
0 votes
1 answer
25 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 ...
Doi's user avatar
  • 21
0 votes
1 answer
45 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 ...
einpoklum's user avatar
  • 9,585
0 votes
0 answers
18 views

Get fullname of downloaded Python wheel, without merely watching the filesystem

My script downloads a "continuum-transfunctioner" wheel from a pypi server as follows: python3 -m pip download continuum-transfunctioner -i https://pypi.acme.com:8080/simple --no-...
Olumide's user avatar
  • 177
0 votes
0 answers
46 views

dpkg pip-installs wheels as 'root' user

I've created a DEB package containing a bunch of Python wheels which the postinst script pip installs. The problem is that because the DEB file apparently has to be run as sudo, e.g. dpkg -i acme-...
Olumide's user avatar
  • 177
1 vote
0 answers
59 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 ...
Dia's user avatar
  • 173
-4 votes
2 answers
519 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 ...
jaja's user avatar
  • 1
8 votes
2 answers
1k 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 ...
einpoklum's user avatar
  • 9,585
7 votes
2 answers
3k 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 ...
einpoklum's user avatar
  • 9,585
0 votes
2 answers
1k views

Problems with installing pycryptodome

I have modified my thinkpad's BIOS to remove the wifi whitelist and plan to flash the modified bios back to the eeprom. To do that I have to use a tool called thinkpad-uefi-sign which signs the image ...
witherslayer's user avatar
0 votes
2 answers
749 views

Modules installed with pip don't work after Bookworm upgrade

I recently upgraded to Debian Bookworm from Bullseye. I am aware that installation of python packages requires a different method as compared to pip install <package>. Therefore, I install new ...
vrgovinda's user avatar
  • 279
2 votes
1 answer
115 views

What could've casued my pip installation to disappear? Or at least not be found when I try to pip install something?

I have used pip to install packages many times and all of a sudden it's gone. I can't recall if I used it after a system update or if it's been gone since I updated a few days ago. I'm using fedora 38....
user avatar
0 votes
1 answer
64 views

Why can't I change my pip3 from the built in to the MacPort-version?

Here is a terminal session: db@air ~ % port select --list pip3 Available versions for pip3: none pip3-apple (active) pip311 db@air ~ % sudo port select --set pip3 pip311 ...
d-b's user avatar
  • 1,939
0 votes
1 answer
420 views

Installing python-pip3 on ubuntu 20.04

Installing python3-pip in ubuntu 20.04 via apt from the official ubuntu repos we are having some strange behaviour because pip3 is installed in /user/local/bin/pip3 instead /user/bin/pip3. is not a a ...
JORKS's user avatar
  • 11
2 votes
1 answer
110 views

Broken Pip (Gentoo)

I've been trying to figure out how to set up a Matrix server with Synapse. It was working fine, but somehow it broke. Was following a few different guides so I'm not sure exactly how it broke. I'm not ...
Ryan Knutson's user avatar
18 votes
2 answers
6k views

Difference between installing a package with 'apt' and 'pip'

I have been trying to install a Python module which relies in setuptools, and apparently the module was installed using apt. However, it seems to be the wrong version, so I tried to install it using ...
albertoperdomo2's user avatar
0 votes
1 answer
854 views

Help! I blew up python, pip, and dnf! What should I do!

I bought a book about cyber security in Python, and the author uses python version 3.9. I'll get to dnf in a minute. I use Fedora Linux 37 and the default linux is linux 3.11. I set up a virtual ...
Bryan Zimmer's user avatar
1 vote
0 answers
282 views

How can I resolve this pip issue?

I am trying to use pip to install Flask on Ubuntu. However, I am getting the following error: user_1@dell-vostro:~$ sudo -H pip3 install --upgrade pip [sudo] password for user_1: Collecting pip ...
user366312's user avatar
0 votes
0 answers
140 views

Is it possible to install 2 python packages via pip, simultaneously, in different terminals?

My question is not about installing several packages in one line (all the questions I researched previously to asking this, talk about oneliner, but it is still sequential). I am installing opencv-...
M.K's user avatar
  • 143
2 votes
0 answers
222 views

pip rust libc.so.6 error Centos

OS: Centos 6 installed pip success Installed Rust manually - success curl https://sh.rustup.rs | sh pip install cryptography /root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/rustc: ...
user3265051's user avatar
1 vote
1 answer
1k views

Can I Install Multiple Versions of the Same Package Using DNF?

I have multiple versions of Python on my machine, and attempting to install Pip for each of them. I have already installed Pip 21.2.3 for Python 3.10 and am now trying to install Pip 20.3.X (specific ...
Robbie's user avatar
  • 63
0 votes
0 answers
2k views

Ubuntu python configuration or dpkg: error while cleaning up:

for a week now I can't install anything on my machine, I also have an error when I want to update apt Thanks in advance. sudo apt update (same thing with sudo apt upgrade) : Get:1 http://security....
val.74k's user avatar
1 vote
2 answers
3k views

Pip stopped working on Arch Linux

when trying to use Pip on my Arch system I get the following error. Traceback (most recent call last): File "/usr/bin/pip", line 5, in <module> from pip._internal.cli.main import ...
user18686221's user avatar
0 votes
1 answer
381 views

A pip install for jupyter notebook puts its binaries in ~/.local/bin, and then I'm asked to add ~/.local/bin to my PATH. Is it a normal place?

pip install jupyterlab pip install notebook sent binaries to ~/.local/bin: ls ~/.local/bin ipython jupyter-bundlerextension jupyter-kernelspec jupyter-migrate jupyter-notebook ...
Marc Le Bihan's user avatar
6 votes
2 answers
20k views

Defaulting to user installation because normal site-packages is not writeable

I've just installed Devuan GNU/Linux chimaera, and a bunch of packages manually. Also installed python-is-python3. I now run, for example: pip install pymonetdb and I get: Defaulting to user ...
einpoklum's user avatar
  • 9,585
1 vote
0 answers
2k views

pip install gives TypeError: expected string or bytes-like object

I have seen this error in other sites and in here as well, but the solutions provided are not fixing it. Operating System: Mendel GNU/Linux 5 (Eagle) (debian). When trying to install psutil, I am ...
M.K's user avatar
  • 143
1 vote
1 answer
30 views

Kdewallet unwittingly meddle with pip

As I did many times before, I just run the command: pip3 search xlib Then I get this completely useless and unwanted window: This behavior start perhaps since I installed Kdenlive. BTW, I was just ...
fauve's user avatar
  • 1,248
1 vote
2 answers
485 views

.sh file does not execute all commands

I wrote a .sh file that only has a series of linux commands to automatically download all of my required files, packages and software should I need to do an OS wipe. This is what it looks like: sudo ...
Levent Ozbek's user avatar
0 votes
2 answers
984 views

I'm trying to run a Debian 11 VM on my CentOS 7 Home Server, but get hit by this issue with virt-install

See below, the issue im having when trying to run virt-install on its own. Same issue when I try with all the config I plan to use: /usr/lib/python2.7/site-packages/requests/__init__.py:104: ...
Ben Hybert's user avatar
1 vote
0 answers
105 views

Adding a package installed via apt to pip

I am trying to install vtk on my Ubuntu 20.04 virtual machine with python 3.8.10. I had the same problem as described in this post and I managed to install vtk via sudo apt-get install python3-vtk7 . ...
plasma-dom's user avatar
0 votes
0 answers
363 views

Python script not detecting modules

there is this empire named tool which I am trying to run on my Debian. I don't know why, whenever I try to to run the script I get this error ImportError: No module named flask but when I run pip3 ...
Jason's user avatar
  • 1
-1 votes
1 answer
2k views

how to uninstall pip from /usr/local/bin/

we want to uninstall the pip that located on path - /usr/local/bin/pip when we did pip uninstall we get /usr/local/bin/pip uninstall pip Traceback (most recent call last): File "/usr/local/bin/...
yael's user avatar
  • 13.3k
0 votes
1 answer
1k views

pip holds onto an old path

I haven't been able to find a question / answer that satisfied my needs, but I am sorry if this will be a duplicate question, if so, please let me know. I am using Python (2.7) on a debian server and ...
Mattias's user avatar
0 votes
1 answer
162 views

Under what circumstances can pip 'discover' package updates made by yum

Have a problem with some nodes at a remote site where several Python RPMs were installed on SLES systems where pip had previously been used. Although we have given guidance to the remote teams to not ...
Mikel F's user avatar
  • 103
1 vote
1 answer
892 views

How to prevent pip from installing to venv/local/bin?

Normally, installing a Python package with pip installs it to <venv>/bin. However, I've recently been seeing it installing some executables to <venv>/local/bin, which isn't included by ...
Cerin's user avatar
  • 1,698
2 votes
1 answer
3k views

free desktop dbus error while installing any package using pip

Whenever I try to install any package using pip, I get this error message at the beginning of the shell output. ERROR: Introspect error on :1.803:/modules/kwalletd5: dbus.exceptions.DBusException: ...
lone wolf's user avatar
  • 168
0 votes
0 answers
558 views

pip install with python dependencies problem

we are installing the pip ( pip 20.1.1 ) on our RHEL 7.6 server as tar -xvzf pip-20.1.1.tar.gz -C /install cd /install/pip-20.1.1 python setup.py install we get exception as /usr/lib64/python2.7/...
yael's user avatar
  • 13.3k
0 votes
1 answer
732 views

Freebsd 12 error when use pip install

No experience with Freebsd, but I need to write and run a script. Can't install python-ldap or another lib. An error: /usr/local/bin/python3.7 -m pip install python-ldap ld-elf.so.1: /lib/libc.so.7: ...
Олег Баталов's user avatar
0 votes
1 answer
149 views

How to fix errors when installing Jupyter to my Linux VM

I'm having trouble installing Jupyter notebook into my Linux virtual machine. Every time I use anything with pip or pip3 in it (e.g. sudo python3 -m pip install jupyter), I get this error (or a very ...
samster's user avatar
  • 31
1 vote
1 answer
2k views

Pip breaks when switch to Python3.7.9 using update-alternatives on Debian

I am on Debian 11 which comes with python3.9. But I don't need it, I need python3.7. So, I installed pythonn3.7.9 and updated the alternatives. The problem is that when I switch the python version to ...
Suleman Elahi's user avatar
2 votes
1 answer
6k views

Dockerfile | executor failed running [/bin/sh -c poetry install --no-dev]: exit code: 1

I'm new to Docker, so I am not sure how to interpret the cause of errors. "Poetry is a tool for dependency management and packaging in Python. It allows you to declare the libraries your project ...
StressedBoi_69420's user avatar
0 votes
1 answer
16 views

Python PyPI, asynchronous updates, reactionary requirements, avoid breaking distro - solution I came up with safe? How to automate?

Context Personal context: Inexperienced Linux user, learning Python, hoping to apply it to Natural Language Processing on NoSQL databases. Why GNU/Linux: My budget is small, my old gear ain't broke at ...
 aarek-eng's user avatar
0 votes
2 answers
246 views

Arch linux: Cura thows: ValueError: PyCapsule_GetPointer called with incorrect name

when i type cura to my terminal I get this error and program does not start: john@arch-thinkpad ~> cura /usr/lib/python3.9/site-packages/UM/PluginRegistry.py:4: DeprecationWarning: the imp module ...
Jan Černý's user avatar
  • 1,371
0 votes
0 answers
1k views

Problem installing sqliv on kali linux (for vulnerability detection)

Currently I want to install this library to find vulnerabilities in web applications and in this way be able to protect those that I have already created, the problem is that I already followed ...
David's user avatar
  • 107
1 vote
0 answers
1k views

Python "ImportError: No module named mysql.connector" error

This issue has been covered elsewhere but the solutions provided are not working for me. I have python 3.7 installed on my Debian 10 system. Used below to install mysql-connector: pip3 install mysql-...
ZR_'s user avatar
  • 71
-2 votes
1 answer
402 views

pyarmor not working in kali

I am trying to compile a script with pyarmor but I keep getting the error ┌──(kali㉿kali)-[~/Desktop] └─$ pyarmor-webui ...
KGBGUY's user avatar
  • 1
2 votes
1 answer
1k views

Evaluate multi-line output (with comments) of another command. (pip-completion)

In trying to make my .zshrc neater, I stumbled over the following problem/question: "How can I run the output of another command?". While I'm sure this is a simple problem, I just don't ...
Alexandru Cristiean's user avatar
-1 votes
2 answers
8k views

Cant install python2 modules (kali 2020)

$ pip install impacket ...
Levi's user avatar
  • 9
1 vote
0 answers
207 views

Pip not installing packages to my Python virtual environment

I setup my virtual environment using the following commands. sudo apt-get install python-virtualenv virtualenv -p python3 /opt/virtualenvironment/project_1 cd /opt/virtualenvironment/project_1/bin ...
GodAtum's user avatar
  • 111
1 vote
0 answers
413 views

Pip will not let me uninstall typing module

I run a Unix server that uses environment modules to handle different software packages. While installing JCVI I have been running into multiple errors. The most recent error I have gotten was this ...
mharper10114's user avatar
0 votes
1 answer
297 views

Change "effective home" directory on Linux system

I have to run some Python code on a remote machine which has fairly heavy dependencies. My home directory (.../home/d/my-name) has a very small amount of disk space, so I typically use a different ...
oirectine's user avatar

1
2 3 4 5