Posts

Showing posts from January, 2016

Installation Issue with matplotlib Python [duplicate]

Stack Overflow QuestionsJobsTagsUsersBadges Ask Question Installation Issue with matplotlib Python [duplicate] up vote17down votefavorite10 This question already has an answer here: python matplotlib framework under macosx?4 answers I have issue after installing the matplotlib package unable to import matplotlib.pyplot as plt. Any suggestion will be greatly appreciate. >>>import matplotlib.pyplot as plt

PostgreSQL on Mac OS X

Step-by-step instructions PostgreSQL is an open source object-relational database. It is a popular database choice when using a relational database. Installing PostgreSQL on Mac OS X is simple. Software versions The instructions in this post were created / tested using the following sofware versions: Mac OS X Yosemite 10.10HomeBrew 0.9.5PostgreSQL 9.4 Install PostgreSQL via Brew First, we will update Brew and then install PostgreSQL. brew update brew install postgres Start PostgreSQL Start the PostgreSQL server in the foreground. There are optional instructions below in case you would like to start PostgreSQL automatically. Brew initializes the database during installation. postgres -D /usr/local/var/postgres Login to PostgreSQL for the first time. Press Cmd + T to open a new terminal tab. whoami is surrounded by backticks, not single quotes. createdb `whoami` Login to PostgreSQL with your user account. psql Optional: Install AdminPack AdminPack is used by PgAdmin. If you plan on usi…