'Getting an error while trying to use the bugzilla python package
I am relatively new to Python. I am encountering an error while trying to use the bugzilla python package. Here is the code I am trying to execute:
import bugzilla
bz = bugzilla.Bugzilla(url="https://bugzilla.kernel.org")
Here is the error message I get:
AttributeError: module 'bugzilla' has no attribute 'Bugzilla'
Here are the details of my environment:
PyCharm Community Edition IDE on Windows 10.
Python 3.6.3 version.
I seem to have set the Python interpreter path correctly in PyCharm as I don't have any problem in using other packages such as pandas.
I installed both the bugzilla as well as the python-bugzilla packages using pip. I get the same error in both cases. What is the difference in these two packages? Appreciate any help in this regard.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|