Install Part 2: How do I get the Pandas, Matplotlib, SciPy, Sklearn, and NumPy libraries installed in Python? Type -about- in Stata to confirm your version. Windows can actually run either 32-bit or 64-bit versions if you have a 64-bit processor, so do yourself a favor and just check. If you have a relatively modern computer, you are probably running the 64-bit version of Stata. You’ll see that mine is running the 64-bit version of Stata. In Stata, type – about– to see what version you have. Make sure to install the version matching your Stata install! Stata comes as 32 bit or 64 bit. You can find it at the Windows Python Download Page. Instead, use the 3.x version, currently the 3.8 version. The end-of-life of 2.x versions is this year, so I wouldn’t recommend using it (current highest version is 2.7). Just make sure to check the “set as path” button during the Anaconda install ! Installing the (universally free) traditional Python distributionĪs of July 2020, Python apparently has two versions that are commonly used, the 2.x version and the 3.x version. The (free) individual version of Anaconda from here. Install part 1: Installing Anaconda (free for individuals, not for institutions)Īnaconda comes with many built-in statistical packages. Of note, since I started this post, Stata’s blog has started a series on using Python, which you should check out here. Getting it up and running has been a bit of a challenge. I’m pretty stoked about using some of the Python figure packages. You’ll still need to install Python and Jupyter, so this post is still helpful. Because of this functionality, there’s a more streamlined approach to getting Jupyter to play nicely with Stata 17, detailed here. In Stata 16, Python could not control Stata but Stata could control Python. Note: this post was written prior to Stata 17, which now allows Python to control Stata and vice versa.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |