[solved] How to install pip, BS4(Beautiful Soup), and update Python v2.7 to v3 on Mac

Written by  Friday, 24 November 2017 11:18

MacOS comes with Python installed. But to make sure that you have Python installed open the terminal and run the following command.

python --version

If this command returns a version number that means Python exists. Which also means that you already have access to easy_install considering you are using macOS/OSX. Now, all you have to do is run the following command.

sudo easy_install pip

After that, pip will be installed and you'll be able to use it for installing other packages. For try if pip working well use:

pip --version

If you want install another modules - you can do this, for example:

pip install regex

Then runing

sudo pip3 install beautifulsoup4
3689 Read Last modified on Friday, 24 November 2017

Leave a comment

Make sure you enter all the required information, indicated by an asterisk (*). HTML code is not allowed.

1 comment

  • Comment Link seo backlinks Sunday, 07 January 2018 19:11 seo backlinks

    The quantity of online shoe stores indicates that you’ll get a a lot wider selection in terms of costs.|These are also good for those who are neutral runners. Because I have attempted the footwear on already, I also know what dimension will function the very best. To find the right pair of shoes, you need the right shoe store.|For instance, women select strappy shoes for summer time and ankle boots for the winter. You can pull off this kind of dressy higher heel sandals with a brief skirt or even a good pair of blue denims.|Once it becomes a behavior, it will ease out the process of figuring out a shoe kind and type. The fact is standing for lengthy could be called as a time squander, which individuals cannot afford.|For example, skateboards can be found on on-line shopping. If any of your solution is yes then you are like thousands of people suffering from the problem of Obesity. What differentiated a good shoe from an ugly one?|Such shoes are best for runners whose foot has gentle-pronation or supination. Online buying on the other hand is fairly quick and quick. But the common dimension chart is not be appropriate for operating.|This is especially true if you are living in countries with 4 seasons this kind of as Europe or the United States.

Related items

  • How to change screenshot format png → jpg
    in Mac

    To save screenshots in JPG, execute the following commands in the terminal:

    defaults write com.apple.screencapture type jpg;killall SystemUIServer

    macOS also support: tiff, pdf, bmp & pict.

  • Launch Sublime Text 3 from the command line & simlink to Subl
    in Mac

    These instructions assume you’re using the Terminal app out of the box, without ZSH or any fancy prompts like that. I trust you will be able to adapt these instructions yourself if you do.

    Step 1 : Create a symlink called sublime

    sudo ln -s "/Applications/Sublime Text.app/Contents/SharedSupport/bin/subl" /usr/local/bin/sublime

    Step 2 : Check that your system profile can find the symlink you just created.

    open ~/.bash_profile

    Step 3 : Add both these lines & then save the file :

    alias subl="open -a /Applications/Sublime\ Text.app"
    
    export PATH=/usr/local/bin:$PATH

    Step 4 : Reload your bash_profile :

    source ~/.bash_profile

    Done ! You can now navigate to any of your code/script folders in Terminal and open them in Sublime with the following commands :

    subl .
    subl .zshrc
  • How to Stop .DS_Store File Creation on Network Volumes in Mac OS X
    in Mac

    To disable the creation of .ds_store files, launch the Terminal application from /Applications/Utilities/ and enter the following command string exactly:

    defaults write com.apple.desktopservices DSDontWriteNetworkStores true

    Reboot the Mac for changes to take full effect.

  • Customize OS X's Login Screen with Any Logo You Want
    in Mac

    The login screen on your Mac is perfectly functional as it is, but if you want to spice it up a little bit, blogger Jacob Salmela shows you how to customize the login screen with a logo of your choosing.

    If you don't want to install a whole program just for a simple tweak it's easy to do manually. All you need is a PNG that's 428 X 248. Then, you'll need to save it as four different files.

    Here's instructions:

    You need four copies of this file, and they need to be named:

    • apple.png
    • apple@2x.png
    • apple_s1.png
    • apple_s1@2x.png

    Once they are named correctly, just drag them into the following path:

    /System/Library/PrivateFrameworks/LoginUIKit.framework/Versions/A/Frameworks/LoginUICore.framework/Resources/

    and then choose to replace all of them.

    That's it, log out, and you should see your new logo. Head over to Salmela's site for a few sample images and instructions for making your own.

  • Git: Fix warning: unable to access '/.config/git/ignore': Permission denied
    in Mac

    After I check the folder, I just know that the folder owned by “root” user.

    ls -lah
    sudo chown whoami .config