I have tried to solve the problem, but it seems to be stubborn. What to do? I installed the new version 3.8. of the python which related in /usr/local/bin/python3. I have tried all the different python versions using python set command but nothing helps. I want to use Stata python to use Stan with python. I could run it from Stata maybe in December but not now as python is not working.
. python search
--------------------------------------------------------------------------------------------------------------------------------------------
Python environments found:
/usr/bin/python
/usr/bin/python3
/usr/local/bin/python3
/usr/local/bin/python3.6
/usr/local/bin/python3.6m
/usr/local/bin/python3.7
/usr/local/bin/python3.7m
--------------------------------------------------------------------------------------------------------------------------------------------
. python set exec/usr/local/bin/python3
. python
failed to load the shared library /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/config-3.8-darwin/libpython3.8.dylib.
r(7100);
. python search
--------------------------------------------------------------------------------------------------------------------------------------------
Python environments found:
/usr/bin/python
/usr/bin/python3
/usr/local/bin/python3
/usr/local/bin/python3.6
/usr/local/bin/python3.6m
/usr/local/bin/python3.7
/usr/local/bin/python3.7m
--------------------------------------------------------------------------------------------------------------------------------------------
. python set exec/usr/local/bin/python3
. python
failed to load the shared library /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/config-3.8-darwin/libpython3.8.dylib.
r(7100);