Install paramiko -- error information

(test) wgz@wgz:~/Desktop/ssh$ pip install --no-index --find-links='.' paramiko

Ignoring indexes: https://pypi.python.org/simpleCollecting paramikoCollecting cryptography>=1.1 (from paramiko)Collecting pyasn1>=0.1.7 (from paramiko)Collecting idna>=2.0 (from cryptography>=1.1->paramiko)Collecting six>=1.4.1 (from cryptography>=1.1->paramiko)Requirement already satisfied (use --upgrade to upgrade): setuptools>=11.3 in /home/wgz/.virtualenvs/test/lib/python3.5/site-packages (from cryptography>=1.1->paramiko)Collecting cffi>=1.4.1 (from cryptography>=1.1->paramiko)Collecting pycparser (from cffi>=1.4.1->cryptography>=1.1->paramiko)Building wheels for collected packages: cryptography? Running setup.py bdist_wheel for cryptography ... error? Complete output from command /home/wgz/.virtualenvs/test/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-lxp1z12w/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" bdist_wheel -d /tmp/tmpgxtxi7ehpip-wheel- --python-tag cp35:? Download error on https://pypi.python.org/simple/cffi/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!? Couldn't find index page for 'cffi' (maybe misspelled?)? Download error on https://pypi.python.org/simple/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!? No local packages or working download links found for cffi>=1.4.1? Traceback (most recent call last):? ? File "", line 1, inFile "/tmp/pip-build-lxp1z12w/cryptography/setup.py", line 334, in**keywords_with_side_effects(sys.argv)? ? File "/usr/lib/python3.5/distutils/core.py", line 108, in setup? ? ? _setup_distribution = dist = klass(attrs)? ? File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/setuptools/dist.py", line 315, in __init__? ? ? self.fetch_build_eggs(attrs['setup_requires'])? ? File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/setuptools/dist.py", line 361, in fetch_build_eggs? ? ? replace_conflicting=True,? ? File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/pkg_resources/__init__.py", line 851, in resolve? ? ? dist = best[req.key] = env.best_match(req, ws, installer)? ? File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1123, in best_match? ? ? return self.obtain(req, installer)? ? File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1135, in obtain? ? ? return installer(requirement)? ? File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/setuptools/dist.py", line 428, in fetch_build_egg? ? ? return cmd.easy_install(req)? ? File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 658, in easy_install? ? ? raise DistutilsError(msg)? distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cffi>=1.4.1')? ? ----------------------------------------? Failed building wheel for cryptography? Running setup.py clean for cryptography? Complete output from command /home/wgz/.virtualenvs/test/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-lxp1z12w/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" clean --all:? Download error on https://pypi.python.org/simple/cffi/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!? Couldn't find index page for 'cffi' (maybe misspelled?)? Download error on https://pypi.python.org/simple/: [Errno -3] Temporary failure in name resolution -- Some packages may not be found!? No local packages or working download links found for cffi>=1.4.1? Traceback (most recent call last):? ? File "", line 1, inFile "/tmp/pip-build-lxp1z12w/cryptography/setup.py", line 334, in**keywords_with_side_effects(sys.argv)

File "/usr/lib/python3.5/distutils/core.py", line 108, in setup

_setup_distribution = dist = klass(attrs)

File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/setuptools/dist.py", line 315, in __init__

self.fetch_build_eggs(attrs['setup_requires'])

File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/setuptools/dist.py", line 361, in fetch_build_eggs

replace_conflicting=True,

File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/pkg_resources/__init__.py", line 851, in resolve

dist = best[req.key] = env.best_match(req, ws, installer)

File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1123, in best_match

return self.obtain(req, installer)

File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1135, in obtain

return installer(requirement)

File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/setuptools/dist.py", line 428, in fetch_build_egg

return cmd.easy_install(req)

File "/home/wgz/.virtualenvs/test/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 658, in easy_install

raise DistutilsError(msg)

distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('cffi>=1.4.1')

----------------------------------------

Failed cleaning build dir for cryptography

Failed to build cryptography

Installing collected packages: idna, pyasn1, six, pycparser, cffi, cryptography, paramiko

Running setup.py install for cryptography ... error

Complete output from command /home/wgz/.virtualenvs/test/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-lxp1z12w/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-hvi8n57i-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/wgz/.virtualenvs/test/include/site/python3.5/cryptography:

running install

running build

running build_py

creating build

creating build/lib.linux-x86_64-3.5

creating build/lib.linux-x86_64-3.5/cryptography

copying src/cryptography/__init__.py -> build/lib.linux-x86_64-3.5/cryptography

copying src/cryptography/__about__.py -> build/lib.linux-x86_64-3.5/cryptography

copying src/cryptography/fernet.py -> build/lib.linux-x86_64-3.5/cryptography

copying src/cryptography/exceptions.py -> build/lib.linux-x86_64-3.5/cryptography

copying src/cryptography/utils.py -> build/lib.linux-x86_64-3.5/cryptography

creating build/lib.linux-x86_64-3.5/cryptography/hazmat

copying src/cryptography/hazmat/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat

creating build/lib.linux-x86_64-3.5/cryptography/x509

copying src/cryptography/x509/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/x509

copying src/cryptography/x509/name.py -> build/lib.linux-x86_64-3.5/cryptography/x509

copying src/cryptography/x509/extensions.py -> build/lib.linux-x86_64-3.5/cryptography/x509

copying src/cryptography/x509/general_name.py -> build/lib.linux-x86_64-3.5/cryptography/x509

copying src/cryptography/x509/base.py -> build/lib.linux-x86_64-3.5/cryptography/x509

copying src/cryptography/x509/oid.py -> build/lib.linux-x86_64-3.5/cryptography/x509

creating build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings

copying src/cryptography/hazmat/bindings/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings

creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives

copying src/cryptography/hazmat/primitives/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives

copying src/cryptography/hazmat/primitives/hashes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives

copying src/cryptography/hazmat/primitives/hmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives

copying src/cryptography/hazmat/primitives/constant_time.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives

copying src/cryptography/hazmat/primitives/cmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives

copying src/cryptography/hazmat/primitives/serialization.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives

copying src/cryptography/hazmat/primitives/padding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives

copying src/cryptography/hazmat/primitives/keywrap.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives

creating build/lib.linux-x86_64-3.5/cryptography/hazmat/backends

copying src/cryptography/hazmat/backends/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends

copying src/cryptography/hazmat/backends/interfaces.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends

copying src/cryptography/hazmat/backends/multibackend.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends

creating build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl

copying src/cryptography/hazmat/bindings/openssl/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl

copying src/cryptography/hazmat/bindings/openssl/binding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl

copying src/cryptography/hazmat/bindings/openssl/_conditional.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/openssl

creating build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/commoncrypto

copying src/cryptography/hazmat/bindings/commoncrypto/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/commoncrypto

copying src/cryptography/hazmat/bindings/commoncrypto/binding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/bindings/commoncrypto

creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/interfaces

copying src/cryptography/hazmat/primitives/interfaces/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/interfaces

creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor

copying src/cryptography/hazmat/primitives/twofactor/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor

copying src/cryptography/hazmat/primitives/twofactor/totp.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor

copying src/cryptography/hazmat/primitives/twofactor/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor

copying src/cryptography/hazmat/primitives/twofactor/hotp.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/twofactor

creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers

copying src/cryptography/hazmat/primitives/ciphers/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers

copying src/cryptography/hazmat/primitives/ciphers/algorithms.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers

copying src/cryptography/hazmat/primitives/ciphers/modes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers

copying src/cryptography/hazmat/primitives/ciphers/base.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/ciphers

creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf

copying src/cryptography/hazmat/primitives/kdf/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf

copying src/cryptography/hazmat/primitives/kdf/x963kdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf

copying src/cryptography/hazmat/primitives/kdf/kbkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf

copying src/cryptography/hazmat/primitives/kdf/concatkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf

copying src/cryptography/hazmat/primitives/kdf/pbkdf2.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf

copying src/cryptography/hazmat/primitives/kdf/hkdf.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/kdf

creating build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric

copying src/cryptography/hazmat/primitives/asymmetric/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric

copying src/cryptography/hazmat/primitives/asymmetric/rsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric

copying src/cryptography/hazmat/primitives/asymmetric/ec.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric

copying src/cryptography/hazmat/primitives/asymmetric/dh.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric

copying src/cryptography/hazmat/primitives/asymmetric/dsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric

copying src/cryptography/hazmat/primitives/asymmetric/padding.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric

copying src/cryptography/hazmat/primitives/asymmetric/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/primitives/asymmetric

creating build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

copying src/cryptography/hazmat/backends/openssl/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

copying src/cryptography/hazmat/backends/openssl/ciphers.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

copying src/cryptography/hazmat/backends/openssl/backend.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

copying src/cryptography/hazmat/backends/openssl/rsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

copying src/cryptography/hazmat/backends/openssl/encode_asn1.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

copying src/cryptography/hazmat/backends/openssl/ec.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

copying src/cryptography/hazmat/backends/openssl/hashes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

copying src/cryptography/hazmat/backends/openssl/decode_asn1.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

copying src/cryptography/hazmat/backends/openssl/hmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

copying src/cryptography/hazmat/backends/openssl/cmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

copying src/cryptography/hazmat/backends/openssl/dsa.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

copying src/cryptography/hazmat/backends/openssl/utils.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

copying src/cryptography/hazmat/backends/openssl/x509.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/openssl

creating build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto

copying src/cryptography/hazmat/backends/commoncrypto/__init__.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto

copying src/cryptography/hazmat/backends/commoncrypto/ciphers.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto

copying src/cryptography/hazmat/backends/commoncrypto/backend.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto

copying src/cryptography/hazmat/backends/commoncrypto/hashes.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto

copying src/cryptography/hazmat/backends/commoncrypto/hmac.py -> build/lib.linux-x86_64-3.5/cryptography/hazmat/backends/commoncrypto

running egg_info

writing entry points to src/cryptography.egg-info/entry_points.txt

writing requirements to src/cryptography.egg-info/requires.txt

writing top-level names to src/cryptography.egg-info/top_level.txt

writing src/cryptography.egg-info/PKG-INFO

writing dependency_links to src/cryptography.egg-info/dependency_links.txt

warning: manifest_maker: standard file '-c' not found

reading manifest file 'src/cryptography.egg-info/SOURCES.txt'

reading manifest template 'MANIFEST.in'

no previously-included directories found matching 'docs/_build'

warning: no previously-included files matching '*' found under directory 'vectors'

writing manifest file 'src/cryptography.egg-info/SOURCES.txt'

running build_ext

generating cffi module 'build/temp.linux-x86_64-3.5/_padding.c'

creating build/temp.linux-x86_64-3.5

generating cffi module 'build/temp.linux-x86_64-3.5/_constant_time.c'

generating cffi module 'build/temp.linux-x86_64-3.5/_openssl.c'

building '_openssl' extension

creating build/temp.linux-x86_64-3.5/build

creating build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5

x86_64-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -I/home/wgz/.virtualenvs/test/include/python3.5m -c build/temp.linux-x86_64-3.5/_openssl.c -o build/temp.linux-x86_64-3.5/build/temp.linux-x86_64-3.5/_openssl.o

build/temp.linux-x86_64-3.5/_openssl.c:433:30: fatal error: openssl/opensslv.h: No such file or directory

compilation terminated.

error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Command "/home/wgz/.virtualenvs/test/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-lxp1z12w/cryptography/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-hvi8n57i-record/install-record.txt --single-version-externally-managed --compile --install-headers /home/wgz/.virtualenvs/test/include/site/python3.5/cryptography" failed with error code 1 in /tmp/pip-build-lxp1z12w/cryptography/

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。
  • 序言:七十年代末,一起剝皮案震驚了整個濱河市,隨后出現的幾起案子,更是在濱河造成了極大的恐慌,老刑警劉巖,帶你破解...
    沈念sama閱讀 228,443評論 6 532
  • 序言:濱河連續發生了三起死亡事件,死亡現場離奇詭異,居然都是意外死亡,警方通過查閱死者的電腦和手機,發現死者居然都...
    沈念sama閱讀 98,530評論 3 416
  • 文/潘曉璐 我一進店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來,“玉大人,你說我怎么就攤上這事。” “怎么了?”我有些...
    開封第一講書人閱讀 176,407評論 0 375
  • 文/不壞的土叔 我叫張陵,是天一觀的道長。 經常有香客問我,道長,這世上最難降的妖魔是什么? 我笑而不...
    開封第一講書人閱讀 62,981評論 1 312
  • 正文 為了忘掉前任,我火速辦了婚禮,結果婚禮上,老公的妹妹穿的比我還像新娘。我一直安慰自己,他們只是感情好,可當我...
    茶點故事閱讀 71,759評論 6 410
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著,像睡著了一般。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發上,一...
    開封第一講書人閱讀 55,204評論 1 324
  • 那天,我揣著相機與錄音,去河邊找鬼。 笑死,一個胖子當著我的面吹牛,可吹牛的內容都是我干的。 我是一名探鬼主播,決...
    沈念sama閱讀 43,263評論 3 441
  • 文/蒼蘭香墨 我猛地睜開眼,長吁一口氣:“原來是場噩夢啊……” “哼!你這毒婦竟也來了?” 一聲冷哼從身側響起,我...
    開封第一講書人閱讀 42,415評論 0 288
  • 序言:老撾萬榮一對情侶失蹤,失蹤者是張志新(化名)和其女友劉穎,沒想到半個月后,有當地人在樹林里發現了一具尸體,經...
    沈念sama閱讀 48,955評論 1 336
  • 正文 獨居荒郊野嶺守林人離奇死亡,尸身上長有42處帶血的膿包…… 初始之章·張勛 以下內容為張勛視角 年9月15日...
    茶點故事閱讀 40,782評論 3 354
  • 正文 我和宋清朗相戀三年,在試婚紗的時候發現自己被綠了。 大學時的朋友給我發了我未婚夫和他白月光在一起吃飯的照片。...
    茶點故事閱讀 42,983評論 1 369
  • 序言:一個原本活蹦亂跳的男人離奇死亡,死狀恐怖,靈堂內的尸體忽然破棺而出,到底是詐尸還是另有隱情,我是刑警寧澤,帶...
    沈念sama閱讀 38,528評論 5 359
  • 正文 年R本政府宣布,位于F島的核電站,受9級特大地震影響,放射性物質發生泄漏。R本人自食惡果不足惜,卻給世界環境...
    茶點故事閱讀 44,222評論 3 347
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望。 院中可真熱鬧,春花似錦、人聲如沸。這莊子的主人今日做“春日...
    開封第一講書人閱讀 34,650評論 0 26
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽。三九已至,卻和暖如春,著一層夾襖步出監牢的瞬間,已是汗流浹背。 一陣腳步聲響...
    開封第一講書人閱讀 35,892評論 1 286
  • 我被黑心中介騙來泰國打工, 沒想到剛下飛機就差點兒被人妖公主榨干…… 1. 我叫王不留,地道東北人。 一個月前我還...
    沈念sama閱讀 51,675評論 3 392
  • 正文 我出身青樓,卻偏偏與公主長得像,于是被迫代替她去往敵國和親。 傳聞我的和親對象是個殘疾皇子,可洞房花燭夜當晚...
    茶點故事閱讀 47,967評論 2 374

推薦閱讀更多精彩內容