Questions tagged [pip]

pip is a Python package installer

Filter by
Sorted by
Tagged with
-6 votes
0 answers
166 views

Could not install packages due to an OSError: [Errno 28] No space left on device

I am installing Torch in Linux(CentOS 7) with the following code: pip install torch==1.9.0+cu111 torchvision==0.10.0+cu111 torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.html ...
Sajadi's user avatar
  • 1
0 votes
1 answer
37 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
37 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
13 votes
1 answer
1k 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 ...
bert's user avatar
  • 233
0 votes
1 answer
334 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
0 votes
0 answers
40 views

Pip doesn't install packages for python

There are problems with pip and installing packages in Terminal. I use zsh in MacOS; there was installed anaconda and maybe some other versions. I deleted all Python versions I found. Than I installed ...
Domino Fortune's user avatar
1 vote
0 answers
204 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
97 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
154 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
503 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
  • 123
0 votes
0 answers
866 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
0 votes
0 answers
165 views

How can I install PyMOL using pip?

Is it possible to install both PyMOL and PyMOL API in Linux using pip rather than conda? If so, what should be the command like?
user366312's user avatar
0 votes
0 answers
59 views

How can I create a demo service to run python app directly with Uvicorn+Nginx rather than using Gunicorn?

Please let me know if we can create a same service as we can create for Gunicorn [Unit] Description=Gunicorn instance to serve MyApp After=network.target [Service] User=<username> Group=www-...
Arslan Safdar's user avatar
1 vote
2 answers
674 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
194 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
4 votes
2 answers
10k 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 ...
ein supports Moderator Strike's user avatar
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
0 votes
0 answers
58 views

Use package manager or pip (or some sort of env) with Doom Emacs?

I know that using virtual environments as much as possible is good practice, however I can't get Doom Emacs packages to work with an environment (Conda in particular). Now I need to install systemwide ...
zivo's user avatar
  • 1
1 vote
1 answer
27 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,120
1 vote
2 answers
272 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 ...
Onur-Andros Ozbek's user avatar
0 votes
2 answers
841 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
63 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
259 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
  • 12.4k
0 votes
1 answer
656 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
128 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
621 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,571
2 votes
1 answer
1k 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
  • 138
0 votes
0 answers
374 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
  • 12.4k
0 votes
1 answer
596 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
102 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
1k 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
4k 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
13 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
217 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,153
0 votes
0 answers
870 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
294 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
619 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
6k views

Cant install python2 modules (kali 2020)

$ pip install impacket ...
Levi's user avatar
  • 9
1 vote
0 answers
122 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
0 votes
0 answers
263 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
201 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
0 votes
1 answer
2k views

Locating pip configurations outside of pip.conf

I am trying to modify pip (version 9) to exclusively retrieve python packages from my Artifactory server instead of pypi. my /etc/pip.conf file has only configurations to hit my Artifactory repository ...
CyberStems's user avatar
0 votes
2 answers
233 views

Problem in Python (ubuntu)

When I try to install this, I get this error; what is the solution? ubuntu@ip-xxx-xxx-xxx-xxx:~/URLuploader-With-Hotstar$ pip3 install -r requirements.txt Traceback (most recent call last): File &...
Mohamed Hayoun's user avatar
0 votes
2 answers
2k views

Errno28 "No space left on device" during pip install

I am trying to execute pip install tensorflow on my Raspberry but I'm getting an Errno 28 "No space left on device". I've read from multiple sources that it means that the folder used by pip ...
Axel Carré's user avatar
0 votes
2 answers
1k views

installation of mechanize in python2

I have python2 and python3 both. When I run pip --version pip 21.0.1 from /home/istiak/.local/lib/python3.9/site-packages/pip (python 3.9) └─$ python2 --version Python 2.7.18 I have some ...
Game Stakes's user avatar
0 votes
1 answer
1k views

How to resolve 'ImportError' in Python?

Have installed required module lxml but when imported, errors ImportError: No module named lxml How do I know From which location python modules are being considered? Which python version and pip is ...
stack's user avatar
  • 11
1 vote
1 answer
398 views

How to identify the python, pip and installed modules location on linux?

I started learning python but I am finding it difficult to understand on linux. uname -a Linux machine-name 4.4.0-31-generic #50~14.04.1-Ubuntu SMP Wed Jul 13 01:07:32 UTC 2016 x86_64 x86_64 x86_64 ...
stack's user avatar
  • 11
0 votes
1 answer
934 views

Installing pip without internet

I'm installing python3-pip~~.rpm on RHEL7.6 but got an error saying /usr/bin/python3 is needed by python3-pip~~~.noarch python(abi) = 3.6 is needed by python3 ~~~.noarch The system came with python 2....
user67275's user avatar
  • 223

1
2 3 4 5