My intention was to install python core library. Before doing the installation, I ran this command to upgrade these modules
python -m pip install --upgrade pip setuptools wheel
After that I executed
pip install python-core
and the installation succeeded.