1. Pip
Pip is the official Python-recommended package management tool that uses the PIP or PIP3 commands directly in the Doc interface, such as installing Gensim:
C:\USERS\KAYAN.SJC>PIP3 Install--upgrade Gensim
2. Python2 Code conversion Python3 Tool 2to3.py
Python3 incompatible python2, sometimes need to convert Python2 code to PYTHON3, you can use Python 3 to bring a utility script called 2to3, script files in the Python installation directory \tools\scripts. For example, to convert a file to utils.py, first place utils.py and 2to3.py in the same directory, and then execute it in the Python window:
Python3 2to3.py-w utils.py
-W is to write the changed contents back to the original file.
It is important to note that when the code to be converted is in the C drive, the conversion may be problematic, possibly due to permissions.
Python2 and Python3 conversion details can be found in Https://docs.python.org/3/library/2to3.html#module-lib2to3
Python Gadget usage notes