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

Module not installing #2387

Open
Waqar885 opened this issue Jan 3, 2025 · 0 comments
Open

Module not installing #2387

Waqar885 opened this issue Jan 3, 2025 · 0 comments

Comments

@Waqar885
Copy link

Waqar885 commented Jan 3, 2025

(myenv1) D:\Waqar File\Programing\100 day coding\New projects>pip install chatterbot chatterbot_corpus
Collecting chatterbot
Using cached ChatterBot-1.0.5-py2.py3-none-any.whl.metadata (8.1 kB)
Collecting chatterbot_corpus
Using cached chatterbot_corpus-1.2.0-py2.py3-none-any.whl.metadata (5.0 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.21.1-py3-none-any.whl.metadata (7.8 kB)
Collecting pymongo<4.0,>=3.3 (from chatterbot)
Using cached pymongo-3.13.0-cp38-cp38-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
╰─> [54 lines of output]
Collecting setuptools
Using cached setuptools-75.3.0-py3-none-any.whl.metadata (6.9 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-cp38-cp38-win_amd64.whl.metadata (3.2 kB)
Collecting cymem<2.1.0,>=2.0.2
Using cached cymem-2.0.10.tar.gz (10 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 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'done'
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

    Getting requirements to build wheel did not run successfully.
    exit code: 1

    [17 lines of output]
    Traceback (most recent call last):
      File "D:\Waqar File\Programing\100 day coding\New projects\myenv1\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
        main()
      File "D:\Waqar File\Programing\100 day coding\New projects\myenv1\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
        json_out['return_val'] = hook(**hook_input['kwargs'])
      File "D:\Waqar File\Programing\100 day coding\New projects\myenv1\Lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 118, in get_requires_for_build_wheel
        return hook(config_settings)
      File "C:\Users\Hassan Raza\AppData\Local\Temp\pip-build-env-fauyb28m\overlay\Lib\site-packages\setuptools\build_meta.py", line 333, in get_requires_for_build_wheel
        return self._get_build_requires(config_settings, requirements=[])
      File "C:\Users\Hassan Raza\AppData\Local\Temp\pip-build-env-fauyb28m\overlay\Lib\site-packages\setuptools\build_meta.py", line 303, in _get_build_requires
        self.run_setup()
      File "C:\Users\Hassan Raza\AppData\Local\Temp\pip-build-env-fauyb28m\overlay\Lib\site-packages\setuptools\build_meta.py", line 521, in run_setup
        super().run_setup(setup_script=setup_script)
      File "C:\Users\Hassan Raza\AppData\Local\Temp\pip-build-env-fauyb28m\overlay\Lib\site-packages\setuptools\build_meta.py", line 319, in run_setup
        exec(code, locals())
      File "<string>", line 9, in <module>
    ImportError: cannot import name 'msvccompiler' from 'distutils' (C:\Users\Hassan Raza\AppData\Local\Temp\pip-build-env-fauyb28m\overlay\Lib\site-packages\setuptools\_distutils\__init__.py)
    [end of output]

    note: This error originates from a subprocess, and is likely not a problem with pip.
  error: subprocess-exited-with-error

  Getting requirements to build wheel 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.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error

× pip subprocess to install build dependencies did not run successfully.
│ exit code: 1
╰─> See above for output.

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

1 participant