-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can't upgrade/install torch-spline-conv and torch-scatter on Mac #18
Comments
Hi, I‘m not sure if I can help you, as this seems to be a problem with Mac and the new Extension API. Please verify that the official extension-cpp examples work on your machine and report back. |
Hi, |
You need to use clang on macOS, and personally, this works fine for me :( |
After reinstalling anaconda and installing a new environment, I was able to pip install torch-scatter just fine. But now I have trouble importing it. (torch) cyml:~ cyrus$ python
|
Please try installing from source: |
I get the same error message on Linux "Symbol not found: __ZN2at5ErrorC1ENS_14SourceLocationESs". |
I am using Homebrew GCC 8.2.0 with an anaconda environment (python 3.7, GCC 4.0.1) Everything installs fine in redhat Linux in an anaconda environment (python 3.7, GCC 7.2.0) |
I could reproduce the error on a mac. I will look into it. |
Same error. |
After installing from source, the error still exists |
I could resolve this issue by setting up a clean miniconda environment. It seems to be fixable by clearing the pip cache (rusty1s/pytorch_scatter#7). |
Successfully installed torch-scatter-1.1.1 FYI, PS: Thank you very much for the awesome library! |
Installing clang compiler tools within my conda environment worked for me:
|
UserWarning:
fatal error: 'forward_list' file not found
#include <forward_list>
^~~~~~~~~~~~~~
1 error generated.
error: command 'gcc' failed with exit status 1
These are the errors I get trying to pip or manually install torch-spline-conv and torch-scatter.
I'm on a Mac OSX 10.12.6
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-900.0.39.2)
Target: x86_64-apple-darwin16.7.0
The text was updated successfully, but these errors were encountered: