The problem is that sometimes people have installed multiple different versions of Anaconda and consequently they have multiple versions of Anaconda in their path. bash_profile to put Anaconda in your path. Notice that when you install Anaconda, it modifies your. The image below shows step 5 of the Graphical Installation of Anaconda from earlier in this tutorial. You can learn more about Jupyter Notebooks here. Jupyter notebooks contain both code and rich text elements, such as figures, links, and equations. The image below shows a Jupyter Notebook in action. If the command fails, chances are that Anaconda isn’t in your path. You can type the command below in your terminal to open a Jupyter Notebook. python -versionĢ - Another good way to test your installation is to try and open a Jupyter Notebook. If you had chosen a Python 2 version of Anaconda, you should get a similar output to the one below. If you had chosen a Python 3 version of Anaconda (like the one in the image above), you will get an output similar to above. Now, type the following command into your terminal python -version You can do this by clicking on the Spotlight magnifying glass at the top right of the screen, type “terminal” then click on the terminal icon. Close the installer and move it to the trash.ġ - Open a new terminal on your Mac. You can learn about Python Integrated Development Environments here.ġ0 - You should get a screen saying the installation has completed. It is an Integrated Development Environment. You can install Microsoft Visual Studio Code if you like, but it is not required. After you enter your password, click on Install Software.ĩ - Click on Continue. You will need to read and click Agree to the license agreement before clicking on Continue again.Ĩ - You’ll be prompted to give your password, which is usually the one that you also use to unlock your Mac when you start it up. Click on Continue.Ħ - Click on Continue to get the License Agreement to appear. Note: see our installing anaconda on Windows tutorial if you're not on Mac OS.Ģ - Locate your download and double click it.ĥ - Note that when you install Anaconda, it modifies your bash profile with either anaconda3 or anaconda2 depending on what Python version you choose. If you aren’t sure which Python version you want to install, choose Python 3. Installing Anaconda using a graphical installer is probably the easiest way to install Anaconda.ġ ‒ Go to the Anaconda Website and choose a Python 3.x graphical installer (A) or a Python 2.x graphical installer (B). An installation of Anaconda comes with many packages such as numpy, scikit-learn, scipy, and pandas preinstalled and is also the recommended way to install Jupyter Notebooks. Let me know if that happens and we can set up a Zoom call to try some additional steps.Anaconda is a package manager, an environment manager, and Python distribution that contains a collection of many open source packages. If it is still running after 30 minutes, it's OK to stop it. However, it also sometimes gets stuck and doesn't finish. Because geopandas has a lot of prerequisites, and they themselves have prerequisites, and the overall Anaconda distribution has many, many modules, the search process can take more time than you'd expect: sometimes as long as 30 minutes or more. The "solving environment" step checks for prerequisite modules needed by geopandas so that any missing ones can be installed with it. There will be yet another raft of messages about changes. After several minutes, it should produce a bunch of new messages about changes that will be made, followed by another "Proceed?" prompt. However, those are warnings rather than fatal errors: let the process keep going. There will be several messages about "solving environment" and some of them may say that a step failed. At the command line prompt, give the command: conda install geopandas
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |