Python: install registration module

I have python 3.5, I tried installing the registration package in PyCharm, I got an error:

Error installing the log "Make sure you are using the Python version supported by this package. You are currently using Python 3.5.

import logging
logging.warning('Watch out!')
logging.info('I told you so') 

UPDATE:

If it is on, why did I get 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

Thank.

+2
source share
1 answer

Registration is a standard package for python 3.5 , which means that there is no reason to install it.

+2
source

All Articles