Coder Social home page Coder Social logo

Comments (4)

tlcowling avatar tlcowling commented on June 2, 2024

I just tried it on Ubuntu 14.04 too but looks like pyOpenSSL is part of the python distribution

So I guess its arguable that given the differences in OS and the way people manage dependencies with python that maybe you could expect the user to figure it out themselves?

from python-csr.

cottonbeckfield avatar cottonbeckfield commented on June 2, 2024

The OpenSSL library is in the Linux version of python already.

I would believe this to be an OS specific issue. I program on a Mac, and this particular script did not use virtualenv and I didn't have an issue with needing to install pyOpenSSL. Your version of python may not have been compiled with the OpenSSL support; https://docs.python.org/3.4/library/ssl.html

I don't mind making a note that it may be needed, but that might be digging a bit deep.

from python-csr.

tlcowling avatar tlcowling commented on June 2, 2024

I looked a bit more, I see that there are two standard python openssl libraries, one is ssl the other is pyOpenSSL.

My current python 2.7.10 was brew installed, the import OpenSSL doesn't work until I pip install pyOpenSSL, however I also have python 2.6.9 installed where import OpenSSL does work, so it appears to be down to python versions as you suggested

TL;DR
With standard python distributions, there doesn't seem to be a problem, if you want to use Python 2.7.10 in Mac OS X you need to pip install pyOpenSSL

from python-csr.

cottonbeckfield avatar cottonbeckfield commented on June 2, 2024

In a future update, I will have a note of what version of Python I used, and also some side FAQs for additional help for those who might be using alternative versions.

Thanks for looking into it.

from python-csr.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.