After installation of Miniconda3 (Miniconda3 macOS Intel x86 64-bit pkg) on my Mac OS High Sierra and typing in Terminal “conda --version” I get the following message: “-bash: conda: command not found” instead of conda’s version number. Thus, I cannot continue with my career path - coding on my laptop.
I’ve managed getting Miniconda3 by installing Miniconda3 macOS Intel x86 64-bit bash, instead of Miniconda3 macOS Intel x86 64-bit pkg.
But now I have trouble installing Python packages.
After executing “pip install pandas” i get the messages: “ERROR: Failed building wheel for numpy” and “ERROR: Could not build wheels for numpy, which is required to install pyproject.toml-based projects”.
The same happens with other Python packages (sklearn, matplotlib, seaborn, nltk, bs4).
You could then upgrade your version of pip. Check the version first:
Then use pip to install NumPy, etc.
Are you doing this to use Jupyter Notebook? You could also check out Google Colab. It’s an app based in the cloud and the format is similar to Jupyter. Colab is just an app that you add to your Drive. You can write and execute Python code in it. I use it to do all my DA & DS stuff. (just a suggestion).
[quote=“lisalisaj, post:4, topic:678012”]
Are you doing this to use Jupyter Notebook? You could also check out Google Colab.
[/quote]: Yes, exactly. Thanks a lot. For now I have to use Jupyter Notebook, because it is required by the course I’m doing right now. So I have to solve that issue anyway.
I’m still stuck. Tried to do everything that is said in the instructions and in your message. No result.
Then I uninstalled both Python 9 and Python 10, and then installed Python 10. Inspite of that, the Terminal sees Python version 3.9.12.
Still getting the same error trying to install NumPy.
The issue is with Python 3.10 and NumPy. It needs to be version 3.9 (or less). You don’t need to have the latest version of Python. I have 3.8.1 on my machine.
You need to make sure that you’re installing these Python libraries in the correct location on your Mac. ( where Python 3.9 lives)
Did you update pip? You need pip3.
What I’m saying is that you don’t necessarily need to use Jupyter notebook to do the data analyst or data scientist projects. You can use Colab (you can import CSV files just as you would in Jupyter).