Constrained-Text-Generation-Studio icon indicating copy to clipboard operation
Constrained-Text-Generation-Studio copied to clipboard

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

Open microcoder-py opened this issue 1 year ago • 1 comments

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

microcoder-py avatar Jun 12 '23 18:06 microcoder-py

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.

Hellisotherpeople avatar Jun 14 '23 16:06 Hellisotherpeople