pip unable to install because of missing ssl module - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: Data Science (https://python-forum.io/forum-44.html) +--- Thread: pip unable to install because of missing ssl module (/thread-3623.html) Pages:
1
2
|
pip unable to install because of missing ssl module - metulburr - Jun-07-2017 im trying to install pandas on python3.6. It seems to work fine in python2.x.
RE: pip unable to install because of missing ssl module - Larz60+ - Jun-08-2017 The easiest way is to get the wheel here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pandas These always seem to be well tested and complete. There is a wheel for both 32 and 64 bit python 3.6 RE: pip unable to install because of missing ssl module - sparkz_alot - Jun-08-2017 I believe he is using Linux. I notice in the first (pip3) attempt, it says the 'ssl' module is not 'available'. I presume it's installed, but looking at the docs I noticed this Changed in version 3.6: OpenSSL 0.9.8, 1.0.0 and 1.0.1 are deprecated and no longer supported. In the future the ssl module will require at least OpenSSL 1.0.2 or 1.1.0. Could this be related? RE: pip unable to install because of missing ssl module - wavic - Jun-08-2017 For sure It happened to me too but I was thinking I've broken my system. I was playing with my Arch. RE: pip unable to install because of missing ssl module - metulburr - Jun-08-2017 (Jun-08-2017, 02:04 AM)sparkz_alot Wrote: I believe he is using Linux. Yes im on linux. I believe i am using version 1.0.2 based on.... metulburr@ubuntu:~$ ssh -V OpenSSH_7.2p2 Ubuntu-4ubuntu2.2, OpenSSL 1.0.2g 1 Mar 2016 RE: pip unable to install because of missing ssl module - metulburr - Jun-08-2017 Looks like it might be a fluke in compiling. As i didnt do anything different. I saw someones suggestion that it fixed for them in just recompiling with the same config. So i tried that and it seemed to fixed the issue. metulburr@ubuntu:~$ sudo !! sudo pip3 install pandas [sudo] password for metulburr: The directory '/home/metulburr/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/metulburr/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Collecting pandas Downloading pandas-0.20.2-cp36-cp36m-manylinux1_x86_64.whl (24.5MB) 100% |████████████████████████████████| 24.5MB 73kB/s Collecting python-dateutil>=2 (from pandas) Downloading python_dateutil-2.6.0-py2.py3-none-any.whl (194kB) 100% |████████████████████████████████| 194kB 2.1MB/s Collecting pytz>=2011k (from pandas) Downloading pytz-2017.2-py2.py3-none-any.whl (484kB) 100% |████████████████████████████████| 491kB 1.6MB/s Collecting numpy>=1.7.0 (from pandas) Downloading numpy-1.13.0-cp36-cp36m-manylinux1_x86_64.whl (17.0MB) 100% |████████████████████████████████| 17.0MB 108kB/s Collecting six>=1.5 (from python-dateutil>=2->pandas) Downloading six-1.10.0-py2.py3-none-any.whl Installing collected packages: six, python-dateutil, pytz, numpy, pandas Successfully installed numpy-1.13.0 pandas-0.20.2 python-dateutil-2.6.0 pytz-2017.2 six-1.10.0 metulburr@ubuntu:~$ python3 Python 3.6.1 (default, Jun 8 2017, 06:36:16) [GCC 5.4.0 20160609] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pandas >>> exit() RE: pip unable to install because of missing ssl module - nilamo - Jun-08-2017 (Jun-08-2017, 10:40 AM)metulburr Wrote: $ sudo !!What does that do? Is it similar to sudo su - , which starts a new login session as root?
RE: pip unable to install because of missing ssl module - metulburr - Jun-08-2017 (Jun-08-2017, 05:31 PM)nilamo Wrote:(Jun-08-2017, 10:40 AM)metulburr Wrote: $ sudo !!What does that do? Is it similar to It runs the previous command as sudo pip3 install pandas -> sudo pip3 install pandas RE: pip unable to install because of missing ssl module - nilamo - Jun-08-2017 (Jun-08-2017, 06:29 PM)metulburr Wrote: It runs the previous command as sudo That sounds suspiciously like TheFuck: https://github.com/nvbn/thefuck It's this neat little script that "corrects" your last command. Using sudo, fixing spelling mistakes, along with many other things. RE: pip unable to install because of missing ssl module - metulburr - Jun-08-2017 you can do some of that stuff with bash without any additions....for example search and replace. Ill often do on a long command that i dont want to hit up and hold left arrow forever to get to the position needed replacing... metulburr@ubuntu:~$ sudo apt-get update [sudo] password for metulburr: metulburr@ubuntu:~$ !!:s/update/upgrade sudo apt-get upgrade [sudo] password for metulburr: |