2014-05-16 40 views
1

我試圖安裝timeit但是這是我得到:無法使用pip安裝timeit。我怎樣才能解決這個問題?

$ sudo pip install timeit 

Downloading/unpacking timeit 
    Could not find any downloads that satisfy the requirement timeit 
No distributions at all found for timeit 
Storing complete log in /Users/username/.pip/pip.log 
+0

你確定你要安裝嗎? – njzk2

+4

從2.3開始,'timeit'包含在Python中。你不應該需要安裝它 – Cfreak

回答

2

timeit是自2.3以來的Python標準庫的一部分。應該沒有必要通過點安裝它。

相關問題