I'm currently using Python 3.7 and Pycharm for my work. Recently I got a code that is done at Python2.7 and it includes a library named 'ctypes.'
First I tried to download it through pip by Ctrl+Alt+S -> search 'ctypes' -> install. But it gave me an error message that
"Excuted command : pip install ctypes"
"Error occured : Non-zero exit code (1)"
"could not find a version that satisfies the requirement ctypes"
then I tried to install it through a .tar.gz file.
I got ctypes-1.0.2.tar.gz from the web and through cmd, I tried 'python setup.py', but I got an error message that
"ctypes %s requires Python 2.3 or better" % _version_
I have no idea about this and I'm guessing that ctypes isn't fitting on Python3.7
Anyone have some ideas or a solution? If it doesn't work on Python3.7, is there any recommendations that can replace ctypes?