我不斷收到此錯誤:<type 'exceptions.ImportError'> cannot import name get_cert_infos
。 我很確定我正確地導入了一切。有問題的文件是participant.py
,具有:web2py python - ImportError無法導入名稱
from datetime import date
from widgets import SelectOrAdd, LabelSortedOptionsWidget, DynamicSelect, \
AutocompleteReferenceWidget
from communication import handle_notification, send_email
from utility import create_temp_password, hash_password
from export import get_cert_infos, build_certificate
我有exports.py
和get_cert_infos
和build_certificate
方法做的有內部存在。我不明白問題是什麼。
我看了幾個其他職位上這一點,他們似乎都在說,這是最有可能是圓形的進口問題
我有export
安裝和更新export==0.1.2
ImportError: Cannot import name X
它是'export.py'或'exports.py'?無論如何,這個模塊是什麼?我們可以看到它嗎? – cdonts