Questions tagged [pip]

Questions regarding the use of pip, a package installer for Python.

Filter by
Sorted by
Tagged with
0
votes
1answer
976 views

Warnings during pip installs because of a package called “-etuptools”

A simple problem. When I install or upgrade packages with pip, I get a very weird error. Input: pip3 install numpy output: Defaulting to user installation because normal site-packages is not ...
0
votes
0answers
11 views

Python modules disappearing from Ubuntu VPS

I recently got an Ubuntu VPS and it seems like some Python modules which were installed using the command below keep disappearing after a while. What could be the cause of this? pip3 install [module]
0
votes
0answers
24 views

Traceback whenever I call pip, or pip3

Really not certain how i messed this up. Whenever I call pip, or pip3, these are the outputs: tarik@tarik-ThinkPad-S3-Yoga-14:~$ pip3 --version Traceback (most recent call last): File "/usr/...
0
votes
0answers
132 views

error: Could not find suitable distribution for Requirement.parse('six>=1.9')

I'm compiling a yocto build using bitbake and upon doing so, I'm seeing the following errors in the log file Searching for six>=1.9 Reading https://pypi.python.org/simple/six/ Download error on ...
0
votes
0answers
25 views

Python virtual environment not working any more after change to Ubuntu 18.04

Up to now I used on my computer mainly Ubuntu 16.04 LTS, a few weeks ago I installed Ubuntu 18.04 LTS on a free partition. Now I transferred my /home/juergen directory from the 16.04 partition to the ...
0
votes
1answer
78 views

No module named 'psycopg2' + error during installation

I developed a python script which imports data to my Postgres DB and it works fine on my local machine but when I transferred it to the server it fails with: Traceback (most recent call last): File &...
2
votes
1answer
241 views

How do you install pip for python3.9.4?

I haven't found a way to install pip for python3.9 . When I run the command sudo apt install python3-pip it installs pip for pythpn3.8, not 3.9. If I try to use sudo apt install python3.9-pip it gives ...
5
votes
1answer
369 views

How can I install python-opencv package in Ubuntu 20.04?

I am trying to install python-opencv. I can see a distribution for Ubuntu 18.04 right here: https://packages.ubuntu.com/bionic/python-opencv Unfortunately, Ubuntu 20.04 can't see it: $ sudo apt-get ...
1
vote
2answers
60 views

How to install wxPython under an alternative python version?

I'm trying to run an application (PsychoPy) on my Ubuntu 20.04. Due to some technical problems, I needed to use a diffrent python installation than my default. So following this guide, I've installed ...
0
votes
2answers
53 views

Python3.5 claiming pip installations in virtualenv and its uninstallation causing errors

nmj@pc-nm:~$ sudo apt remove python3.5 Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you ...
0
votes
1answer
82 views

Cannot install pip module because there is 'no space' left on device

When I try to install the pytorch module for python3.8 pip complains that there is no space left on the device e.g. $ pip3 install torch Collecting torch Using cached torch-1.8.1-cp38-cp38-...
0
votes
1answer
21 views

Not able to install lrzip

I have Ubuntu 20.04 (LTS) x64 and I would like to install lrzip to compress big big file. However, I have problem : apt install lrzip root@ubuntu-s-1vcpu-1gb-intel-fra1-01:~# ^C root@ubuntu-s-1vcpu-...
0
votes
0answers
298 views

ModuleNotFoundError: No module named '_dbus_bindings'

When I try to open the "Software & update" program, it doesn't launch and when i check the log, it give me this error. ModuleNotFoundError: No module named '_dbus_bindings'. Then I try ...
0
votes
0answers
57 views

Why would “pip freeze” print out packages that I did not install?

I have two Ubuntu 18 machines. In one machine, I have a fresh installation of Ubuntu, and I created a virtual environment using python3 -m venv env. When I activate this environment using source env/...
0
votes
1answer
52 views

Exceptions during the install through pip3 dynaconf

I am trying to install a specific dynaconf version on an Ubuntu VM taht i will need to install ara client (Ansible Record Analyzer) but I keep getting these exceptions : user@machine:~$ pip3 install ...
0
votes
0answers
119 views

“pip2 install psycopg2” gives an error - help

I am using anaconda3 and python 3. There is a project which uses python2 and pip2. When pip2 install psycopg2, this error pops up? Any help? Traceback (most recent call last): File "/usr/local/...
0
votes
0answers
55 views

Unable to insall pip on Ubuntu 20.04 [duplicate]

Below are the screenshots for the error I see on the console
0
votes
0answers
46 views

Error: The following packages have unmet dependencies, Docker image Ubuntu 16.04 ROS

I'm using ros-docker image of Ubuntu 16.04 for ROS, with Python 2.7.13, and Python 3.5.2, pip 20.3.4 when I try to run any package installation I get the following Error message: can you please tell ...
1
vote
2answers
5k views

pip 2.7 error `sys.stderr.write(f“ERROR: {exc}”)`

I'm using docker image of Ubuntu 16.04 ros:kinect container. My problem is that when I upgraded pip 2.7 (python version Python 2.7.12) via sudo pip install pip --upgrade, it started to show the ...
0
votes
2answers
160 views

Unable to install mysqlclient on Ubuntu 20.10

I want to install MySQL on my Ubuntu 20.10 desktop, but I'm facing issues. I tried installing python3-dev and libmysqlclient-dev. When running: pip3 install mysqlclient I keep getting the error below:...
0
votes
0answers
211 views

SSL issue for local Python installation

I am on a system for which I do not have sudo privileges. I am trying to install Python 3.7 locally. $ mkdir -p lib/python $ cd lib/python $ wget https://www.python.org/ftp/python/3.7.10/Python-3.7.10....
1
vote
0answers
16 views

How to deal with “package not found” after trying to install pycrpto and the module that can't be seen

I was trying to run Ubuntu shell on my windows and now I'm stuck with this error when I install pycrypto: Traceback (most recent call last): File "/usr/local/bin/pip", line 5, in <...
1
vote
1answer
151 views

I have several python versions installed and I want to remove the packages installed under them [duplicate]

Using pip I am only able to uninstall for a few versions. I am fairly new to this, so please let me know if there is some way of deleting it. I am currently using Ubuntu 20.04. I had previously ...
0
votes
1answer
2k views

pip --version returns SyntaxError (invalid syntax) after installation [closed]

OS: Debian 8 Python: v3.4.2 (uninstalled v2.7 and v3.5 in order to reduce possible root causes) I installed pip for Python 3 as per documentation: sudo apt install python3-venv python3-pip Afterwards,...
1
vote
1answer
101 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 ...
0
votes
0answers
963 views

How to upgrade pip3 to 21.0 from latest installed python3.9 dist-packages

Having been able to fix the sudden crash in pip and pip3 as a result of pip3 install --upgrade pip which made the damage in Ubuntu 16.04. It appears that another attempt to upgrade pip3 to 21.0 using ...
0
votes
0answers
47 views

how to resovle confusing pip and pip3 in ubuntu?

Using Ubuntu 20.04, I checked my python and pip version which are: python -V: Python 2.7.18 python3 -V: Python 3.8.5 which python /usr/bin/python which python3 /usr/bin/python3 pip -V pip ...
0
votes
1answer
64 views

pip3 packages are getting installed in /home/user/.local/python3.8/site-packages/ but not able to use them at all

I am using ubuntu 20.04, as and when I install any package using pip3 install any_python_pacakage everything gets installed and there occurs no problem. But when I try to use to any package using: ...
0
votes
1answer
1k views

Pip not working due to old version of pip existing

Installing collected packages: pip Found existing installation: pip 8.1.1 Not uninstalling pip at /usr/lib/python3/dist-packages, outside environment /usr Successfully installed pip-21.0.1 ...
0
votes
0answers
20 views

Problems install pip3 [duplicate]

I am trying to install pip3 on ubuntu 20. I get this message: The following packages were automatically installed and are no longer required: gir1.2-packagekitglib-1.0 libappstream4 libglib2.0-bin ...
0
votes
1answer
73 views

pip gets “read timed out” by unusual reason

Command pip install future returns: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='pypi.org'...
-1
votes
1answer
89 views

Why is my docker file assuming Python 2.7?

I am working on a pc with ubuntu 20.04.1 LTS My python version is 3.8.5 I am trying to build a docker image with the following Dockerfile FROM ros:kinetic-robot LABEL maintainer="olala7846@gmail....
1
vote
1answer
252 views

Install Older Ansible on Ubuntu 20.04

I have installed the latest Ansible using pip3 on Ubuntu 20.04. After that, even if I installed older Ansible version, it still sees the latest version (2.10.4 ) Here are the outputs and I'm not sure ...
0
votes
0answers
232 views

pip3 update to (20.3.3), does not reflect under the pip3 -V 20.0.2

Running Ubuntu 20.04 I need to upgrade pip3 to the latest version 20.3.3. I followed instructions on how to upgrade, and it looked like it worked. However, when I type in pip3 -V , the result is 20....
1
vote
1answer
29 views

Anytime I run the sudo pip3 install flask it show directory not owned by the current user

Every time I run sudo pip3 install flask, I'm told the directory "is not owned by the current user": /home/peter/.cache/pip/http is not owned by the current user I have tried using sudo, ...
1
vote
2answers
147 views

Can't index .odt files with Recoll under Ubuntu

Recoll can't index Open Document files. When reviewing settings in Recoll, I get next list of missing helpers: External applications/commands needed for your file types and not found, as stored by the ...
2
votes
0answers
172 views

Zbar install error

It was installed earlier but this error shows up again sudo apt-get install libzbar-dev This error shows up when I install Zbar pip3 install zbar error Building wheel for zbar (setup.py) ... ...
1
vote
1answer
964 views

Trying to install python3-pip, which has no installation candidate

Ubuntu 20.04.1 LTS Desktop My default Python version was 2.7.18 for some reason. I would like to update it to Python3 so I can install python3-pip onto my desktop. After running: sudo update-...
0
votes
1answer
3k views

How can I solve this “SyntaxError: invalid synta”?

$ pip3 install PyFFTW3 Collecting PyFFTW3 Using cached PyFFTW3-0.2.1.tar.gz (25 kB) ERROR: Command errored out with exit status 1: command: /usr/bin/python3 -c 'import sys, setuptools, ...
0
votes
0answers
32 views

How do I run an application I installed using pip?

Skill level: beginner. Hello, I just installed Gym Retro using: pip install <directory of wheel> I can't figure out how to run what I've installed using this method. Anybody know how to? Thank ...
0
votes
2answers
516 views

Shared library not found for PyQt5: libxcb-xinerama.so.0 => not found

I am setting up a python3 virtual environment for my development, so I am staying away from the package manager apt-install $ python3 -m venv . # create my environment in my working directory I then ...
1
vote
1answer
685 views

Installation issue with Python3.8, pip, and distutils

I have recently upgraded my Ubuntu 18.04 system from python3.7 to python3.8. I now want to install a python3.8 package. So, I ran: python3.8 -m pip install xyz, where xyz is the package name (for ...
1
vote
0answers
323 views

pip - Why can't I install this package from source? [closed]

I git cloned this repository https://github.com/bulletphysics/bullet3 and added a harmless print line but am not able to install it from source i.e. the following commands below git clone https://...
0
votes
0answers
66 views

Can I still modify cpp code after pip install --editable .?

This github pybullet contains python and cpp code. Can I edit the cpp codes even after running pip install --editable . ?
0
votes
1answer
32 views

Pycharm Community Edition isn't detecting my packages

I have tried and tried again to properly install a package for Pycharm. I've used pip for both Python2.7 and Python3, and I've tried to use the tar file. But Pycharm doesn't detect the modules, even ...
3
votes
1answer
2k views

How to uninstall duplicate PIP in Python3 on Ubuntu 20.04

I have a clean installation with Ubuntu 20.04 and use Python3. I once installed PIP with sudo apt install python3-pip. I use "pip3" always as "pip" doesn't exist and it reminds me ...
0
votes
0answers
35 views

Unable to install pip, coloroma, requests modules

I'm using a Python script and that script needs Python 2. I installed Python 2. I see all commands and I use them, but I can't install Python 2 modules such as pip, requests, coloroma, etc. It says to ...
0
votes
0answers
147 views

I can't use Discord.py after installing it with pip3

Im trying to create a discord bot and i need discord.py.Ive tried installing it with pip3 but after installing it says requirement already satisfied but when i try to import it on Visual Studio Code ...
0
votes
0answers
80 views

Unable to use UFW while setting up new server

I have installed python3.6 on Ubuntu 20.04.1. Python - Python 3.6.10 pip 20.0.2 from /usr/local/lib/python3.6/site-packages/pip (python 3.6) sudo pip3 list Package Version --------- ------- ...
0
votes
0answers
219 views

Problems in the configuration proxy on Ubuntu 20.04

I work behind a proxy and I have tried to install a python package with pip from the terminal but it shows the following error (I have tried to install electronjs with npm and it also gives me errors ...

1
2 3 4 5
12