﻿{"id":319,"date":"2022-01-26T20:56:23","date_gmt":"2022-01-26T17:56:23","guid":{"rendered":"https:\/\/fewit.ru\/?p=319"},"modified":"2022-01-26T20:59:36","modified_gmt":"2022-01-26T17:59:36","slug":"%d1%83%d1%81%d1%82%d0%b0%d0%bd%d0%be%d0%b2%d0%ba%d0%b0-python-3-10-%d0%bd%d0%b0-centos-7","status":"publish","type":"post","link":"https:\/\/fewit.ru\/?p=319","title":{"rendered":"\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 Python 3.10 \u043d\u0430 Centos 7"},"content":{"rendered":"<pre>wget --no-check-certificate https:\/\/www.openssl.org\/source\/openssl-1.1.1m.tar.gz\ntar xvzf openssl-1.1.1m.tar.gz\ncd openssl-1.1.1m\/<\/pre>\n<pre>mkdir \/opt\/openssl\n.\/config --prefix=\/opt\/openssl --openssldir=\/opt\/openssl shared zlib\nmake\nmake install<\/pre>\n<pre>tar xvzf Python-3.10.2.tgz\ncd Python-3.10.2\/<\/pre>\n<pre>nano Modules\/Setup\n\n_socket socketmodule.c\n\n# Socket module helper for SSL support; you must comment out the other\n# socket line above, and edit the OPENSSL variable:\nOPENSSL=\/opt\/openssl\n _ssl _ssl.c \\\n     -I$(OPENSSL)\/include -L$(OPENSSL)\/lib \\\n     -lssl -lcrypto\n_hashlib _hashopenssl.c \\\n     -I$(OPENSSL)\/include -L$(OPENSSL)\/lib \\\n     -lcrypto\n<\/pre>\n<pre>export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:\/opt\/openssl\/lib<\/pre>\n<pre>.\/configure --enable-optimizations --with-openssl=\/opt\/openssl\nmake altinstall<\/pre>\n<pre>\/usr\/local\/bin\/pip3.10 install --proxy \"http:\/\/proxy:8080\" paramiko<\/pre>\n<p>python3 spkg: ModuleNotFoundError: No module named &#8216;binascii&#8217;<br \/>\nbuild\/make\/Makefile.in: Uninstall setuptools before reinstalling python3<\/p>\n","protected":false},"excerpt":{"rendered":"<p>wget &#8212;no-check-certificate https:\/\/www.openssl.org\/source\/openssl-1.1.1m.tar.gz tar xvzf openssl-1.1.1m.tar.gz cd openssl-1.1.1m\/ mkdir \/opt\/openssl .\/config &#8212;prefix=\/opt\/openssl &#8212;openssldir=\/opt\/openssl shared zlib make make install tar xvzf<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[18,12],"tags":[25,119,118,47],"class_list":["post-319","post","type-post","status-publish","format-standard","hentry","category-centos","category-python","tag-centos","tag-make","tag-openssl","tag-python"],"_links":{"self":[{"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/posts\/319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fewit.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=319"}],"version-history":[{"count":2,"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/posts\/319\/revisions"}],"predecessor-version":[{"id":322,"href":"https:\/\/fewit.ru\/index.php?rest_route=\/wp\/v2\/posts\/319\/revisions\/322"}],"wp:attachment":[{"href":"https:\/\/fewit.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=319"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fewit.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=319"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fewit.ru\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}