Questions tagged [pip]

pip is a Python package installer

Filter by
Sorted by
Tagged with
0 votes
1 answer
57 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: ...
user avatar
0 votes
0 answers
12 views

./configure error for wxPython

I'm trying to install wxPython on AlmaLinux 8.5 Python 3.8(.8) is installed and works The version I need for wxPython is 4.1.1 so I run this command : sudo pip install wxpython==4.1.1 The installation ...
user avatar
  • 1
1 vote
0 answers
13 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 . ...
user avatar
0 votes
0 answers
29 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 ...
user avatar
  • 1
-1 votes
1 answer
169 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/...
user avatar
  • 10.9k
0 votes
1 answer
27 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 ...
user avatar
0 votes
1 answer
43 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 ...
user avatar
  • 103
0 votes
1 answer
60 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 ...
user avatar
  • 1,391
0 votes
0 answers
112 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: ...
user avatar
0 votes
0 answers
38 views

Python Pip not working anymore after installing platformio as plugin in VS Code

I'm very confused about how this happend and how this is all intertwined. I've installed platformio with Visual Studio Code, pip doesn't work anymore. Whenever I use pip as a normal user, I get this ...
user avatar
  • 10.3k
0 votes
0 answers
51 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/...
user avatar
  • 10.9k
0 votes
1 answer
108 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: ...
user avatar
0 votes
1 answer
30 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 ...
user avatar
  • 21
1 vote
1 answer
631 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 ...
user avatar
0 votes
0 answers
309 views

Docker container can't resolve host during build when using pip to pull from github

I am at a complete loss right now: When trying to build a docker project, one of the (pip) requirements is a git repo, it is listed (git+https://...) on a requirements file which is being correctly ...
user avatar
1 vote
1 answer
2k 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 ...
user avatar
0 votes
1 answer
11 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 ...
user avatar
0 votes
2 answers
166 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 ...
user avatar
0 votes
0 answers
473 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 ...
user avatar
  • 107
1 vote
0 answers
648 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-...
user avatar
  • 61
-2 votes
1 answer
104 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 ...
user avatar
  • 1
2 votes
1 answer
91 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 ...
user avatar
-1 votes
2 answers
2k views

Cant install python2 modules (kali 2020)

$ pip install impacket ...
user avatar
  • 9
1 vote
0 answers
53 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 ...
user avatar
  • 111
0 votes
0 answers
41 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 ...
user avatar
0 votes
1 answer
57 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 ...
user avatar
0 votes
1 answer
976 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 ...
user avatar
0 votes
2 answers
99 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 &...
user avatar
0 votes
2 answers
492 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 ...
user avatar
0 votes
2 answers
768 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 ...
user avatar
0 votes
1 answer
491 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 ...
user avatar
  • 11
1 vote
1 answer
73 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 ...
user avatar
  • 11
0 votes
1 answer
291 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....
user avatar
  • 139
0 votes
1 answer
275 views

Failed dependencies python

Installing python3-setuptools-39.2.0-10.el7.noarch.rpm file by sudo rpm -i command on Red Hat 7.6 without internet access produced an error with messages /usr/bin/python3 is needed by python3-...
user avatar
  • 139
0 votes
2 answers
575 views

'LD' can't find library to link, even though 'ldconfig -v' lists the file

I'm trying to install KIWI on my RaspBerry Pi. When I attempt a pip install kiwi I get a linking failure, with /usr/lib64/gcc/aarch64-suse-linux/10/../../../../aarch64-suse-linux/bin/ld: cannot find -...
user avatar
  • 103
2 votes
2 answers
2k views

Python 3.9 and pip-3.9 on FreeBSD 12.2

I'm facing a confusing situation. The official latest fully-supported version of Python is 3.9, and while it's available in FreeBSD pkg, pip-3.9 isn't, and I'll be needing it in the future when Python ...
user avatar
  • 429
0 votes
1 answer
224 views

Unable to install/uninstall pip - Linux

When i try to uninstall pip, I am getting the error below $python2.7 -m pip uninstall pip Traceback (most recent call last): File "/usr/lib64/python2.7/runpy.py", line 162, in ...
user avatar
2 votes
1 answer
103 views

What is the Right Way to install pip3 on Ubuntu?

An alert while running pip3 sent me to some advice to "Only ever use your system package manager to upgrade the system pip." This was the original alert: WARNING: pip is being invoked by an ...
user avatar
  • 1,569
4 votes
1 answer
868 views

pip hangs on `Loading macOS` when installing a package

When installing anything with pip, it hangs indefinitely, for example (running pip install geoclue2 -v): Using pip 21.0.1 from /usr/lib/python3.9/site-packages/pip (python 3.9) Defaulting to user ...
user avatar
1 vote
1 answer
532 views

How to install pip without root access in Ubuntu > 18.04 without distutils package installed

I would like to install pip within any of my virtual environments created with venv, but the get-pip.py script requires the distutils package, which is not installed in the server I am using, and I ...
user avatar
  • 111
1 vote
1 answer
6k views

Why does "get-pip.py" complain about invalid syntax?

I am trying to install pip3 without having sudo privileges following the answer provided here. The first step is to execute the following: wget https://bootstrap.pypa.io/get-pip.py It seems to work ...
user avatar
  • 111
0 votes
1 answer
70 views

A command to get currently installed versions of those listed with ">=" in requirements file (PIP) using grep/xargs

I have a requirements.txt file with versions listed e.g. # requirements.txt channels==2.4.0 colorama>=0.2.3 daphne==2.5.0 django-q>=1.1.4 For versions with == PIP installs that exact version ...
user avatar
  • 137
0 votes
2 answers
1k views

Unable to install tensorflow on Arch Linux due to unsupported python version

Hi I recently tried to install tensorflow using pip install --user --upgrade tensorflow but it gives an error ERROR: Could not find a version that satisfies the requirement tensorflow (from versions: ...
user avatar
1 vote
1 answer
137 views

Problem while trying to open legion app

sudo legion Traceback (most recent call last): File "/usr/share/legion/legion.py", line 19, in from app.ProjectManager import ProjectManager File "/usr/share/legion/app/ProjectManager....
user avatar
0 votes
2 answers
1k views

Ranger: ModuleNotFoundError: No module named 'ranger'

I have ranger on Arch linux. When I try to run it throws error: Traceback (most recent call last): File "/usr/bin/ranger", line 35, in <module> import ranger # NOQA pylint: ...
user avatar
1 vote
1 answer
4k views

How to install Python 2.7 on Fedora 32 Linux when the newest version is Python 3.8?

There is a software suite named amitools, which allows use of retro or vintage or whatever the term for nostalgia is these days, of AmigaOS programs directly from a Linux command line without using a ...
user avatar
0 votes
1 answer
133 views

Error: Pip is not working

i am typing pip install paramiko bash: /usr/local/bin/pip: /usr/bin/python2: bad interpreter: No such file or directory
user avatar
3 votes
1 answer
459 views

pip off-line installation + what is the equivalent approach as yum repository with rpms but for .whl files

Dear friends and colleges on our linux redhat servers we build yum repositories under /var/yum.repo.d so yum actually get from this repositories the required rpm for installation now we want to ...
user avatar
-3 votes
2 answers
698 views

why pip version isn't the latest when installing pip via yum

we try to install the latest version of pip by the following ( we have rhel 7.6 server with python 2.7 ) yum install python27-python-pip Loaded plugins: langpacks, product-id, search-disabled-repos, ...
user avatar
  • 10.9k
0 votes
1 answer
1k views

python version and package installation issue

I have different python version on my Linux server running with Centos7. [xyz@innolx20122]$ python python python2.7 python3.6 python3.7 python3.7m-config python2 ...
user avatar