

To come out of virtual environment, run deactivate.Īs our virtual environment is ready, now let us install beautifulsoup. In the above screenshot, you can see we have “myEnv” as prefix which tells us that we are under virtual environment “myEnv”. To activate your virtual environment, run the following command − Run the below command in your command prompt −Īfter running, you will see the below screenshot −īelow command will create a virtual environment (“myEnv”) in your current directory − Pip 19.2.3 from c:\users\yadur\appdata\local\programs\python\python37\lib\site-packages\pip (python 3.7)

You can verify your pip installed by running below command −
#INSTALL WEKA ON UBUNTU WINDOWS#
That’s it, pip is now installed in your windows machine. Open the command prompt and navigate to the folder containing get-pip.py file. To install pip in windows, do the following −ĭownload the get-pip.py from or from the github to your computer.

Creating a virtual environment (optional)Ī virtual environment allows us to create an isolated working copy of python for a specific project without affecting the outside setup.īest way to install any python package machine is using pip, however, if pip is not installed already (you can check it using – “pip –version” in your command or shell prompt), you can install by giving below command − Linux environment To isolate our working environment so as not to disturb the existing setup, let us first create a virtual environment. We are going to install the BeautifulSoup 4 library (also known as BS4), which is the latest one. As BeautifulSoup is not a standard python library, we need to install it first.
