PhreeqcUsers Discussion Forum

Registrations currently disabled due to excessive spam. Please email phreeqcusers at gmail.com to request an account.
Welcome Guest
 

  • Forum Home
  • Login
  • Register

  • PhreeqcUsers Discussion Forum »
  • Beginners »
  • Installation questions »
  • PhreeqPY on Mac OS X
« previous next »
  • Print
Pages: [1]   Go Down

Author Topic: PhreeqPY on Mac OS X  (Read 4248 times)

GuyC

  • Contributor
  • Posts: 2
PhreeqPY on Mac OS X
« on: 08/06/15 18:20 »
Hi,

I was wondering if anyone knows the basics for setting up PhreeqPY on Mac OS X Yosemite. I've gone through the README on phreeqpy.com, 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 http://www.phreeqpy.com/phreeqpy.pdf)

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?

Thanks,
G.C.

Logged

  • Print
Pages: [1]   Go Up
« previous next »
  • PhreeqcUsers Discussion Forum »
  • Beginners »
  • Installation questions »
  • PhreeqPY on Mac OS X
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies
  • XHTML
  • RSS
  • WAP2