我已經安裝了從我已經安裝pycrfsuite還是它給進口錯誤
sudo pip install python-crfsuite
pycrfsuite但它仍然是給導入錯誤
Traceback (most recent call last):
File "rough.py", line 3, in
import pycrfsuite ImportError: No module named pycrfsuite
我能做些什麼?
我已經安裝了從我已經安裝pycrfsuite還是它給進口錯誤
sudo pip install python-crfsuite
pycrfsuite但它仍然是給導入錯誤
Traceback (most recent call last):
File "rough.py", line 3, in
import pycrfsuite ImportError: No module named pycrfsuite
我能做些什麼?
確保您運行的在同一個Python版本的程序中,你已經在python3安裝包
例如,你已經安裝了Python-crfsuite和你正在運行的代碼與python2..that可能是這樣的情況下給出錯誤
您確定python-crfsuite安裝導入爲pycrfsuite?我想不出這是拼寫問題。以防萬一,你能顯示相關的代碼嗎?嘗試「進口中的python-crfsuite」