Add the following lines: echo 'eval "$(pyenv init -path)"' > ~/.zprofileĮcho 'eval "$(pyenv init -)"' > ~/. This dataset is a perfect candidate it contains historical earthquake data near Fiji. Execute this line from the terminal: pip install folium With regards to the dataset, you’ll need something with geolocations (latitude and longitude). Open Terminal, then type in: brew install openssl readline sqlite3 xz zlibįinally, update the shell profile configuration, i.e ~/.zshrc if your default shell is ZSH. Make a basic map with Folium To make any visualization with Folium, you’ll first have to install the library. To make pyenv work, install build dependencies through Homebrew. The Homebrew Python documentation recommends pyenv to manage Python environments. You lose control over “site-packages” and all the PIP packages that you had installed might become inaccessible. For example, the "youtube-dl" package uses Python as its dependency, the Python package may get updated as and when needed. Many people prefer to use Homebrew to install software packages, but should you use it for Python development? The problem with using Homebrew Python is that it’s not in your control. If you’re working on multiple Python projects, the default location, which needs sudo privileges, creates hurdles.
0 Comments
Leave a Reply. |