in conda(self, line)
[/usr/local/lib/python3.9/dist-packages/IPython/core/magics/packaging.py](https://localhost:8080/#) in conda(self, line)
84 """
85 if not _is_conda_environment():
---> 86 raise ValueError("The python kernel does not appear to be a conda environment. "
87 "Please use ``%pip install`` instead.")
88
ValueError: The python kernel does not appear to be a conda environment. Please use ``%pip install`` instead.
The code that I run
%pip install -q torch transformers sentence_transformers
%conda install -qy pytorch faiss-gpu
The following is the error I get when running the first part of the collab
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.0/7.0 MB 46.5 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 86.0/86.0 kB 11.1 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 200.1/200.1 kB 23.6 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.8/7.8 MB 77.3 MB/s eta 0:00:00 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.3/1.3 MB 76.3 MB/s eta 0:00:00 Building wheel for sentence_transformers (setup.py) ... done
ValueError Traceback (most recent call last)
2 frames