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?
How to generate type III table for mixed linear models in Stata?Hello, I'm new to Stata and I'm trying to obtain a type III table for a mixed model in Stata? Any su…
Spatial Model (xsmle) "Effects" vs. "Margins" - Why are they different?There seems to be an issue with the calculation of marginal effects for spatial models containing a …
Business CalendarHey everybody, I'm trying since a long while to change my daily data to business calendar data. Acco…
Multinomial logistic regressionHi all, I am working with a data set (sample below) that contains, among other things, four binary v…
Predict an out-of-sample value in StataHi all, I have a data set over a period 2008-2017. I estimated a gmm model based on this time period…
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