Posts

Showing posts from January, 2016

Installation Issue with matplotlib Python [duplicate]

Stack Overflow Questions   Jobs   Tags   Users   Badges   Ask Question Installation Issue with matplotlib Python [duplicate] up vote 17 down vote favorite 10 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 Traceback ( most recent call last ): File " " , line 1 , in < module > File "//anaconda/lib/python2.7/site-packages/matplotlib-1.3.1-py2.7-macosx-10.5-x86_64.egg/matplotlib/pyplot.py" , line 98 , in < module > _backend_mod , new_figure_manager , draw_if_interactive , _show = pylab_setup () File "//anaconda/lib/python2.7/site-packages/matplotlib-1.3.1-py2.7-macosx-10.5-x86_64.egg/matplotlib/backends/__init__.py" , line 28 , in pylab

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.10 HomeBrew 0.9.5 PostgreSQL 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 Ad