Closed mauralally9 closed 1 year ago
I think the issue is that the variable is called "flags" not "flats"!
I think the issue is that the variable is called "flags" not "flats"!
Ah, sorry, silly typo on my part! The starry error when trying to run starry.map.show() remains though. I can edit my issue to reflect this.
Haha - thank you! Now this looks to me like a larger issue with your compiler setup. It could have something to do with this stackoverflow post, but I'm not too sure! Perhaps start by taking a look at that?
The solution from the stack overflow worked, thanks! For anyone else who had this issue: every time I quit the shell session it reverts back (puts the anaconda ld
at the top again). So the fix works, but every time I restart Terminal I do have to run the export PATH=/usr/bin:/[rest of path]
line in my environment again to reorder it.
@mauralally9 — Awesome! I'm glad you got it figured out and thanks for reporting back!!
Describe the bug Apologies for the title; the issue is not what I originally thought. After making some changes to my environment (which I unfortunately did not keep a careful log of), starry functions no longer work; for example, when I try
star.map.show()
I get an exceptionException: ('The following error happened while compiling the node', DeepCopyOp(TensorConstant{1.0}), '\n', "Compilation failed (return status=1): ld: unsupported tapi file type '!tapi-tbd' in YAML file '/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/lib/libSystem.tbd' for architecture x86_64. clang-16: error: linker command failed with exit code 1 (use -v to see invocation). ", 'FunctionGraph(DeepCopyOp(TensorConstant{1.0}))')
.To Reproduce I am working in a jupyter notebook where I import numpy, matplotlib, starry, and theano. After importing theano, I get a "WARNING (theano.tensor.blas): Using NumPy C-API based implementation for BLAS functions." message. I then run the line
theano.config.gcc_cxxflags += " -fexceptions"
as described in issue #302 .In the next cell, I try to set up a star with the lines
and the full output is
Expected behavior
Your setup (please complete the following information):
Additional context