Skip to main content

All Questions

Tagged with
4 votes
2 answers
3k views

Problem when installing Python from source, SSL package missing even though openssl installed

The Problem Trying to install Python-3.11.1 from source on Zorin OS (Ubuntu16 based) I get the following errors when I try to pip install any package into a newly created venv: python3.11 -m venv venv ...
Racid's user avatar
  • 363
0 votes
1 answer
12k views

pip install --upgrade pip and pip install --upgrade setuptools both failed with error code 1 [duplicate]

i encountered errors with trying to upgrade pip, and its setup tools. Appended below are the errors. pip install -upgrade pip failing pip install --upgrade pip Collecting pip Using cached https://...
fatbringer's user avatar
2 votes
0 answers
307 views

ubuntu16.04 pip3 broken after upgrading

I am using Ubuntu 16.04 to work. There is a need from my work to upgrade pip. I was using the command: pip3 install --upgrade pip After that, every time I call the command pip3 will get the same ...
HCCY's user avatar
  • 91
-1 votes
1 answer
5k views

python -m pip install Could not fetch URL

I want to upgrade pip to python 3.8, but I got error # python -m pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade pip WARNING: The ...
敬錞 潘's user avatar
-1 votes
1 answer
807 views

warning warn(warning_msg) rpm

OS - Ubuntu-16.04 LTS Python Version - 2.7.12 20.2.4 from /usr/local/lib/python2.7/dist-packages/pip (python 2.7) Problem: python2 -c 'import rpm' /usr/local/lib/python2.7/dist-packages/rpm.py:15: ...
Ekam's user avatar
  • 19
5 votes
3 answers
10k views

pip install not working inside docker container

I have created a small project in flask and I am trying to deploy it using docker. For this I have created my Dockerfile that looks like following: FROM python:3.6-stretch # Set the working ...
nzy's user avatar
  • 864
0 votes
0 answers
972 views

pip3 doesn't work when installing anything and throw pip require TLS/SSL, ssl Python not available

i am trying to install somme modules in my python3.8 env in my online server(ubuntu 16.04). the probleme is, i can't install anything because pip3 give me the same error everytime i tried to install ...
raouf's user avatar
  • 23
0 votes
2 answers
488 views

How to change default package installation location of pip in ubuntu?

I have pip3 installed on my ubuntu machine. I also have python3.5 and python3.7 installed. When I install a package using pip3 it is getting installed in python3.5 packages folder, so i'm unable to ...
SAI HARISH REDDY GUNDA's user avatar
2 votes
1 answer
500 views

How to install the latest version of TensoFlow 2?

I am wondering that why I cannot install the TensorFlow 2.0.0 (stable version until now in their official website even in PyPi) I used to had the TensorFlow 2.0.0b1 version, but I was dealing with ...
Benyamin Jafari's user avatar
48 votes
7 answers
95k views

How to fix "module 'platform' has no attribute 'linux_distribution'" when installing new packages with Python3.8?

I had Python versions of 2.7 and 3.5. I wanted the install a newer version of Python which is python 3.8. I am using Ubuntu 16.04 and I can not just uninstall Python 3.5 due to the dependencies. So in ...
EmreAkkoc's user avatar
  • 653
-1 votes
1 answer
188 views

keep getting error: ModuleNotFoundError: No module named 'piecash'

I would like to run csv2cash on my machine. I've installed Python 3.6 & cloned the git repo to my machine (https://github.com/jrwrigh/csv2cash), entered example/ directory and attempted to run the ...
stdcerr's user avatar
  • 15.1k
13 votes
1 answer
10k views

torch.cuda.device_count() return 0

I have installed pytorch under virtualenv via: pip3 install https://download.pytorch.org/whl/cu100/torch-1.0.1.post2-cp35-cp35m-linux_x86_64.whl pip3 install torchvision But for some reason: import ...
mrgloom's user avatar
  • 21.2k
1 vote
1 answer
32 views

latest version of pip that supports config flag

On a box that is limited to what distros it can get to. One of the things I'm trying to install requires using pip -config but I can't seem to find the minimum version that is supported. I'm ...
chowpay's user avatar
  • 1,615
1 vote
1 answer
905 views

Pointing pip3 to python3.5 instead of python3.6

I just recently installed pip (3.6) by building it with python3.6 on my Ubuntu 16.04 LTS system. wget https://bootstrap.pypa.io/get-pip.py python3.6 get-pip.py This completed successfully but ...
Sourindu Chatterjee's user avatar
1 vote
1 answer
1k views

Where does the pip3 downloads the .whl files in Ubuntu 16.04?

I have tried to install PyTorch using pip3 install command. It downloaded the 636 MB file of .whl type. Because I did not use sudo , installation did not proceed. Now I do not want to download that ...
Ali Khan's user avatar
  • 183

15 30 50 per page
1
2 3 4 5