Platform: OS X 11.5.2 running on Apple M1
Problem: When initializing Stata from within Python 3.8.2 (default system install) or Python 3.9.6 (brew install), I get the following memory-related warnings:
Code:
[Desktop] pschumm% python3
Python 3.9.6 (default, Jun 28 2021, 19:24:41)
[Clang 12.0.5 (clang-1205.0.22.9)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pystata
>>> pystata.config.init('mp')
[0.008s][warning][os,thread] Attempt to protect stack guard pages failed (0x000000016b338000-0x000000016b344000).
[0.008s][warning][os,thread] Attempt to deallocate stack guard pages failed.
___ ____ ____ ____ ____ ©
/__ / ____/ / ____/ 17.0
___/ / /___/ / /___/ MP—Parallel Edition
Statistics and Data Science Copyright 1985-2021 StataCorp LLC
StataCorp
4905 Lakeway Drive
College Station, Texas 77845 USA
800-STATA-PC https://www.stata.com
979-696-4600 stata@stata.com
Stata license: 745-user 2-core network, expiring 30 Jun 2022
Serial number: ************
Licensed to: Phil Schumm
University of Chicago
Notes:
1. Unicode is supported; see help unicode_advice.
2. More than 2 billion observations are allowed; see help obs_advice.
3. Maximum number of variables is set to 5,000; see help set_maxvar.Thanks much,
– Phil
0 Response to "Attempt to protect stack guard pages failed" when initializing Stata within Python
Post a Comment