mengxingyimei1 发表于 2021-4-11 16:02:55

我想在qpy3上安装一个Request模块,可是弹出了这一堆东西,我想知道这是啥意思?

/data/user/0/com.hipipal.qpy3/files/bin/qpython3-android5.sh/data/user/0/com.hipipal.qpy3/files/bin/qpypi.py&& exit
/user/0/com.hipipal.qpy3/files/bin/qpypi.py&& exit                     <
Input pip3 commands, ie: pip3 install {module} OR pip3 help
-->pip3 install {Request}
Invalid requirement: '{Request}'
Traceback (most recent call last):
File "/data/user/0/com.hipipal.qpy3/files/lib/python3.6/qpyutil.zip/pip/_vendor/packaging/requirements.py", line 92, in __init__
    req = REQUIREMENT.parseString(requirement_string)
File "/data/user/0/com.hipipal.qpy3/files/lib/python3.6/qpyutil.zip/pip/_vendor/pyparsing.py", line 1617, in parseString
    raise exc
File "/data/user/0/com.hipipal.qpy3/files/lib/python3.6/qpyutil.zip/pip/_vendor/pyparsing.py", line 1607, in parseString
    loc, tokens = self._parse( instring, 0 )
File "/data/user/0/com.hipipal.qpy3/files/lib/python3.6/qpyutil.zip/pip/_vendor/pyparsing.py", line 1379, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )               
File "/data/user/0/com.hipipal.qpy3/files/lib/python3.6/qpyutil.zip/pip/_vendor/pyparsing.py", line 3376, in parseImpl
    loc, exprtokens = e._parse( instring, loc, doActions )                  
File "/data/user/0/com.hipipal.qpy3/files/lib/python3.6/qpyutil.zip/pip/_vendor/pyparsing.py", line 1379, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )               
File "/data/user/0/com.hipipal.qpy3/files/lib/python3.6/qpyutil.zip/pip/_vendor/pyparsing.py", line 3698, in parseImpl
    return self.expr._parse( instring, loc, doActions, callPreParse=False )
File "/data/user/0/com.hipipal.qpy3/files/lib/python3.6/qpyutil.zip/pip/_vendor/pyparsing.py", line 1379, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )               
File "/data/user/0/com.hipipal.qpy3/files/lib/python3.6/qpyutil.zip/pip/_vendor/pyparsing.py", line 3359, in parseImpl
    loc, resultlist = self.exprs._parse( instring, loc, doActions, callPreParse=False )
File "/data/user/0/com.hipipal.qpy3/files/lib/python3.6/qpyutil.zip/pip/_vendor/pyparsing.py", line 1383, in _parseNoCache
    loc,tokens = self.parseImpl( instring, preloc, doActions )               
File "/data/user/0/com.hipipal.qpy3/files/lib/python3.6/qpyutil.zip/pip/_vendor/pyparsing.py", line 2670, in parseImpl
    raise ParseException(instring, loc, self.errmsg, self)                  
pip._vendor.pyparsing.ParseException: Expected W:(abcd...) (at char 0), (line:1, col:1)

During handling of the above exception, another exception occurred:         

Traceback (most recent call last):
File "/data/user/0/com.hipipal.qpy3/files/lib/python3.6/qpyutil.zip/pip/req/req_install.py", line 82, in __init__
    req = Requirement(req)
File "/data/user/0/com.hipipal.qpy3/files/lib/python3.6/qpyutil.zip/pip/_vendor/packaging/requirements.py", line 96, in __init__                        
    requirement_string))
pip._vendor.packaging.requirements.InvalidRequirement: Invalid requirement, parse error at "'{Request'"

-->{:10_269:}

昨非 发表于 2021-4-11 16:15:45

为啥要加{}?

mengxingyimei1 发表于 2021-4-11 16:26:57

-->pip3 install Request
Collecting Request
Could not find a version that satisfies the requirement Request (from versions: )
No matching distribution found for Request
-->


额……有解决的办法吗?

wp231957 发表于 2021-4-11 16:28:14

mengxingyimei1 发表于 2021-4-11 16:26
-->pip3 install Request
Collecting Request
Could not find a version that satisfies the requireme ...

Request应该是Requests吧

mengxingyimei1 发表于 2021-4-11 16:30:38

哦,ok了,谢谢(*°°)=3

opendog 发表于 2021-4-11 16:35:23

mengxingyimei1 发表于 2021-4-11 16:26
-->pip3 install Request
Collecting Request
Could not find a version that satisfies the requireme ...

这个好像是找不到 Request匹配的版本,嗯基本就是它找不到你要下载的东西
页: [1]
查看完整版本: 我想在qpy3上安装一个Request模块,可是弹出了这一堆东西,我想知道这是啥意思?