Невозможно настроить Python 2.7 и OpenSSL 1.1.1f на Ma c OS 10.15.4 - PullRequest
0 голосов
/ 10 апреля 2020

Недавно я обновил MacOS и получил обновление до MacOS Catalina (10.15.4). После обновления у меня возникают проблемы с запуском моего Vagrant (vagrant up) для запуска моей машины с Ubuntu, сбой его из-за ошибки, описанной ниже, которую я попытался устранить, но не получилось.

\"You are linking against OpenSSL 1.0.1, which is no longer \"\r\nRuntimeError: You are linking against OpenSSL 1.0.1, which is no longer supported by the OpenSSL project. You need to upgrade to a newer version of OpenSSL.\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}"

Ниже приведены сведения о моем MacOS:

tanmay.gupta$ openssl version
openssl version
OpenSSL 1.1.1f  31 Mar 2020

tanmay.gupta$ python

Python 2.7.16 (default, Feb 29 2020, 01:55:37) 
[GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc- on darwin
Type "help", "copyright", "credits" or "license" for more information.

ansible --version
ansible 2.9.6
  config file = None
  configured module search path = [u'/Users/tanmay.gupta/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /Library/Python/2.7/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.16 (default, Feb 29 2020, 01:55:37) [GCC 4.2.1 Compatible Apple LLVM 11.0.3 (clang-1103.0.29.20) (-macos10.15-objc-

Ниже приведены сведения о моем компьютере с Ubuntu:

tanmay.gupta$ vagrant ssh
Welcome to Ubuntu 14.04.6 LTS (GNU/Linux 3.13.0-170-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Fri Apr 10 17:14:17 UTC 2020

  System load:  0.22              Processes:           97
  Usage of /:   3.6% of 39.34GB   Users logged in:     0
  Memory usage: 2%                IP address for eth0: 10.0.2.15
  Swap usage:   0%

  Graph this data and manage this system at:
    https://landscape.canonical.com/

UA Infrastructure Extended Security Maintenance (ESM) is not enabled.

0 updates can be installed immediately.
0 of these updates are security updates.

Enable UA Infrastructure ESM to receive 64 additional security updates.
See https://ubuntu.com/advantage or run: sudo ua status


$ openssl version
OpenSSL 1.1.1f 31 Mar 2020

Установленные инструменты:

Vagrant (Версия 2.2.7 )

Виртуальный ящик (версия 6.0.18)

Ansible (версия 2.9.6)

Python версия (2.7.16)

Есть ли какое-либо решение для этой новой ОС Ma c, чтобы решить эту проблему. Я пытался использовать различные решения, опубликованные ранее, но мне не повезло. Ниже приведены два решения, которые я попробовал:

Python и ссылка на версию OpenSSL в OS X

Python со ссылкой на старую версию SSL

Любые ссылки приветствуются. Спасибо

...