簡體   English   中英

如何在cygwin中使用pip安裝請求?

[英]How can I install requests with pip in cygwin?

我正在嘗試使用cygwin中的pip安裝請求並收到以下內容:

$ pip install requests
  Downloading/unpacking requests
    Downloading requests-1.2.3.tar.gz (348kB): 348kB downloaded
    Running setup.py egg_info for package requests
  Cleaning up...
  No files/directories in /tmp/pip_build_username/requests/pip-egg-info (from PKG-INFO)
  Storing complete log in /home/username/.pip/pip.log

有任何想法嗎?

有一個解決方案在這里 ,可能是你有幫助。

此外,您可能希望嘗試“ 請求 - 轉換 ”包,我發現當我從linux遷移到Windows時,我的應用程序是必需的。

pip install requests-transition

唯一的區別在於您的代碼,您現在使用其中之一

import requests0 as requests

要么

import requests1 as requests

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM