Type/to search
0
Follow
0
Followers
Python发送异步请求碰到问题
Help
Created 2020-12-13 16:07:05  
 2
 1295

我们的项目因为一些原因,需要Python语言写,且需要用它发包,但嫌发包速度太慢了,所以打算用多线程发送异步请求,现在问题是在一键租用的服务器中,我试图在Python代码中执行pip install aiohttp这个库时,会报错,The directory '/root/.cache/pip' or its parent directory is not owned by the.....,看起来这个租用的服务器只给了user权限,尝试pip install aiohttp --user也没有什么卵用,现在不仅是aiohttp这个库,所有Python的第三方库都装不上,想问下论坛里的程序员大佬,这个该怎么办?还是我们只能自己去手动租用服务器并做相应配置呢?

Related Recommendations
Comment
All comments (2)

    对,通过FMZ租用的服务器有权限限制,有定制化需求的需要自己租用

    6 years ago

    好的,多谢草神

    6 years ago
  • 1
iPhone Download
Forums
PINE Language
© 2015 - ∞ INVENTOR PTE LTD (SG)