lucasb-eyer / pydensecrf

Python wrapper to Philipp Krähenbühl's dense (fully connected) CRFs with gaussian edge potentials.
MIT License
1.96k stars 417 forks source link

pip install fails under macOS Mojave #84

Open sareldu opened 5 years ago

sareldu commented 5 years ago

Trying to install last version (4d5343c) on macOS Mojave version 10.14.1, Xcode Version 10.1. python 3.7 getting error:

pydensecrf/densecrf/include/Eigen/Core:22:10: fatal error: 'complex' file not found
    #include <complex>
             ^~~~~~~~~
braddengross commented 5 years ago

Try the conda forge installation: conda install -c conda-forge pydensecrf

sareldu commented 5 years ago

worked! thanks!

assafge commented 5 years ago

failed on my machine (10.14.4): $ sudo conda install -c conda-forge pydensecrf ... ... The following packages will be DOWNGRADED:

python 3.7.3-h359304d_0 --> 3.6.8-haf84260_0

Proceed ([y]/n)? y

Preparing transaction: done Verifying transaction: done Executing transaction: failed ERROR conda.core.link:_execute(568): An error occurred while uninstalling package 'defaults::python.app-2-py37_9'. PermissionError(1, 'Operation not permitted') Attempting to roll back.

Rolling back transaction: done

[Errno 1] Operation not permitted: '/Users/assaf-ge/miniconda3/python.app/Contents/PkgInfo' -> '/Users/assaf-ge/miniconda3/python.app/Contents/PkgInfo.c~'

theo1893 commented 5 years ago

Thanks! This works for me!