First, make sure all software you install are consistent platform(e.g. pycharm x64 + jdk x64). There are 3 possible reasons. Please try below solutions one by one.
1. install JDK, create JAVA_HOME variable.
2. install Microsoft Visual C++ 2010 Redistributable Package.
3. run pycharm as administrator.