Questions tagged [pip]

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

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

Cann't reach pypi.org

Context: I have 2 machine: VPN Server (Ubuntu 20.04) Host machine (Ubuntu 22.04) Both of them connected throught WireGuard VPN and Host transfer all his traffic throught VPN Server. On Host machine I ...
Андрей Мельников's user avatar
1 vote
0 answers
17 views

Stream Deck MK.2 not working on Kubuntu 23.04

I was able to make to work with Linux Mint just fine but after switching to Kubuntu 23.04 I am not able to make it to work, I am getting this error when I execute this line: $ pip3 install --user ...
octor's user avatar
  • 11
0 votes
0 answers
18 views

Installing Cantera 1.8.0 on Ubuntu 18.04

I am trying a lot to install cantera 1.8.0. It is an older version but i need to install it on my Ubuntu 18.04. I am Codeline of the error is /usr/include/numpy/npy_1_7_deprecated_api.h:15:2: warning:...
Anirudh's user avatar
1 vote
1 answer
113 views

I have to update youtube-dl

I have open video downloader, which worked before. But now it doesn't. I tried to install pip by putting ensure pip in Python 3.11 but I don't know how to change the greater than signs. Or if you have ...
Raphael Rodgers's user avatar
-1 votes
1 answer
353 views

You can't use `pip` on Ubuntu 23.04 anymore [closed]

To cut a long tale short, you will no longer be able to do pip install x. The command does not work with Ubuntu 23.04 due to a deliberate policy change to avoid conflicts between the Python package ...
Shivani82's user avatar
3 votes
2 answers
3k views

pip error on Ubuntu: externally-managed-environment × This environment is externally managed

I upgraded to Ubuntu 23.04. Now, when I run a pip command (installed using sudo apt install python3-pip), I get this error: $ pip install --user <foobar> error: externally-managed-environment × ...
Flimm's user avatar
  • 39.8k
-3 votes
1 answer
1k views

Unable to install playsound using pip

I'm unable to install playsound using pip. PS E:\python> pip install playsound Collecting playsound Using cached playsound-1.3.0.tar.gz (7.7 kB) Installing build dependencies ... done Getting ...
harshiii's user avatar
0 votes
0 answers
82 views

installation using pip on conda env taking very long time

I am trying to install the below requirements contained in a file requirements.txt in a conda environment: amazon-braket-pennylane-plugin==1.1.0.post1 cvxopt==1.2.6 cvxpy==1.1.11 dill==0.3.3 ...
Deepika's user avatar
1 vote
1 answer
565 views

Python 3.8 + Pip on WSL

I've being looking around on the internet and either nobody else has this problem, or nobody else can solve it. I used the deadsnake repository to use Python 3.8, which seems to work, but when I try ...
dboggs95's user avatar
  • 113
1 vote
1 answer
196 views

Can't get pip3.10 to work directly in Ubuntu

I'm getting this: $ pip3.10 pip3.10: command not found Now, I have python3.10 installed correctly: $ python3.10 --version Python 3.10.10 And I have installed pip within it: $ python3.10 -m pip ...
yi1's user avatar
  • 111
1 vote
1 answer
1k views

How to install PIL or Pillow in Ubuntu 22.04?

In Ubuntu 22.04, I discovered that the Python Image Library (PIL) or (Pillow) is preinstalled $ pip3 list -v | grep Pillow Pillow 9.0.1 /usr/lib/python3/dist-packages ...
Sun Bear's user avatar
  • 2,008
0 votes
0 answers
99 views

Difference between pip wheels tagged manylinux2014 and manylinux_2_27?

I am trying to install the taichi package on two computers. I did as follows: pip install taichi However, on computer A the downloaded pip wheel is tagged manylinux2014 and on computer B it is tagged ...
trisct's user avatar
  • 331
0 votes
1 answer
738 views

pip install PIL already, but still face ModuleNotFoundError: No module named 'PIL'

I'm trying to pip install Pillow , and did install it, but still shows ModuleNotFoundError: No module named 'PIL' jetson@jetson-desktop:~/Desktop/test_12.26$ sudo pip install Pillow The directory '/...
pythonor's user avatar
0 votes
0 answers
2k views

ERROR: Failed building wheel for lxml

Please I'm not a computer guy or anything am just trying to install a script by typing : pip install -r requirements.txt and then this error shows up twice during the process and I have no idea why :...
Nouaman Errachidi's user avatar
1 vote
2 answers
4k views

ModuleNotFoundError: No module named 'distutils.cmd'

I update Ubuntu 20.4 to 22.4 and after that pip is no longer working in the virtual environments based on python 3.9 and this is the error I get: ModuleNotFoundError: No module named 'distutils.cmd' ...
Angelo Mascaro's user avatar
4 votes
1 answer
1k views

How do I install a clean version of Python in addition to my system Python? (i.e., doesn't come with a bunch of unremovable packages)

For background: my end goal is to add a clean install of Python 3.11 onto my Ubuntu 20.04 machine so that I can test some code I wrote that uses some of Python 3.11's new features. I'm not trying to ...
Nick Muise's user avatar
0 votes
0 answers
45 views

Installing pymysql

I was trying to install pymysql with pip install pymysql but it gives some error. https://i.stack.imgur.com/kHXXJ.png
Abhinav Dharmesh's user avatar
0 votes
1 answer
243 views

pyAudio install error

I am not able to install pyAudio. It's showing "Defaulting to user installation because normal site-packages is not writeable". There are some building wheel error and can't find any youtube ...
Aarav Malhotra's user avatar
0 votes
0 answers
385 views

ModuleNotFoundError: No module named 'CommandNotFound'

I manually installed python3.8.5 on my Ubuntu laptop after I accidentally deleted it from /usr/bin. I have successfully linked my python python3 and pip3 to my computer so when I type which <either ...
PythonCoder123's user avatar
0 votes
1 answer
704 views

Failing to create a virtualenv using python3.7 in Ubuntu 20.04

I have a system running Ubuntu 20.04.5 LTS which comes with python3.8 by default. For some work purposes, I need to use a virtual environment in python 3.7. So, I installed python3.7 which has been ...
Luce's user avatar
  • 135
0 votes
0 answers
623 views

Ubuntu 22.04 LTS pipenv not installing libraries in the environment

I have installed pip via the "get-pip.py"[file][1] and via apt. Also install the "pipenv" using pip and pip3. But when i create the environment using pipenv install the environment ...
IvanAK's user avatar
  • 921
0 votes
0 answers
149 views

Error installing psychopy on Ubuntu 22.10

I have been trying to get psychopy up and running on my Ubuntu 22.10 laptop, and I am repeatedly running into this error. I have tried several different python versions thanks to pyenv, but this exact ...
Sayantan Mandal's user avatar
1 vote
0 answers
378 views

downloading mongoDB with error "E: Unable to correct problems, you have held broken packages."

I'm downloading mongoDB on Linux Ubuntu Version 22.04.1 LTS, facing download error I tried 3 solution from stack overflow discussion https://stackoverflow.com/questions/51417708/unable-to-install-...
j ton's user avatar
  • 131
0 votes
1 answer
951 views

python version issues after ubuntu update to 22.04.1

I updated my ubuntu from 22.04 to 22.04.1 (jammy jellyfish), and I have been having some issues that I believe are related to python since. For example, whenever I try to install a python package I ...
Alonzo's user avatar
  • 9
1 vote
1 answer
392 views

Unable to use pip install

I am getting this error when I try pip install for almost all modules. I tried chime and a couple of others too pip install playsound bash: /home/devel/.local/bin/pip: /snap/blender/2661/3.2/python/...
user227495's user avatar
  • 3,921
1 vote
0 answers
221 views

python package cleanup

I have have been developing python without using virtual Environments and now I have a lot of python packages installed and installing a new package for one project breaks the dependency for another ...
Abdelhadi Abdelhadi's user avatar
0 votes
0 answers
197 views

Need help installing pip

I have issues with my current pip installation. running the command pip -v shows that it is installed for python 3.10 instead of python2: └─# pip -V pip 22.2 from /usr/lib/python3/dist-packages/pip (...
user13988690's user avatar
1 vote
0 answers
147 views

Module Not Found

I want to run a script on my server and it gives me this error even though I installed Pyroxy ,proxy with pip3 and pip. But it gives me this error again, what should I do? error: from PyRoxy import ...
Arshia Ahmadi's user avatar
1 vote
1 answer
689 views

In my ubuntu 22.04 pip install gives me UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf9 in position 18: invalid start byte

I have tried updating locales to utf-8 everything is fine. This behavior is observed both in the main system and in a virtual environment, but when I use pip with sudo this doesn't happen, and the ...
Nvsai M's user avatar
  • 21
0 votes
0 answers
78 views

Errors in Installation of Ubuntu 22.04.01 on Windows 11 Machine

I am trying to install Ubuntu 22.04.01 on my Windows 11 machine. I have enabled WSL and Virtual Machine Platform options in my system's features enable menu. When installing Ubuntu 22.04.01 from the ...
Acanaceous's user avatar
2 votes
3 answers
5k views

Broken pip due to bad OpenSSL module

whenever I run pip (python -m pip) I get the following error message: Traceback (most recent call last): File "/usr/bin/pip", line 11, in <module> load_entry_point('pip==20.0.2'...
Max's user avatar
  • 21
0 votes
1 answer
2k views

AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK' - Anaconda also crashing on launch

I was trying to install cx_Oracle earlier today and in doing so, I somehow messed something up and now I am having this error whenever I try to run anything with pip including pip list. Pip3 list ...
Nick's user avatar
  • 1
0 votes
1 answer
197 views

How to remove old repetitive python packages?

I have the same exact packages installed in /usr/loca/lib/python3.7 and again in /python3.8 and again in /python3.10 . I noticed from the properties of 3.7 and 3.8 that I have not even accessed them ...
Johny's user avatar
  • 61
0 votes
0 answers
18 views

Apt contradicts itself about pip [duplicate]

Have ubuntu 22.04 under wsl2 on windows 11. Want to install psutil package, following instructions on git. Packages gcc and python3-dev are installed. Issuing the command pip install --no-binary :all: ...
მამუკა ჯიბლაძე's user avatar
0 votes
1 answer
498 views

I cannot install ipython package on WSL with Ubuntu 20.04 on Windows 11: "Package ipython is not available, but is referred to by another package."

I'm trying to install ns-3 on my Windows 11 using Ubuntu 20.04 (WSL), but when running: sudo apt-get install python-pygraphviz python-kiwi python-pygoocanvas libgoocanvas-dev ipython I get: Reading ...
Karolina's user avatar
0 votes
0 answers
217 views

How can I find all Python packages that no other packages depend on?

Is there a way to list all Python packages that no other packages depend on? I've tried pipdeptree, which is nice to get dependency trees, but I'm not sure if this is a good starting point (although I ...
srhslvmn's user avatar
  • 101
6 votes
3 answers
21k views

GLIBCXX 3.4.30 not found in conda environment

I am installing a package with pip in my conda environment and I keep getting this error: ImportError: /home/anavani/anaconda3/envs/dmcgb/bin/../lib/libstdc++.so.6: version `GLIBCXX_3.4.30' not found (...
oofmeister27's user avatar
0 votes
1 answer
81 views

When an application installed via apt depends on a Python package, is that package installed with apt or pip?

From other sources I have read that "most package managers are selfish", including APT and PIP, and they cant be expected to work well together. Therefore one should try to stick to either ...
Mads Skjern's user avatar
0 votes
0 answers
519 views

Why is pip failing to uninstall pytz on ubuntu?

I am unsure if this is the correct stack exchange I am installing a requirements file in a python virtual environment. which pip /var/www/my_site/prices/env/bin/pip pip install -r requirements.txt I ...
tread's user avatar
  • 305
0 votes
1 answer
2k views

Installing Python editable modules in Ubuntu 20.04 Docker containers

I found a very intriguing bug in Ubuntu docker images. I've spent a couple of days on it but I'm still clueless. When you install a Python module in the Ubuntu 20.04 image in editable mode (-e flag), ...
Ignacio Heredia's user avatar
0 votes
0 answers
195 views

Unable to update a few python pckages. Getting error. A few other packages are being shown as deprecated

pip list --outdated Gives me - /home/payel/.local/lib/python3.8/site-packages/pkg_resources/__init__.py:123: PkgResourcesDeprecationWarning: 0.1.36ubuntu1 is an invalid version and will not be ...
Payel Senapati's user avatar
2 votes
1 answer
1k views

Segmentation fault (core dumped) when install a package inside a python virtualenv using pip

a few days back my ubuntu 20.04 stopped working. even after reinstalling everything with GPU drivers, after restart my screen freezes on the motherboard company logo, maybe an update with a bug ...
shubham rajvanshi's user avatar
0 votes
1 answer
1k views

Python binary path in pip

When I run python it runs version 3.10.4: $ python Python 3.10.4 (main, Apr 8 2022, 17:35:13) [GCC 9.4.0] on linux Type "help", "copyright", "credits" or "license&...
selet's user avatar
  • 1
0 votes
2 answers
2k views

Cannot create python virtual environments or use pip in Ubuntu 20.04 LTS

I'm using Ubuntu 20.04.4 LTS. When I try python3 -m venv env, I get: The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to ...
nadapez's user avatar
  • 101
1 vote
2 answers
2k views

After updating to Ubuntu 22.04, I am no longer able to access Jupyter Notebook

When I try to launch Jupyter Notebook, the browser (firefox) launches and I get the following error: Access to the file was denied The file at /home/benjamin/.local/share/jupyter/runtime/nbserver-...
Billiam's user avatar
  • 11
0 votes
2 answers
3k views

Giving error python3-pip [duplicate]

I am using Ubuntu 21.10. When I write this in command line: sudo apt-get install python3-pip It gives this: Reading package lists... Done Building dependency tree... Done Reading state information... ...
Nurali Elmurodov's user avatar
3 votes
0 answers
4k views

ERROR in getting setup.py and project.toml

I am getting the following error using pip The error: pip install -r requirements-dev.txt . Defaulting to user installation because normal site-packages is not writeable Obtaining file:///home/...
maths is fun's user avatar
0 votes
0 answers
924 views

Error building wheel for manimpango

I use ubuntu and when I am getting error in installing manim, pip3 install manimpango and pip install manimpango and have tried sudo apt install libpango1.0-dev pkg-config python3-dev but getting same ...
maths is fun's user avatar
0 votes
0 answers
341 views

pip install or upgrade fails with - free(): invalid pointer Aborted

I get this error when trying to upgrade pip, pip3 or when I try to install a python package. What can I do? root$ sudo -H pip3 install --upgrade pip Requirement already satisfied: pip in /usr/local/...
silbro's user avatar
  • 33
0 votes
2 answers
555 views

How can I 'align' python, pip and environments? I'm trying to install certbot on ubuntu VPS

Ubuntu 20.04 VPS on hostinger $ whereis python python: /usr/bin/python2.7 /usr/bin/python /usr/bin/python3.8 /usr/bin/python3.9 /usr/bin/python3.8-config /usr/lib/python2.7 /usr/lib/python3.8 /usr/...
kristy1024's user avatar

1
2 3 4 5
13