-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
Installation Fails: cannot import name 'msvccompiler' from 'distutils #2384
Comments
This error might be related to |
Edit: I may have spoken too confidently. Even making allowances for the version issues, I'm still running into installation failures with Hi, @gunthercox! I'm evaluating the package for an experiment, and I also ran into some of the install issues. I think what's going on is that because you don't have a Annoyingly, you won't encounter the problem if you attempt a local, source-based install following a I think the simplest fix is just to add a minimal For simplicity's sake, here's that minimal
You may also want to make one additional change in Line 72 in 2638e42
That version spec string will, I believe, restrict to any Python from 3.4.0 on the low end, to 3.8.0 on the high end--so it includes the
Thanks for putting up the package and maintaining it, I know it's a ton of work. |
pip install chatterbot
Collecting chatterbot
Using cached ChatterBot-1.0.5-py2.py3-none-any.whl.metadata (8.1 kB)
Collecting mathparse<0.2,>=0.1 (from chatterbot)
Using cached mathparse-0.1.2-py3-none-any.whl.metadata (776 bytes)
Collecting nltk<4.0,>=3.2 (from chatterbot)
Using cached nltk-3.9.1-py3-none-any.whl.metadata (2.9 kB)
Collecting pint>=0.8.1 (from chatterbot)
Using cached Pint-0.24.4-py3-none-any.whl.metadata (8.5 kB)
Collecting pymongo<4.0,>=3.3 (from chatterbot)
Using cached pymongo-3.13.0-cp311-cp311-win_amd64.whl.metadata (9.8 kB)
Collecting python-dateutil<2.8,>=2.7 (from chatterbot)
Using cached python_dateutil-2.7.5-py2.py3-none-any.whl.metadata (7.5 kB)
Collecting pyyaml<5.2,>=5.1 (from chatterbot)
Using cached PyYAML-5.1.2.tar.gz (265 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Collecting spacy<2.2,>=2.1 (from chatterbot)
Using cached spacy-2.1.9.tar.gz (30.7 MB)
Installing build dependencies ... error
error: subprocess-exited-with-error
× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> [51 lines of output]
Collecting setuptools
Using cached setuptools-75.6.0-py3-none-any.whl.metadata (6.7 kB)
Collecting wheel<0.33.0,>0.32.0
Using cached wheel-0.32.3-py2.py3-none-any.whl.metadata (2.1 kB)
Collecting Cython
Using cached Cython-3.0.11-cp311-cp311-win_amd64.whl.metadata (3.2 kB)
Collecting cymem<2.1.0,>=2.0.2
Using cached cymem-2.0.8-cp311-cp311-win_amd64.whl.metadata (8.6 kB)
Collecting preshed<2.1.0,>=2.0.1
Using cached preshed-2.0.1.tar.gz (113 kB)
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'error'
error: subprocess-exited-with-error
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
The text was updated successfully, but these errors were encountered: