You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Install cmake and GCC7 with MacPorts (in /opt/local)
sudo port install cmake gcc7
# Make the conda virtual environment and activate it
conda env create -f environment.yml
source activate pysap
# Set the compiler environment variable (to use the right MacPorts version of GCC)
export CC="/opt/local/bin/gcc-mp-7"
export CXX="/opt/local/bin/g++-mp-7"
# Set the Python headers directory (here in the Anaconda pysap virtual environment)
export CPLUS_INCLUDE_PATH=~/anaconda3/envs/pysap/include/python3.6m
# Build and install
python3 setup.py build
python3 setup.py install
It can compile but it cannot link.
I also tried with Python2.7 and I’ve got the same errors.
I'll try with homebrew instead of macports.
The text was updated successfully, but these errors were encountered:
Thank for your feedback.
We never try to install pysap with conda.
We will investigate your issue.
Note also that we will provide soon a singularity container to avoid the installation of pysap.
Here are the commands I use to compile and install PySAP on MacOSX using Anaconda and MacPorts
(the environment.yml is available there: https://raw.githubusercontent.com/jeremiedecock/pysap/master/environment.yml )
It can compile but it cannot link.
I also tried with Python2.7 and I’ve got the same errors.
I'll try with homebrew instead of macports.
The text was updated successfully, but these errors were encountered: