Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Not so much an issue as help for Mac users #2

Closed
fomightez opened this issue Jun 8, 2016 · 1 comment
Closed

Not so much an issue as help for Mac users #2

fomightez opened this issue Jun 8, 2016 · 1 comment
Assignees

Comments

@fomightez
Copy link

fomightez commented Jun 8, 2016

If you try this on a Mac and get an error like so
Traceback (most recent call last):
File "Fisher.py", line 3, in <module>
import statlib.fexact as f

Then you need to recompile by typing ./recompile.sh in your terminal as Emmanuel helped me figure out. But first you'll probably need to install a fortran compiler. You'll know for sure if you run the ./recompile.sh command in your terminal and get an error abort not finding a compiler such as pgfortran.

The easiest place I found to get a fortran compiler was here under MacOS. After downloading the right version for your system, you'll need to unpack it and then click on it to install and lower your security setting on your Mac to allow any software for a few minutes. You can verify it is installed works by typing your terminal
gfortran --version

Now the the ./recompile.sh command should run to completion and then python Fisher.py should run in your terminal without an error.

@maclandrol maclandrol self-assigned this Jun 13, 2016
@maclandrol
Copy link
Owner

No need to recompile now. The need of fortran compiler mentionned on readme. Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants