-
-
Notifications
You must be signed in to change notification settings - Fork 77
Description
Sometime, after certain MacOS upgrade, user will need to re-agree to the Xcode and Apple SDKs license agreement. If this is not done, g++ won't work.
In this case, install_cmdstan would fail (obviously) but report incorrect error messages:
[ Terminal ]
g++
You have not agreed to the Xcode and Apple SDKs license. You must agree to the license below in order to use Xcode.
Press enter to display the license:
[ Python ]
cmdstanpy.install_cmdstan()
CmdStan install directory: /Users/andy/.cmdstan
Installing CmdStan version: 2.37.0
Downloading CmdStan version 2.37.0
Download successful, file: /var/folders/9q/l3y9hz6j365_4drmq649dy740000gp/T/tmprbmoifgx
Extracting distribution
Unpacked download as cmdstan-2.37.0
Building version cmdstan-2.37.0, may take several minutes, depending on your system.
23:47:43 - cmdstanpy - WARNING - CmdStan installation failed.
Command "make build" failed
Command ['make', 'build', '-j1']
error during processing Disc quota exceeded
False