I ran the following in a new code cell:
!pip install -q condacolab
import condacolab
condacolab.install()
After the kernel restarted, I ran the following in another new code cell:
!mamba install psi4 -c conda-forge
I got the following error message:
Your pinning does not match what's currently installed. Please remove the pin and fix your installation
Pin: python=3.12
Currently installed: conda-forge/linux-64::python==3.11.11=h9e4cc4f_1_cpython
So, I looked for solutions online:
!conda update -n base -c conda-forge conda
And I received the following:
Channels:
- conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: done
==> WARNING: A newer version of conda exists. <==
current version: 24.11.3
latest version: 26.5.0
Please update conda by running
$ conda update -n base -c conda-forge conda
# All requested packages already installed.
Didn’t I just run it?
!conda update -n base -c conda-forge conda
If I verify by:
import psi4
print(psi4.__version__)
I get the following message:
ModuleNotFoundError Traceback (most recent call last)
[/tmp/ipykernel_6228/3970721313.py](https://localhost:8080/#) in <cell line: 0>() ----> 1 import psi4 2 print(psi4.__version__)
ModuleNotFoundError: No module named 'psi4'
I tried overriding it:
!mamba install psi4 -c conda-forge --no-pin
I got the SAME error message:
Your pinning does not match what's currently installed. Please remove the pin and fix your installation
Pin: python=3.12
Currently installed: conda-forge/linux-64::python==3.11.11=h9e4cc4f_1_cpython
So, I am stuck now.
I am using Windows 11 Home. So, if you have any suggestions about any file/directory modifications, please suggest the full path with instructions.