This article explains how to install Python version 3.5 and pip on Windows

table of contents
Hello everyone. I'm Saito, an infrastructure engineer.
This time, I'll be showing you how to install version 3.5 of the programming language Python.
Python is usually used on servers, but the Python pre-installed on servers is often an older version
So let's go ahead and install Python ourselves
Installation Instructions
On Windows, installation is performed using the installer, but
there are some pitfalls when using the installed commands.
The purpose of this article is to create an environment where you can run python and pip commands from the command prompt.
We will explain the key points below
1. Install Python
You can use Python by downloading the installer from the URL below and following the instructions.
https://www.python.org/downloads/

2. Decide on the installation location
This time, we installed
Python35 under C:Usersbeyond The installation directory should be a location that does not require administrator privileges.
" C:Program Files ", you may not be able to use commands due to permission issues.
3. Setting the Path
Set the path to the directory created by the installer
C:UsersbeyondPython35 C:UsersbeyondPython35Scripts
You can set the path using the Control Panel, or
you can use the Rapid Environment Editor
4. Install pip
Download the following python file:
https://bitbucket.org/pypa/setuptools/raw/bootstrap/ez_setup.py
run the downloaded file ( ez_setup.py
> chdir C:UsersbeyondDownloads > ls ez_setup.py > python ez_setup.py
Once you have run the downloaded file, it's time to prepare pip
> easy_install.exe pip
This completes the environment setup
To check the version, use the following options:
> python -V > pip -V
Installing packages with pip
If there is a module you need, try installing the package with pip.
Use the pip command as follows:
> pip install --upgrade pip > pip install<package>
Let's try installing the following packages with pip:
> pip install virtualenv > pip install pip-tools > pip install ipython > pip install wheel
To see a list of installed packages, use the following command:
> pip freeze
Precautions when installing
If you do not have a C/C++ compiler installed on Windows,
you may encounter problems with pip not working properly depending on the package.
In that case, you will receive an error message requesting the installation of Visual C++.
If you are using Python 2.7, this plugin can solve the problem.
If you want to install without a compiler,
compiled ( .whl ) file is distributed at https://www.github.com/github/github/github-wheel/.
the wheel mentioned above installed.
> pip install wheel
Finally, let's try installing using wheel.
For example, let's say you want to install the following package:
https://pypi.python.org/pypi/ScalaFunctional/0.5.0

install the
ScalaFunctional-0.5.0-py2.py3-none-any.whl from here go to the download location and run pip.
> chdir C:UsersbeyondDownloads > ls ez_setup.py ScalaFunctional-0.5.0-py2.py3-none-any.whl > pip install ScalaFunctional-0.5.0-py2.py3-none-any.whl
The installation is now complete. Congratulations!
After that, just type "python" in the command prompt and python will start.
the installed package by typing import
> python Python 3.5.0a3 (v3.5.0a3:82656e28b5e5, Mar 30 2015, 00:12:00) [MSC v.1900 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> import this
Please try installing Python and pip using the method we introduced. Have a good import life!
Added 2020/03/09
This article was featured on courseduck.com
We have a variety of content that will help you learn Python for free, so please take a look
The Best Courses to Learn Python in 2020
https://www.courseduck.com/programming/python/
If you want to talk to a cloud professional
Since our founding, Beyond has used the technical capabilities we have cultivated as a multi-cloud integrator and managed service provider (MSP) to design, build, and migrate systems using a variety of cloud/server platforms, including AWS, GCP, Azure, and Oracle Cloud
We provide a custom-made cloud/server environment optimized for our customers based on the specifications and functions of the systems and applications they require, so if you are interested in the cloud, please feel free to contact us
● Cloud / Server design and construction
● Cloud / Server migration
● Cloud / Server operation, maintenance and monitoring (24 hours a day, 365 days a year)
0