(Dec-17-2022, 03:46 AM)FirstBornAlbratross Wrote: OK so after using "which python" and "python -c "import sys; print(sys.executable)"" the path is shown as:Now is path set to Miniconda which is fine,but you most know how to use it.
/opt/miniconda3/bin/python
Most activate a environment eg
conda activate base
if you not have make one.Most have
(base)
environment activated,then it will use pip
or conda that belong to Miniconda.Or make new environment as you see in link under
How to Manage Conda Environments on an Apple Silicon M1 Mac
Example is i use
(base)
environment.# See that now do pip point to miniconda3 (base) G:\div_code λ pip -V pip 21.3.1 from G:\miniconda3\lib\site-packages\pip (python 3.9) (base) G:\div_code λ conda -V conda 4.11.0 # Python point to miniconda3 (base) G:\div_code λ python -c "import sys; print(sys.executable)" G:\miniconda3\python.exe # Will install to this environment (base) G:\div_code λ pip install pygame Collecting pygame Downloading pygame-2.1.2-cp39-cp39-win_amd64.whl (8.4 MB) |████████████████████████████████| 8.4 MB 3.3 MB/s Installing collected packages: pygame Successfully installed pygame-2.1.2 # Start Spyder when enviroment is active (base) G:\div_code λ spyderIf you activate the conda environments then usually all will work,but if not activated it will use
pip
that now is set to a OS python version.You have installed Python and miniconda versions,but not all get mess together if not
activate environment
.