我已經做了pip install jira
蟒蛇:不能導入名稱JIRA
但是當我運行失敗,導入錯誤如下:不能導入名稱JIRA
import re
from jira import JIRA
jira = JIRA('https://issues.net')
# all values are samples and won't work in your code!
key_cert_data = None
key_cert_file = "cert/jiraprivatekey.pub"
with open(key_cert, 'r') as key_cert_file:
key_cert_data = key_cert_file.read()
可能重複的[ImportError:無法導入名稱X](http://stackoverflow.com/questions/9252543/importerror-cannot-import-name-x) – nbrooks