Questions tagged [pip]

pip is a tool for installing and managing Python packages

Filter by
Sorted by
Tagged with
0 votes
1 answer
28 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 ...
user avatar
0 votes
1 answer
66 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 ...
user avatar
  • 1
0 votes
1 answer
57 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: ...
user avatar
2 votes
0 answers
441 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 ...
user avatar
1 vote
1 answer
138 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 ...
user avatar
  • 11
2 votes
0 answers
1k 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 ...
user avatar
2 votes
1 answer
27 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 ...
user avatar
0 votes
0 answers
68 views

Two inputs from the same PC to one monitor

Can a monitor with PIP and PBP except two inputs from the same PC? I replaced 2 19" monitors with a single 32 inch 4K Samsung monitor. I prefer the layout of the two separate monitors where you ...
user avatar
0 votes
0 answers
148 views

Pip3 cannot install sqlite3 nor update

I am not very familiar with suse where I am trying to do this, nor much of an expert on python. I am trying to some some python3 script I have written on this box. I am using computed columns which is ...
user avatar
0 votes
0 answers
14 views

Can I debug with python and GDB my microcontroller?

I would like to ask, if exist a library in python so I can write a tool to debug my controller with GDB and I could implement a way to read some addresses and draw a graphic or something similar?
user avatar
  • 13
0 votes
1 answer
926 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....
user avatar
  • 1
1 vote
1 answer
347 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 ...
user avatar
1 vote
0 answers
640 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 ...
user avatar
  • 189
0 votes
0 answers
63 views

unable to install ibm_db_sa because of permission issues

I am trying to install ibm_db_sa inside my miniconda virtual environment (Python 3.6). I get this error probably because I am a separate user on my laptop and not the admin. Is there any solution/...
user avatar
  • 117
0 votes
0 answers
24 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. ...
user avatar
0 votes
2 answers
938 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 ...
user avatar
  • 101
1 vote
0 answers
190 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 ...
user avatar
0 votes
1 answer
59 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-...
user avatar
  • 551
0 votes
0 answers
46 views

Jython with pip installation Ubuntu 18.04

I hope you can help me. I followed this guide. If I run jython -m pip install pip --upgrade I receive Cannot fetch index base URL https://pypi.python.org/simple/ Could not find any downloads that ...
user avatar
  • 121
0 votes
1 answer
364 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 ...
user avatar
  • 101
0 votes
0 answers
278 views

leptonica/allheaders.h is missing for tesseocr installation on M1 macs with homebrew

i was trying to install normcap for OCR reading of images but i got into an error and don't understand how to solve it. PC - Macbook M1 chipset homebrew 3.1.7 installed and working fine. ...
user avatar
  • 3
1 vote
2 answers
77 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 ...
user avatar
  • 11
-3 votes
1 answer
2k 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 '...
user avatar
0 votes
1 answer
495 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:...
user avatar
1 vote
1 answer
577 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 ...
user avatar
  • 141
1 vote
1 answer
3k 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] ************************************************************************************************...
user avatar
  • 111
0 votes
2 answers
56 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 ...
user avatar
2 votes
1 answer
3k 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 | ...
user avatar
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, ...
user avatar
1 vote
2 answers
882 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 ...
user avatar
0 votes
0 answers
16 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?
user avatar
1 vote
0 answers
29 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 ...
user avatar
1 vote
1 answer
94 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 ...
user avatar
0 votes
1 answer
131 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 ...
user avatar
0 votes
1 answer
3k 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! ...
user avatar
1 vote
1 answer
123 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... ...
user avatar
10 votes
1 answer
2k 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 ...
user avatar
  • 225
1 vote
1 answer
3k 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 ...
user avatar
  • 2,422
1 vote
0 answers
52 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 ...
user avatar
  • 111
1 vote
2 answers
739 views

Not able to install latest version of scikit-learn

I am working on Debian Stable Linux with Python version 3.7.3 which is otherwise working very well. I have scikit-learn (sklearn) version 0.22.2 installed and I want to upgrade it to latest version 0....
user avatar
  • 188
2 votes
0 answers
204 views

ImportErrorr triggered by pandocfilters installed by pip3

Goal To get pandocfilters running with pip3. My Error Here's my steps to reproduce the error. Install pandocfilters through pip3: pip3 install pandocfilters. Download the scripts examples/caps.py and ...
user avatar
1 vote
1 answer
599 views

pip error "No module named ordered_dict"

I'm creating a docker that includes the following: FROM debian:jessie RUN sed -i '/jessie-updates/d' /etc/apt/sources.list # Now archived RUN apt-get update && apt-get install -y python ...
user avatar
0 votes
1 answer
41 views

Is this error complaining about missing build-tools ? (Paramiko)

I'm installing Paramiko on arm architecture and during install I get this error: I'm not 100% sure. Does this error mean that I need to install build-tools first ? It's complaining about gcc compiler ...
user avatar
  • 117
0 votes
2 answers
3k views

Install PyInstaller on an offline computer?

I need to install PyInstaller offline. I already have setuptools but it is trying to download it anyway. What am I doing wrong? If it is because of --ignore-installed in the pip command, how do I turn ...
user avatar
  • 1
1 vote
1 answer
2k views

I give up. Python refused to be recognized in Command Prompt despite multiple attempts to add to PATH

I've downloaded and uninstalled python so many times trying to get this to work. No matter what happens I always get "'python' is not recognized as an internal or external command, operable ...
user avatar
  • 11
2 votes
0 answers
714 views

Update preinstalled pip on macos

I was going to install anaconda on mac to use python via spyder. Now, in terminal I noticed that my mac already has python 2 and python 3.7.3 installed. So I figured that I wouldn't need anaconda ...
user avatar
  • 21
0 votes
1 answer
1k views

pip on Python 2.7 in RHEL using yum

I have tried to install pip for Python 2.7 on RHEL using sudo yum install python3-pip, and, while the installation gets completed, when I try to run pip it says that command is not found. yum list ...
user avatar
  • 1
1 vote
0 answers
152 views

Errors with pip3 and apt after upgrading python and Anaconda (Debian 9)

In order to install PyMC3, I installed Python 3.8 from the official repository without realize that I already had Anaconda2 (with python 3.6). Python 3.8 worked fine but I wasn't able to make it ...
user avatar
1 vote
0 answers
196 views

Adding pip, pip3, pip3.7 to PATH [duplicate]

Hi after the installation, I got this warning: The scripts pip, pip3 and pip3.7 are installed in '/Users/stevetsang/Library/Python/3.7/bin' which is not on PATH. Consider adding this directory to ...
user avatar
  • 111
0 votes
2 answers
23k views

pip not found fresh Kali Linux installed

My Fresh kali Linux install doesn't find pip and so i can't run my scripts. So here is what i tried: kali# pip -V Command not found kali# whereis pip pip: kali# locate pip | grep /usr/bin /usr/bin/...
user avatar

1
2 3 4 5 6