I assume that you have one of the M1 or newer arm64 processors.
I will show you how to install natively the above three libraries using arm64 Apple Silicon versions. In addition i started playing around with anaconda and using the spyder package this also let's me run python scripts and allows me to import numpy. In this article, I will show you how to install Python with NumPy, SciPy and Matplotlib on macOS Big Sur. If i want to use it in a script file (i'm using text wrangler for this) would i just import numpy as usual?
Now i can import numpy in the python idle. I've found myself getting lost in all the jargon in the other posts, a simple step by step approach i.e "first click this", "then install this" would probably be best suited to me, if anyone knows where i can find instructions in this form i'd very much appreciate it.Įdit: Thanks to everyone for the help it has been great, in particular i tried pip3 install numpy in the command line. I'd really appreciate any help regarding how to get numpy installed or perhaps how to start using python in anaconda (or both). Do i create python scripts in anaconda? Do i create the scripts before and some how run them in anaconda? I'm so confused as to what to do now, i've looked at some older posts but they haven't helped, i've also downloaded an open source package called anaconda (something mentioned in the other posts) which i think has everything (data science related) on it but i have no idea how to use it.
I went back to the idle and typed >import numpy again, and again it didn't work. Anyway then i looked into downloading numpy, i downloaded a folder in my downloads called numpy.1.11.0 and copied and pasted it into my desktop. Thinking it would just be as easy as that i tried it, but obviously it wasn't that simple because i haven't downloaded it. python django pandas python-3.x list dataframe numpy dictionary string matplotlib python-2.7 pip arrays selenium regex django-models json datetime flask csv tensorflow function for-loop algorithm jupyter-notebook tkinter django-rest-framework loops opencv windows beautifulsoup visual-studio-code web-scraping scikit-learn html anaconda pycharm. So the book i'm going through at the moment when talking about arrays starts by saying >import numpy, in the command prompt. I have python 3.5.1 downloaded on my mac. If you installed the Anaconda distribution of Python, NumPy comes pre-installed and no further installation. Depending on which distribution of Python you use, the installation method is slightly different.
If it isn't as simple as hit download and it works (as it seemed to do with windows) i'm finding myself getting stuck. Update: If doing all the stuff below doesn’t seem like your cup of tea, it’s also possible to install Python, NumPy, SciPy, and matplotlib using double-click binary installers (resulting in a much less flexible installation), see this post to learn how. Before NumPys functions and methods can be used, NumPy must be installed.
However i have no idea what i'm doing when it comes to downloading software and btw my knowledge of software instillation in general is terrible (i'm more of a pure mathematician). I'm trying to install Numpy on my mac so i can practice doing some programming for data science.