在Ubuntu中安裝twisted

2021-07-04 11:55:06 字數 672 閱讀 9444

有些地方提示要安裝python-setuptools、python-dev、python-twisted,其實這些都是不需要的。    

在ubuntu終端 ,進入python環境下,執行import twisted,會提示importerror: twisted requires zope.inte***ce 3.6.0 or later no module named zope.inte***ce.

在終端直接執行執行pip search zope.inte***ce、pip search setuptools,會發現zope.inte***ce、setuptools已經存在,所以不需要單獨執行apt-get/pip install python-setuptools。

這時執行pip install zope.inte***ce,會提示requirement alread satisfied(use --upgrade to upgrade): zope.inte***ce in /usr/lib/python2.7/dist-packages。實際上,可以直接執行pip install zope.inte***ce --upgrade即可成功安裝twisted。( 因為預設已安裝了twisted,可以通過pip search twisted找到;如果沒有,可以先執行apt-get install python-twisted)

ubuntu中 在Ubuntu中安裝CMake

前言 具體安裝步驟 注意安裝包解壓後的位置 home book cmake 3.12.4 linux x86 64 安裝包解壓位置 2.1 開啟.bashrc檔案進行配置 gedit bashrc2.2 在末尾新增如下的內容 export path home book cmake 3.12.4 li...

在UBUNTU中安裝MYSQL

安裝mysql sudo apt get install mysql server 這個應該很簡單了,而且我覺得大家在安裝方面也沒什麼太大問題,所以也就不多說了,下面我們來講講配置。配置mysql 注意,在ubuntu下mysql預設是只允許本地訪問的,如果你要其他機器也能夠訪問的話,那麼需要改變 ...

在 ubuntu中 安裝谷歌

1 首先進入超級使用者。執行 sudo i 然後按照提示輸入使用者密碼 一般是主機開機密碼 3 由於在進行解壓安裝包的時候,可能會發生 在處理時有錯誤發生 google chrome stable 這個錯誤,因此我們先執行一條額外的命令 執行 apt get f install,如下圖 4 接下來,...