Hellisotherpeople / Constrained-Text-Generation-Studio

Code repo for "Most Language Models can be Poets too: An AI Writing Assistant and Constrained Text Generation Studio" at the (CAI2) workshop, jointly held at (COLING 2022)
MIT License
207 stars 11 forks source link

Dependence resolution for pandas when using pip install -r requirements.txt #1

Open microcoder-py opened 1 year ago

microcoder-py commented 1 year ago

The pandas is to be loaded with version >3, <=0.25. It is causing a recursive reinstall of each version

Collecting pandas<3,>=0.25 (from streamlit->-r requirements.txt (line 11))
  Using cached pandas-2.0.2-cp311-cp311-win_amd64.whl (10.6 MB)
  Using cached pandas-2.0.0-cp311-cp311-win_amd64.whl (11.2 MB)
  Using cached pandas-1.5.3-cp311-cp311-win_amd64.whl (10.3 MB)
  Using cached pandas-1.5.2-cp311-cp311-win_amd64.whl (10.3 MB)
  Using cached pandas-1.5.1-cp311-cp311-win_amd64.whl (10.3 MB)
  Using cached pandas-1.5.0-cp311-cp311-win_amd64.whl (10.3 MB)
  Using cached pandas-1.4.4.tar.gz (4.9 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
INFO: pip is looking at multiple versions of pandas to determine which version is compatible with other requirements. This could take a while.
  Using cached pandas-1.4.3.tar.gz (4.9 MB)
  Installing build dependencies ... done
Hellisotherpeople commented 1 year ago

I think this is due to me using an older version of numpy, which I think was forced due to me for awhile using this old library called "Abydos" for some of my phonetic filters.

Let me test updating the dependencies again to eliminate this. Also, I don't think we actually need streamlit for CTGS (but you do for Gadsby), so I will remove that too.