codekisser / discord-data-analyzer

Using machine learning and seaborn to visualize discord data
GNU General Public License v3.0
61 stars 6 forks source link

Search Messages Collab does not get passed the first step #2

Open SpacyRainbow opened 1 year ago

SpacyRainbow commented 1 year ago

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)

in <cell line: 2>() 1 get_ipython().run_line_magic('pip', 'install -q torch transformers sentence_transformers') ----> 2 get_ipython().run_line_magic('conda', 'install -qy pytorch faiss-gpu')

2 frames

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
Iliannnn commented 1 year ago

I have the same