I have a recurring problem with PyCharm Community 2019.1 and attempts to install, or upgrade python packages using pip, both through the settings interface and via the built in terminal on Windows 10 and . The error message given is, as an example:
Could not install packages due to an EnvironmentError: 'Path\to\venv\Lib\\site-packages\\setuptools-41.0.0.dist-info\\RECORD.pip' and 'Path\to\venv\\Lib\\site-packages\\setuptools-41.0.0.dist-info\\RECORD' are the same file
I am receiving this error for Python 3.7, 3.6 and 2.7. The error does not stop me installing the package, as a repeated attempt to install following the error will work, however for packages with multiple dependencies I have to restart the install for each package installed. Any help would be very much appreciated.