I have python 3.5, tried to install logging package in PyCharm, I got an error:
Error occured when installing package 'logging' Make sure that you use a version of Python supported by this package. Currently you are using Python 3.5.
import logging
logging.warning('Watch out!')
logging.info('I told you so')
UPDATE:
If it is included why I got this:
Traceback (most recent call last):
File "C:/Users/alotfi/PycharmProjects/firstProj/logging.py", line 1, in <module>
import logging
File "C:\Users\alotfi\PycharmProjects\firstProj\logging.py", line 2, in <module>
logging.warning('Watch out!')
AttributeError: module 'logging' has no attribute 'warning'
Process finished with exit code 1
Thanks.
Logging is a standard package for python 3.5 this means that there is no reason to install it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With