![]() ![]() Go to the Anaconda Website and choose a Python 3.x graphical installer (at the time of writing this, I am installing Python 3.7). The easiest way to install the distribution is through the graphical installer. Anaconda is probably the most popular distribution for Data Science since it abstracts away many of the complexities associated with package management, helps keep dependencies updated and comes with many useful Python tools such as Jupyter Notebooks. I debated a lot on the best way to install Python on a system and ultimately landed on the Anaconda distribution. If you would like to use the Ultimate vimrc, you can do so by cloning the repo and running the install script: git clone -depth=1 ~/.vim_runtime sh ~/.vim_runtime/install_awesome_vimrc.sh Python In my first few weeks of using Vim, I found it useful to slowly incorporate packages and new features into my workflow over time. On the other hand, if you are just learning vim and starting to incorporate it into your workflow, it might be a good idea to start with a blank rc file and get comfortable with the basic functionality of the editor without any plugins. If you don’t already have a Vimrc file that you like to use, I recommend the Ultimate Vim configuration. The homebrew command above includes the installation of the CLI mvim and the Mac application (which point point to the same thing). Additionally, we have also install MacVim, a Vim port to Mac OSX that is meant to look better and integrate more seamlessly with your Mac. Now we should have the most recent version of Vim installed (if you would like to check, type vim -version). To install the latest version, use Homebrew with the following command: brew install vim & brew install macvim brew link macvim It is already included with Apple OS X but we will make sure we have the most recent version installed and configure the editor to our tastes. Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. Watch this space as more steps will be added here shortly. It’s also helpful to have wget which can be installed with: brew install wgetĪt this moment, I do not have a very particular set up for my Unix Shell environment or dotfiles I am particularly attached to so I will move on for now. I do like to have htop to monitor system usage so I will install it with: brew install htop-osx Now we’re ready with Git and Homebrew! Unix Shell ![]() We can install Git with: brew install git Now we are ready to install some software! To make sure we have the latest Homebrew version and the latest formulas (which we should), we can run brew update & brew upgrade. ![]() Claires-MacBook-Pro-2:Code clairesaint-donat$ brew doctor Your system is ready to brew. Run brew doctor after to make sure the installation was successful and that Homebrew is working properly. By default, Homebrew will be installed such that we can use the brew command without having to type sudo and providing a password. To do this, open your Terminal app or whatever terminal emulator you use and enter: ruby -e "$(curl -fsSL )"įollow the command line prompts and enter your User password when instructed. Now we can install Homebrew, a free package management system that simplifies the installation of software on the macOS operating system. In versions beyond OSX 10.9, you can also install XCode directly from the command line with xcode-select -install Homebrew This can be done by installing XCode from the App Store, going to preferences, downloads and then installing command line tools. The first thing you need to do is install Apple’s command line tools (or XCode). Unix Shell (get bash profile with aliases, prompt string, etc from Git) Here is a general overview of the tools I use and what will need to be installed: This is intended to be a living document and so, I will update this post as technologies or my processes change. I have finally arrived at a pretty clean, maintainable setup which perhaps merits sharing so that others can avoid spending as much time as I have configuring a new machine. Although setup on OSX is substantially less troublesome than on Windows (a lesson I’ve had to learn the hard way at the office), the process is nonetheless time-consuming and can be difficult to get right. Setting up software for data analysis and statistical computing can be a major pain. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |