I won’t fake that I understand all the details of what’s going on with the whole GitHub thread because I’m far from it, however in a nutshell these modules are not working by default because of the different M1 chip architecture, and some extra tools and workarounds are necessary to install Numpy and Pandas ( as well other modules, if you happen to see the same error when working on something else). Easy steps to install numpy1.16 package on Mac Open Terminal using Spotlight search by pressing
These 2 are pretty necessary in order to work with the Trading Tools I’m developing on this serie (Interactive Brokers API + Python), so it became necessary as well to test and explain how to install everything to make it work properly. At one point I am trying to allocate a huge numpy array with the following line of code: x np.zeros ( (1533189, 10, 1770), dtypenp.bool. I am using the same script on an iMac with 16GB of memory and a Linux Amazon EC2 instance with 16GB memory (using Python 3.4.3 and Numpy 1.10.1 on both). Homebrew is a package manager for Mac OS X. Numpy and memory allocation on Mac OS X vs. How to install NumPy, SciPy and Matplotlib using Homebrew. The new M1 chip MacBooks come with a nasty surprise for those of us who like to tinker with code, specially Python science packages. Install NumPy, SciPy and Matplotlib on Mac OS X.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |