[英]Can't pip install virtualenv on Windows 10 for Python, version doesn't satisfy, no matching distribution
[英]pip install numpy doesn't work: "No matching distribution found"
我是 Python 的新手。 我安裝了 Python 2.7.10 並且它已經帶有pip
。 我嘗試運行此命令來下載 NumPy 庫。
D:\workspace\python>pip install numpy
Collecting numpy
Could not find a version that satisfies the requirement numpy (from versions: )
No matching distribution found for numpy
但我收到了這個錯誤。 我該如何解決這個問題?
我也想知道easy_install
和pip
之間的區別。
您現在應該可以使用 pip 安裝 NumPy:
pip install numpy
或使用康達:
conda install numpy
至於easy_install和pip的區別,先說easy_install。 Python 社區的人們意見不一,pip 應運而生。 Pip 基本上只是 easy_install 的替代品。 有關兩者的良好比較,請參見以下內容:
兩步
pip install lightfm --upgrade --ignore-installed scipy
我遇到了同樣的問題和同樣的錯誤在我的情況下,錯誤是由於互聯網連接緩慢而發生的,它在關閉然后第二天上網后工作。
我之前遇到過同樣的問題,下面的操作幫助我解決了它。 希望它會幫助你。
只需簡單地運行
python pip install numpy --proxy(代理服務器):(端口號)
當我嘗試在沒有互聯網連接的情況下安裝時發生了這種情況......
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.