I used to scrape with Node.js
, but are you getting excited these days? I want to be able to scrape with Python
.
By the way, I want to get on the trend, such as machine learning and AI.
So, I want to create a local environment that works for the time being and touch Python
in both rabbits and corners.
Tips for allowing beginners who are thinking about creating an environment where Python
can run in both rabbits and corners.
--Business, but those who want to get in touch with Python --Anyone who wants to start Python, touch it, or experiment --For those who want to scrape dynamic websites using Python
--MacOS has / usr/bin/python version 2.x
installed by default, but in this article we will enable version 3.x
--I don't think about version control of Python
. Therefore, do not include pyenv
brew install python3
Pip3
is also installed automaticallypython3 --version
python3 -m pip --version
python3 -m pip
or you will call version 2 pip, so be careful.With the above, you can get the execution environment of Python3.
Recommended Posts