Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install not working #1

Open
splevine opened this issue Dec 9, 2021 · 5 comments
Open

Install not working #1

splevine opened this issue Dec 9, 2021 · 5 comments

Comments

@splevine
Copy link

splevine commented Dec 9, 2021

!pip install chatintents
leads to

ERROR: Could not find a version that satisfies the requirement chatintents (from versions: none)
ERROR: No matching distribution found for chatintents

I'm using google colab

@splevine splevine changed the title Install not works Install not working Dec 9, 2021
@splevine
Copy link
Author

splevine commented Dec 9, 2021

Additionally
!pip install git+https://github.com/dborrelli/chat.git
leads to

Collecting git+https://github.com/dborrelli/chat.git
  Cloning https://github.com/dborrelli/chat.git to /tmp/pip-req-build-b02famks
  Running command git clone -q https://github.com/dborrelli/chat.git /tmp/pip-req-build-b02famks
  fatal: could not read Username for 'https://github.com': No such device or address
WARNING: Discarding git+https://github.com/dborrelli/chat.git. Command errored out with exit status 128: git clone -q https://github.com/dborrelli/chat.git /tmp/pip-req-build-b02famks Check the logs for full command output.
ERROR: Command errored out with exit status 128: git clone -q https://github.com/dborrelli/chat.git /tmp/pip-req-build-b02famks Check the logs for full command output.

@dborrelli
Copy link
Owner

Thanks for raising that issue. I suspect that it might be an issue with the Python version that Colab uses. Can you check what version you're using? Currently, the chatintents package requires Python >= 3.9. I think I can easily extend it to earlier versions, but I haven't had time yet to do the compatibility tests for everything.

@ssime-git
Copy link

Hello just tried to install chatintends and it fails even after upgrading Python and PIP versions on Colab.

I get the following error:

Collecting chatintents
  Using cached chatintents-0.0.1-py3-none-any.whl (9.8 kB)
Collecting pandas>=1.2.0
  Downloading pandas-1.4.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.7 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.7/11.7 MB 55.7 MB/s eta 0:00:00
Collecting ipywidgets>=7.6.3
  Downloading ipywidgets-7.7.0-py2.py3-none-any.whl (123 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 123.4/123.4 KB 14.4 MB/s eta 0:00:00
Collecting matplotlib>=3.4.2
  Downloading matplotlib-3.5.2-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (11.2 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 11.2/11.2 MB 67.6 MB/s eta 0:00:00
Collecting numpy>=1.19.2
  Downloading numpy-1.22.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (16.8 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 16.8/16.8 MB 51.7 MB/s eta 0:00:00
Collecting hdbscan>=0.8.27
  Using cached hdbscan-0.8.28.tar.gz (5.2 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting hyperopt>=0.2.5
  Using cached hyperopt-0.2.7-py2.py3-none-any.whl (1.6 MB)
Collecting umap-learn>=0.5.1
  Using cached umap-learn-0.5.3.tar.gz (88 kB)
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> See above for output.
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  Preparing metadata (setup.py) ... error
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

I used the code below:

!pip3 install chatintents
# And
! pip3 install git+https://github.com/dborrelli/chat.git

@sm185597
Copy link

sm185597 commented Dec 7, 2022

Any update on this issue or a work-around? I am facing the same error as @splevine.

@splevine
Copy link
Author

splevine commented Dec 8, 2022

I eventually was able to get this running by taking the functions out of the library and running separately.

My recommendation is to check out BERTopic - https://maartengr.github.io/BERTopic/index.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants