Error: Microsoft Visual C++ 10.0 is required (Unable to find vcvarsall.bat) when running Python script [duplicate]

I was able to fix this on Windows 7 64-bit running Python 3.4.3 by running the set command at a command prompt to determine the existing Visual Studio tools environment variable; in my case it was VS140COMNTOOLS for Visual Studio Community 2015. Then run the following (substituting the variable on the right-hand side if yours … Read more

How to configure custom PYTHONPATH with VM and PyCharm?

For PyCharm 5 (or 2016.1), you can: select Preferences > Project Interpreter to the right of interpreter selector there is a “…” button, click it select “more…” pop up a new “Project Interpreters” window select the rightest button (named “show paths for the selected interpreter”) pop up a “Interpreter Paths” window click the “+” buttom … Read more

How can I tell PyCharm what type a parameter is expected to be?

Yes, you can use special documentation format for methods and their parameters so that PyCharm can know the type. Recent PyCharm version supports most common doc formats. For example, PyCharm extracts types from @param style comments. See also reStructuredText and docstring conventions (PEP 257). Another option is Python 3 annotations. Please refer to the PyCharm … Read more

Src layout to dispense .src prefix in imports? Activate venv in PyCharm terminal for development installs

Update / Workaround One can follow the steps in this link to mark a folder as a source root. From the link: Source roots the Source root icon contain the actual source files and resources. PyCharm uses the source roots as the starting point for resolving imports This way we don’t have to install It … Read more