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?
Box plot helpHello everyone, I am trying to make this visual from a book by Edward Tufte where he talks about us…
Help with bootstrap in obtaining a standard error.Hi Everyone: I think my problem has nothing to do with the data set and so I'm not showing a data ex…
Listing out the frequency distributions for multiple variablesHello! Quick question - I have data from a survey where participants can select multiple options fo…
residual from multiple regresionI'm working with a base that it´s compouse from 500 samples, but I have to create a compillation of …
How to do a Box Plot with mean instead of median and SD instead of quartiles?Dear Statalisters, Please have a look at my data: Code: * Example generated by -dataex-. For more…
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