Skip to content Skip to sidebar Skip to footer

How To Fix The Vcvarsall Error On Pycharm?

I am on 64-bit Windows 7 SP1. I have PyCharm Community Edition 4.0.4 with Python 3.4.2. I want to install new packages in PyCharm. In PyCharm, when I go to File -> Settings ->

Solution 1:

My suggestion is:

  1. Check if you have installed Windows Software Developement Kit (SDK). Go to your Control pannel and see the list of your installed programmes. If you do not have it, install it. If the installation failed, uninstall your Microsoft Visual Studios (2010, 2013, etc). Repeat the installation. and reinstall your Visual Studios.
  2. I would recommand upgrade your Visual Studio to version 2015. Install both Visual Studio 2015 Express (recently it is called "community") and Visual Studio 2015 redistributable. (You need both otherwise some dlls will be missing).

    Visual Studio Express 2015.

    Visual C++ 2015, Redistributable

  3. Regarding setting the variables (VS90COMNTOOLS): Go to control panel -> system -> Advanced system parameters then click on Environment variables. Make a new variable (in system variable table) name it VS90COMNTOOLS and set its value to %VS140COMNTOOLS% (if you followed my suggestions) or set it to %VS120COMNTOOLS% (if you have visual studio 2013).

It worked for me.

Solution 2:

If you are at all like me, and you are just looking for a quick way to get those packages to just install. A very quick option is to install the Activepython distribution.

This comes included with a package manager 'pypm' that gets around this issue. You will need to install your packages from the command-line but this is extremely straightforward. The error you are describing drove me almost insane and this method really does get around it in the fastest possible manner.

Post a Comment for "How To Fix The Vcvarsall Error On Pycharm?"