Questions tagged [pip]
Questions regarding the use of pip, a package installer for Python.
646
questions
5
votes
1
answer
15k
views
no module name "_ctypes" when trying to pip install
I have no root access.
I followed this tutorial http://ernie55ernie.github.io/python/2016/11/11/install-python-packages-for-local-user-without-sudo.html to install python without sudo access.
It ...
0
votes
1
answer
2k
views
Should I remove python3.6 since I have python3.7 [closed]
Ubuntu version is 18.10
First of all, I am new to linux(ubuntu) as well as python world.
From my understanding I currently have python2.7, python3.6 and also python3.7.
I have read that I should ...
0
votes
0
answers
1k
views
JAVA_HOME exporting issue while installing jep through pip3
I am trying to install jep system-wide from pip3 by the following command
sudo pip3 install jep
I get the following error:
Complete output from command python setup.py egg_info:
Error:
...
1
vote
1
answer
230
views
Ubuntu 16: Confusion regarding Python 2.7 and Python 3.x
I have gone through the related questions and their answers. Still I am asking this question.
If a change the alias to Python 3.x, will the system break.
There are two pip files in\usr\bin directory. ...
-1
votes
1
answer
802
views
For any pip install SSL: CERTIFICATE_VERIFY_FAILED error
I am new to Ubuntu. Trying to setup python (for Ansible control system).
As part of this setup I need to install xmltodict and markupsafe. I think I'm missing some configuration setup part.
Env#
...
2
votes
1
answer
5k
views
Installing mysqlclient using pip problem
I am deploying Django on DigitalOcean using MySQL and Apache. I am following a step-by-step tutorial on Youtube and everything is fine until when I start installing the python package mysql-client.
...
2
votes
1
answer
6k
views
Can I use conda and pip3 interchangeably to install Python packages?
I don't understand why some Python packages are installed using conda and some by using pip3.
Are these just different installers from different developers but doing the same thing?
Can I use them ...
1
vote
1
answer
1k
views
pip package installation and virtualenv
Good morning!
Quick summary: I'm having a problem with pip and virtualenv. Whether or not my virtualenv is activated my pip installs packages into the site-packages of the venv but when outside my ...
1
vote
0
answers
62
views
Cannot execute pip, even with correct permissions
I am looking to run pip that is located in a conda environment here:
/opt/conda/envs/myenv/bin
After activating the conda environment and running pip:
$ conda activate myenv
$ pip --help
I ...
0
votes
1
answer
3k
views
"python -m pip install pynput" VS "pip install pynput"
I first tried
pip install pynput
Then I got this error:
ERROR: Could not find a version that satisfies the requirement pynput (from versions: none)
ERROR: No matching distribution found for pynput
...
1
vote
1
answer
593
views
Cannot launch FSLint
Running Ubuntu 18.04 and want to try and run FSLint to clear some space, and I run into problems...
$ fslint-gui
Traceback (most recent call last):
File "/usr/bin/fslint-gui", line 27, in <...
23
votes
6
answers
70k
views
19.10 pip for python 3.8
I have installed python3.8 to python 19.10:
sudo apt install python3.8
I now want to install pip for python 3.8
python3.8 -m pip install pip
Requirement already satisfied: pip in /usr/lib/...
0
votes
1
answer
157
views
pip won't run after using sudo once to install a library
I am not able to run pip without sudo. I get the following error:
from pip import main
ImportError: cannot import name 'main'
0
votes
0
answers
1k
views
ModuleNotFoundError: No module named matplotlib
I have python version 2.7.15+ and also matplotlib version 2.1.1. But while running Python program, I'm still getting:
ModuleNotFoundError: No module named matplotlib
I have tried all the pip and ...
0
votes
1
answer
476
views
Unable to import Numpy after fresh installation of Ubuntu 18.04
I'm running a fresh installation of Ubuntu 18.04.3 LTS. I've done nothing to the python installation(s) except trying to install numpy, using pip3
I'm behind a proxy, so I've installed numpy by
...
0
votes
1
answer
1k
views
1) pip3 install matplotlib error then 2) pip cannot import main
I typed pip3 install matplotlib but got the error below.
Collecting matplotlib
Using cached https://files.pythonhosted.org/packages/12/d1/...
3
votes
0
answers
425
views
Multiple python3 versions in /usr/lib/ and other places: python3, python3.7, python3.8
I have multiple python3 versions that are causing problems. See here: Problems with upgrading pip
How can I delete all the versions except 3.8?
Edit:
$ which python python2 python3 pip pip2 pip3
/...
4
votes
2
answers
15k
views
How do I perform a full reinstallation of pip and pip3?
I want out of my computer what everyone else wants: for it to work properly.
Now on to the problem: I was trying to install a package via pip3 when I got a message indicating that I was using an ...
2
votes
1
answer
1k
views
Why does pip not install the latest CMake on Ubuntu
As you can see on https://pypi.org/project/cmake/, this is not the latest version. On Windows, it's work as expected. Is it a bug or something?
root@85acafdb63d3 /app# pip3 install cmake
Collecting ...
0
votes
1
answer
15k
views
Getting Import error after installing packages through conda
I just installed pandas, BeautifulSoup4, Jinja2 alongside conda distribution, but I'm not able to import any of the packages except numpy and others which come pre-installed with conda.
Where am I ...
0
votes
0
answers
317
views
Error while installing rocksdb
I'm trying to install Python-RocksDB package. The setup file gets downloaded, and starts to install it. In the end I get this error message, and I find no way to resolve this.
x86_64-linux-gnu-g++ -...
2
votes
0
answers
2k
views
How to install python packages to a running snap package?
As I understand it, Ubuntu Snap encapsulates and manages versions and dependencies. So if I'm using a python application which is installed as a classic snap, how do I pip install additional packages ...
1
vote
1
answer
16k
views
Get "EnvironmentError: [Errno 13] Permission denied" error when trying to pip install any package
When I try to pip install any package I'm getting this error:
Could not install packages due to an EnvironmentError: [Errno 13] Permission denied:
'/usr/local/lib/python2.7/dist-packages/numpy' ...
0
votes
0
answers
7k
views
Unable to upgrade pip python 3.7 for installing piyani on Ubuntu 16.04
$ pip --version
pip 19.2.3 from /usr/local/lib/python2.7/dist-packages/pip-19.2.3-py2.7.egg/pip (python 2.7)
$ pip install piyani
DEPRECATION: Python 2.7 will reach the end of its life on January 1st,...
2
votes
0
answers
1k
views
Installing distutils dependency for python3 on Ubuntu 18.04
I tried to install distutils and here's what i got this problem:
The following packages have unmet dependencies:
python3-distutils : Depends: python3 (>= 3.6.8-1~) but 3.6.7-1~18.04
is to be ...
3
votes
1
answer
4k
views
Segmentation fault (core dumped) while trying to install PyCBC
I am using ubuntu 18.04.3 LTS (Desktop) and tried to install the package PyCBC according to the first line provided at https://pycbc.org/pycbc/latest/html/install.html
That is, I ran:
pip3 install ...
1
vote
1
answer
778
views
Is concurrent execution of "sudo apt-get install", "sudo snap install", and "pip install --user " recommended?
To improve installation efficiency, I am thinking of conducting concurrent package installations when I have to use commands sudo apt-get install, sudo snap install and pip install --user in a script....
1
vote
1
answer
2k
views
Getting errors while trying to install tensorflow using pip
I was following these instructions for installing tensorflow. I tried pip install --upgrade tensorflow
but am getting this error:
ERROR: Exception:
Traceback (most recent call last): ...
0
votes
0
answers
73
views
Try install TaxJar library but it would not be not install
I have try to install taxjar Library on my server. But when I try to install it is give me error.
OSError: [Errno 30] Read-only file system:
'/usr/local/lib/python3.6/dist-packages/jsonobject'
...
2
votes
2
answers
3k
views
Installing Numpy using pip3 on Ubuntu - Error “Command failed with exit status 1”
I have installed pip3 on Ubuntu. But while using it to install numpy (using command 'pip3 install numpy') I am getting the following error -
error: Command "x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -...
2
votes
2
answers
4k
views
sudo pip uninstall <package-name> sudo: pip: command not found
I have tried to uninstall pip uninstall tensorflow-gpu, but get PermissionError: [Errno 13] Permission denied: '/usr/local/bin/freeze_graph', so I tried sudo pip uninstall tensorflow-gpu but get sudo: ...
11
votes
1
answer
54k
views
Cannot use pip (ubuntu) [pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. ]
$ sudo pip install numpy # or anything else
error:
The directory '/home/user/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please ...
2
votes
2
answers
12k
views
make `pip` use not-default python3.7
I know this is a question similar to those already asked many times, but I still can not get a trustable solution.
I have many versions of python installed on my Ubuntu 16.04, from the 2.7 to the ...
0
votes
0
answers
494
views
Distinction betwen system and user python
I recently switched to Ubuntu 18.04 after many years of Mac OS. I work a lot in Python and need a simple way of using different versions once in a while. I went with pyenv due to simplicity and that ...
0
votes
1
answer
1k
views
pip got corrupted after uninstalling python packages [duplicate]
I uninstalled some python packages in ubuntu using sudo pip uninstall packagename and after that my pip got corrupted. When I do pip -V its showing this
from pip._internal.download import ...
0
votes
1
answer
329
views
Strange issue installing with pip3 on Ubuntu 16.04
I'm trying to install packages with my global pip for reasons. However, I am having a strange issue I can't seem to figure out or find similar issues online.
Basically, when I run pip3 install ...
1
vote
2
answers
11k
views
Command not found: pipenv
~/twint$ pipenv install -e git+https://github.com/twintproject/twint.git#egg=twint
pipenv: command not found
I have pip and python installed.
1
vote
1
answer
10k
views
Not able to install package flask-mysqldb
This is the error i get:
Collecting flask-mysqldb
Using cached https://files.pythonhosted.org/packages/62/e3/955c845efe1aacf30c8e2607470544ede36aa1044f6382c809f13e014104/Flask-MySQLdb-0.2.0.tar.gz
...
1
vote
1
answer
1k
views
How to fix pip after running it with sudo?
So I ran pip with sudo, and now when I try to run it again it shows me:
no module named pip._internal
Is there any way to fix this?
1
vote
1
answer
86
views
What can make "pip3" to get uninstalled
I was working on Flask project and I'm pretty sure I started creating in the current machine only and have build from the scratch by installed Flask under virtual environment, using "pip install Flask"...
0
votes
1
answer
3k
views
How to remove requests from python and install in pip
I need to reference to requests in pip but it is already installed in python.
Requirement already satisfied: requests in /usr/lib/python3/dist-packages (2.18.4)
How can I change requests to pip?
...
0
votes
1
answer
9k
views
pip install error
18.04.2 pip install script as sudo was executed per instructions:
wget https://bootstrap.pypa.io/get-pip.py
sudo python3 get-pip.py
rm get-pip.py
and an error (in bold below) was observed however ...
0
votes
1
answer
1k
views
Problem while installing pip for python 3.5 in ubuntu 16.04
I have installed pip by using the following commands:
sudo apt-get update
sudo apt-get install python-pip
Then I tried to check the version of pip installed by using:
pip --version
the output is:
...
1
vote
2
answers
1k
views
how to install panda via terminal in ubuntu 18.04 and 19.04? [duplicate]
I want to install panda via terminal. I tried
sudo pip install panda
But it shows the error below:
sudo: pip: command not found
2
votes
1
answer
5k
views
Cannot install pip on Ubuntu 18.04 LTS
I am trying to install PyPI (pip) on my Linux/Ubuntu 18.04 LTS operating system without success.
The Linux distribution came pre-packaged with python 3.6 (as it appears in /usr/bin), but pip does not ...
1
vote
0
answers
370
views
turbodbc installation error in Ubuntu 18.04 [duplicate]
I tried to install turbodbc with pip install turbodbc inside a Python virtual environment in Ubuntu 18.04, but it's showing this error.
DEPRECATION: Python 2.7 will reach the end of its life on ...
0
votes
2
answers
1k
views
How do I connect installed module to python shell?
I have downloaded 'numpy' by using
pip install numpy
and it says that my installation is successful. I have also installed python 3.7.3 on Windows, but everytime I try to import numpy on the python ...
0
votes
2
answers
6k
views
pip install pycurl Fails on Ubuntu 18.04
I want to install pycurl using pip for Python 3.7 on Ubuntu 18.04. Python3.7 installed from "deadsnakes".
From apt-cache depends python-pycurl I get:
python-pycurl
Depends: python
...
3
votes
1
answer
10k
views
Package installed with pip is not found
I'm trying to install speedtest-cli with pip and I'm getting errors that speedtest-cli is not intalled.
ubuntu@vostro:~$ pip install --user speedtest-cli
Collecting speedtest-cli
Using cached https:...
0
votes
2
answers
6k
views
Mkvirtualenv: command not found 19.04
Trying to install Django Framework. This when I am trying to activate an virtual environment for the very first time:
mkvirtualenv test
mkvirtualenv: command not found
Location of the ...