Giter Club home page Giter Club logo

Comments (8)

jayzzhou-thu avatar jayzzhou-thu commented on September 6, 2024

@eyuansu62 我试了一下pip install -r requirements.txt 是可以的,有相应的错误日志吗?

from gear.

eyuansu62 avatar eyuansu62 commented on September 6, 2024

from gear.

jayzzhou-thu avatar jayzzhou-thu commented on September 6, 2024

Collecting git+git://github.com/j6mes/drqa@parallel (from -r requirements.txt (line 3))   Cloning git://github.com/j6mes/drqa (to revision parallel) to /tmp/pip-req-build-n5vybbhi   Running command git clone -q git://github.com/j6mes/drqa /tmp/pip-req-build-n5vybbhi   fatal: The remote end hung up unexpectedly ERROR: Command errored out with exit status 128: git clone -q git://github.com/j6mes/drqa /tmp/pip-req-build-n5vybbhi Check the logs for full command output. 请问这是为什么呢?

------------------ 原始邮件 ------------------ 发件人: "jayzzhou-thu"<[email protected]>; 发送时间: 2019年10月23日(星期三) 晚上8:53 收件人: "thunlp/GEAR"<[email protected]>; 抄送: "末冬末秋"<[email protected]>;"Mention"<[email protected]>; 主题: Re: [thunlp/GEAR] hi (#4) @eyuansu62 我试了一下pip install -r requirements.txt 是可以的,有相应的错误日志吗? — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

查一下问题可能在
fatal: The remote end hung up unexpectedly
这个可能有用 http://blog.fidding.me/article/87

from gear.

eyuansu62 avatar eyuansu62 commented on September 6, 2024

from gear.

Yuanlim0919 avatar Yuanlim0919 commented on September 6, 2024

您好,不好意思打扰了。我在安装的过程中也遇到一样的问题。但上面提供说可能有解决办法的链接已经没办法开启了,想请问有其他的方法吗?谢谢

完整的指令和error message 如下:

Collecting git+git://github.com/j6mes/drqa@parallel (from -r requirements.txt (line 4))
Cloning git://github.com/j6mes/drqa (to revision parallel) to c:\users\acer\appdata\local\temp\pip-req-build-usc5i35f
Running command git clone -q git://github.com/j6mes/drqa 'C:\Users\acer\AppData\Local\Temp\pip-req-build-usc5i35f'
fatal: unable to connect to github.com:
github.com[0: 20.27.177.113]: errno=Unknown error

WARNING: Discarding git+git://github.com/j6mes/drqa@parallel. Command errored out with exit status 128: git clone -q git://github.com/j6mes/drqa 'C:\Users\acer\AppData\Local\Temp\pip-req-build-usc5i35f' Check the logs for full command output.
ERROR: Command errored out with exit status 128: git clone -q git://github.com/j6mes/drqa 'C:\Users\acer\AppData\Local\Temp\pip-req-build-usc5i35f' Check the logs for full command output.

from gear.

jayzzhou-thu avatar jayzzhou-thu commented on September 6, 2024

//github.com/j6mes/drqa

Hi,下面是一个可行的方法,可以试试

先将分支克隆到本地
git clone https://github.com/j6mes/DrQA.git

之后进入目录之后切换到parallel分支
git checkout parallel

之后手动安装一下
python setup.py develop

from gear.

Yuanlim0919 avatar Yuanlim0919 commented on September 6, 2024

感谢你的回复,我试试看这个方法

from gear.

Yuanlim0919 avatar Yuanlim0919 commented on September 6, 2024

Hi 您好,我尝试这个方法的过程中发生了这个错误:
Traceback (most recent call last):
File "setup.py", line 12, in
readme = f.read()
File "C:\Users\acer\Anaconda3\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x9d in position 18545: character maps to

后来查到是 open() 里面需要代入encoding="utf8" 这个参数,在这边分享一下
https://stackoverflow.com/questions/9233027/unicodedecodeerror-charmap-codec-cant-decode-byte-x-in-position-y-character

from gear.

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.