Git Product home page Git Product logo

Comments (8)

Geri-Borbas avatar Geri-Borbas commented on August 24, 2024 2

Thanks, using python2 solved my issue.

$ python2 -c 'import ssl; print ssl.OPENSSL_VERSION;'
OpenSSL 1.0.2m  2 Nov 2017

from install-unity.

sttz avatar sttz commented on August 24, 2024 1

It seems Homebrew changed how it installs Python 2 and no longer shadows/overrides the preinstalled version of Python. Homebrew now installs its own version as python2, so you should update your setup to use python2 instead of python.

from install-unity.

Geri-Borbas avatar Geri-Borbas commented on August 24, 2024

I tried to install using:

brew install openssl
brew link --force openssl

It says:

Error: openssl 1.0.2l is already installed
To upgrade to 1.0.2n, run `brew upgrade openssl`

It sounds good actually, but I get the same error from install-unity.py.

Install Unity Script 0.1.1
ERROR: Your Python's OpenSSL library is outdated (OpenSSL 0.9.8zh 14 Jan 2016).
At least OpenSSL version 1.0.1g is required.
You need to install a new version of Python 2 with an updated OpenSSL library.

Either download it from www.python.org or install it using a package manager like Homebrew.

Now I get that it is about "...Python's OpenSSL library...". Could you help me on how to update Python's OpenSSL library?

from install-unity.

Geri-Borbas avatar Geri-Borbas commented on August 24, 2024

Now I tried:

brew install python --with-brewed-openssl

Which says:

Warning: python 2.7.14 is already installed

Isn't there a way to tell Python that OpenSSL is already there?
I'm also keep trying to pick up the information at Stackoverflow.

Or a way to tell install-unity.py to use "brewed" OpenSSL?

from install-unity.

Geri-Borbas avatar Geri-Borbas commented on August 24, 2024

As I figured out I have to add something to CFLAGS and LDFLAGS , that Python may (?) pick up.

So I tried:

before_install:
  - export CFLAGS="-I/usr/local/opt/openssl/include $CFLAGS"
  - export LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"

But still the same error. 😧

from install-unity.

Geri-Borbas avatar Geri-Borbas commented on August 24, 2024

I gave it a try with package manager:

pip2 install pyOpenSSL --upgrade

That is installed fine, but I still get the very same error.

I'd appreciate if you could get back, to give a pointer at least where should I go next.

from install-unity.

Geri-Borbas avatar Geri-Borbas commented on August 24, 2024

Can I somehow edit install-unity.py to pick up OpenSSL at /usr/local/opt/openssl/include?

from install-unity.

Geri-Borbas avatar Geri-Borbas commented on August 24, 2024

Thanks, Travis CI basically responded somewhat the same:

Thanks for writing in. That is... surprising... We would recommend to try out the most recent OSX image by specifying the following in your .travis.yml:

osx_image: xcode9.2

If that would not work out, we would recommend looking into installing the latest version of Python2 through Brew (untested):

before_install:
  - brew update
  - brew install python
  - sudo python -m ensurepip

I'm testing, will get back with the results.

from install-unity.

Related Issues (20)

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.