Closed yzheng27 closed 3 years ago
Do you see C++ error (add verbose=True
)
Below are the message generated by adding verbose = True
. Not sure if it's C++ error. Thanks.
g++ -bundle -undefined dynamic_lookup -L/Users/user/opt/anaconda3/envs/dash_eda/lib -arch x86_64 -L/Users/user/opt/anaconda3/envs/dash_eda/lib -arch x86_64 -arch x86_64 /var/folders/tq/z6zpr9n51qxbbjq9qj0_bf1m0000gn/T/tmppl7e6de_/var/folders/tq/z6zpr9n51qxbbjq9qj0_bf1m0000gn/T/tmppl7e6de_/stanfit4anon_model_b7776e688e4eb215dda08f3d13c0fe74_2714606035816061165.o -o /var/folders/tq/z6zpr9n51qxbbjq9qj0_bf1m0000gn/T/tmppl7e6de_/stanfit4anon_model_b7776e688e4eb215dda08f3d13c0fe74_2714606035816061165.cpython-37m-darwin.so
ld: unexpected token: !tapi-tbd-v3 file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/lib/libSystem.tbd' for architecture x86_64
collect2: error: ld returned 1 exit status
How does dash work? Is it running in isolated environment or "normally" with python backend?
Can you try with precompiled model (pickle in python <--> unpickle un app) and try sampling.
Un-pickle precompiled model does work in app, and has no problem in sampling. i built the app in python, but it's also flexible in R and Julia.
Description:
Hi, I have conda environment dash_eda set up on my machine and it works perfectly in jupyter notebook for the stan model compilation and sampling. And I want to build a Dash app using the same environment dash_eda, but it produces error in the app for the model compilation stage. Any suggestions?
Current Output:
PyStan Version: 2.19.0.0
Python Version: 3.7.7
Operating System: MacOS Catalina