PyCharm caches a great number of files, therefore the system cache may become overloaded. Sometimes the caches will never be needed again, for example, if you work with frequent short-term projects. Also, the only way to solve some conflicts is to clean out the cache.
note
Files will not be deleted until you restart PyCharm.
Opening and closing a project does not result in deleting any files.
In the main menu, go to File | Invalidate Caches/Restart.
In the Invalidate Caches dialog, select the relevant action. You can invalidate the caches and restart the IDE or just restart the IDE.
tip
If any of the old version files or directories remain after cleaning the IDE cache, select Help | Delete Leftover IDE Directories from the main menu.
Our website uses some cookies and records your IP address for the purposes of accessibility, security, and managing your access to the telecommunication network. You can disable data collection and cookies by changing your browser settings, but it may affect how this website functions. Learn more.
With your consent, JetBrains may also use cookies and your IP address to collect individual statistics and provide you with personalized offers and ads subject to the Privacy Notice and the Terms of Use. JetBrains may use third-party services for this purpose. You can adjust or withdraw your consent at any time by visiting the Opt-Out page.