-
Notifications
You must be signed in to change notification settings - Fork 24
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
pybdsf error on MacOS Catalina 10.15.7 #140
Comments
I have the same problem... @vdhulst Have you fixed it? |
@zhangyuheng94 : no, not yet. Am afraid a PyBDSF expert needs to look at this. |
Does this problem also occur with the latest release? |
@gmloose Yes, the pybdsf version is 1.10.1, installed on the anaconda python 3.7 env. |
I have anaconda python 3.8.3 and now bdsf-1.10.1. I had some problems reinstalling bdsf and solved that by installing from source and using the GNU gcc and g++ compilers. The error I get now is the same as above:
|
It is on my radar, but it's a bit difficult for me to reproduce these issues, because I don't have access to a Mac. I'll try to see if I can crank up the priority for solving this issue. |
I can reproduce the original problem on a Linux system (Docker container based on
If I change to another directory, then the import works fine.
I strongly recommend to install from PyPI directly, instead of downloading from source. So, just do:
On Mac, this will download the source tar-ball, so you'll still need the developer tools and libraries to compile the binary wheel. In the future, I hope to also be able to distribute binary wheels for Mac. |
This problem seems to be unrelated to the OP. I see a mismatch between Python (version 3.8) and the boost-python libraries (version 3.10). Even though you're inside a Conda environment, the build seems to pick up system-wide installed libraries. Maybe you can force the build to use the proper libraries if you install |
I reinstalled boost and got rid of my PyBDSF directory cloned from GitHub. Then reinstalled bdsf using
So the boost problem is gone, but the other one remains. When I change directory and do a @gmloose: maybe I should drop in when I am in Dwingeloo next Wednesday. |
In fact, I installed pybdsf through download the file " Using pip install bdsf it reported a problem:
|
@zhangyuheng94, you cannot simply rename a wheel file to match with a different architecture. That will not work.
It looks like something is going wrong in the determination of the link path, because the double |
For those interested. Users with an Intel-based Mac can now install a binary wheel pre-release:
So there's no longer a need to compile stuff yourself. An official 1.10.3 release will be made soon. |
Thanks a lot Marcel ! |
Good to know. Happy to be of help. |
I successfully installed pybdsf using
pip install .
after agit clone
on a Mac with Catalina 10.15.7.I have all the prerequisites installed and am using anaconda3 python:
When I run pybdsf I get the following error:
The text was updated successfully, but these errors were encountered: