Hello All. Thanks to Rafal Raciborski of StataCorp, I now know about the python: prefix in Stata Version 16. And I have managed to use python: on our Linux servr However, I did not seem to have a sufficiently official version of Python installed on my Windows 10 machine, as the command
python query
gives the response
minimum Python version required is 2.7
r(111);
and the command
python search
gives the same response.. So, I went to what looks like an "official" Python download website at
https://www.python.org/downloads/
and downloaded and installed Python Version 3.8.5. But I still get the same responses from python query and python search. I have tried exiting Stata and launching it again, and I have tried uninstalling Python 3.8.5 and re-installing it with the executable added to the system path, but Stata does not seem to recognise this Python as being official enough.
The .pdf documentation for the Stata python command states (under "Configuring Python") that, under Windows, there need to be files python.exe and pythonXYZ.dll, where XYZ is a version specification. I seem to have a python38.dll and a python.exe in my folder
C:\Users\rnewson\AppData\Local\Programs\Python\Pyt hon38-32
but Stata doesn't seem to be able to find either. Am I missing something obvious? Or is this Python version not official enough?
Best wishes
Roger
Related Posts with How official does a Windows Python version have to be to be usable by Stata?
ppml_panel_sg errordear statalist hello i try to use panel data with 'ppml_panel_sg' gravity model i want to add time…
How to extract coefficients from saved results in "cointreg" package?Dear all, I am using -cointreg- from SSC in Stata 14. I have a panel dataset. However, I'm estimati…
heckman sample selection and VIFHi, I am using heckman in stata for below specification, I want to check multicollinearity and VIF,…
Variable with characterDear All I need help with a basic question that I can't find a solution to I have variables that c…
P-Value Interpretation for Dummy Variables (output included)Hello, I am having some difficulty interpreting the p-value of my results - especially the dummy va…
Subscribe to:
Post Comments (Atom)
0 Response to How official does a Windows Python version have to be to be usable by Stata?
Post a Comment