Skip to content

Commit 6088a16

Browse files
committed
dealing with new mac installation
1 parent a9c5815 commit 6088a16

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ You will need to determine if
4949
you want to use a CPU-only implementation (probably) or a GPU implementation of tensorflow. See
5050
https://www.tensorflow.org/install/install_linux for install instructions.
5151

52+
## Mac Installation
53+
54+
1. install new versions of the compilers etc using brew (this seems to be the root of the issue) `brew install gcc gfortran libomp`
55+
2. set these environment variables export SYSTEM_VERSION_COMPAT=1 \\n && export LDFLAGS="-L/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib"
56+
build the diploshic packge from the root of the repo dir with pip install .
5257

5358
## Usage
5459
The main program that you will interface with is `diploSHIC`. This script is installed by default

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
[build-system]
22
build-backend = "setuptools.build_meta"
3-
requires = ["setuptools", "numpy"]
3+
requires = ["setuptools<60.0.0", "numpy"]
44

0 commit comments

Comments
 (0)