Visual Studio is usually used in C #, but recently Python is also firmly supported. I'm using VS, which is familiar to the UI.
● Version used Microsoft Viusual Studio Community 2015
Python has a certain amount of libraries, so install and import it You can do various things with the flow.
However, VS doesn't seem to load the library installed with pip ...
I was just messing around on the console, so I moved to the original Python directory It was an image where the library was installed.
In VisualStudio, it seems to install for each ~~ project folder, ~~
In any case, I will leave a memo about how to install with VS.
If the window layout is the default person, Solution Explorer is in the upper right It should be displayed. So under the project name Right-click on Python X.X. (The version depends on your environment ...)
The red line menu will appear. This is exactly the library installation. I didn't notice ...
Click the red line to display the package installation window. The above figure is the case of installing the template engine jinja2. Enter the package name and click the OK button to start the installation.
After the installation is complete, the package name has been added. By the way, if you want to upgrade pip, you can enter the following.
I wrote down how to install the package in Visual Studio.
Recommended Posts