简体   繁体   English

通过ssh安装psycopg2-写入失败:管道损坏

[英]Install psycopg2 over ssh - Write failed: Broken pipe

I am trying to install psycopg2 on remote computer (RPI) via ssh. 我正在尝试通过ssh在远程计算机(RPI)上安装psycopg2。

If I call "pip install psycopg2" in virtualenv (Python 3.4) it starts. 如果在virtualenv(Python 3.4)中调用“ pip install psycopg2”,它将启动。 It freezes in stage 分阶段冻结

Collecting psycopg2
  Using cached psycopg2-2.7.1.tar.gz
Building wheels for collected packages: psycopg2
  Running setup.py bdist_wheel for psycopg2 ... -

After few hours I am disconnected with 几个小时后,我与

Collecting psycopg2
  Using cached psycopg2-2.7.1.tar.gz
Building wheels for collected packages: psycopg2
  Running setup.py bdist_wheel for psycopg2 ... -Write failed: Broken pipe

What could be an issue? 可能是什么问题?

I see the following on psycopg2 github page. 我在psycopg2 github页面上看到以下内容。

在此处输入图片说明

Try installing an older version by using pip install psycopg2==[version no.] 尝试使用pip install psycopg2==[version no.]安装旧版本pip install psycopg2==[version no.]

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM