How to install chess.pgn on python? I don't know how to import chess.pgn on Python.
I searched everywhere, but I didn't find anything. Can anybody here help me?
First you need to install this library:

pip install python-chess


And make sure you're using the right pip, because still in some Linus distros pip and python are python 2.x and for python 3.x you should use pip3 and python3. If you want to check try this:

pip --version


You will see an output like this that will tell you what python you're using, in my case it's 3.8:


  pip 19.2.3 from /usr/lib/python3.8/site-packages/pip (python 3.8)