PhreeqcUsers Discussion Forum

Beginners => Installation questions => Topic started by: GuyC on June 08, 2015, 06:20:18 PM

Title: PhreeqPY on Mac OS X
Post by: GuyC on June 08, 2015, 06:20:18 PM

I was wondering if anyone knows the basics for setting up PhreeqPY on Mac OS X Yosemite. I've gone through the README on, but reached an impasse. Here is what I have so far:

1) Installation and Download with no errors via terminal

2) Running python in a browser environment so via terminal: ipython notebook iphreeqc_test.ipynb

3) In ipython notebook:

import phreeqpy
from __future__ import print_function
import sys
# Simple Python 3 compatiblity adjustment.
if sys.version_info[0] == 2: range = xrange

etc. (The full code used to test is in the PhreeqPy documentation

4) First few runs had syntax errors as output. After fixing, running the program results in no output (no errors to fix even). I've checked to make sure other modules run okay in the environment (like matplotlib, pandas, etc) and they seem to run fine.

If anyone has setup PhreeqPY to run on mac, am I missing some critical initial steps in making PhreeqPY run?