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

pip install -r requirements.txt error #610

Open
3 of 4 tasks
ItsPanny14 opened this issue May 14, 2024 · 0 comments
Open
3 of 4 tasks

pip install -r requirements.txt error #610

ItsPanny14 opened this issue May 14, 2024 · 0 comments

Comments

@ItsPanny14
Copy link

ItsPanny14 commented May 14, 2024

Is there an existing issue for this?

  • I have searched the existing issues

I'm submitting a ...

Description

pip install -r requirements.txt error
basically when i try to install everything works but requirements install fail and give me error everytime
please help me resolve this error

Environment

- OS : Windows 10
- Python : python 3.11
- Script version : v1.8.0

config.json

C:\Users\Marius\YouTube-Viewer>pip install -r requirements.txt
Collecting async-generator==1.10 (from -r requirements.txt (line 1))
  Using cached async_generator-1.10-py3-none-any.whl.metadata (4.9 kB)
Collecting attrs==21.4.0 (from -r requirements.txt (line 2))
  Using cached attrs-21.4.0-py2.py3-none-any.whl.metadata (9.8 kB)
Collecting beautifulsoup4==4.11.1 (from -r requirements.txt (line 3))
  Using cached beautifulsoup4-4.11.1-py3-none-any.whl.metadata (3.5 kB)
Collecting bs4==0.0.1 (from -r requirements.txt (line 4))
  Using cached bs4-0.0.1.tar.gz (1.1 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [21 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 14, in <module>
        File "C:\Users\Marius\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools\__init__.py", line 248, in <module>
          monkey.patch_all()
        File "C:\Users\Marius\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools\monkey.py", line 99, in patch_all
          patch_for_msvc_specialized_compiler()
        File "C:\Users\Marius\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools\monkey.py", line 169, in patch_for_msvc_specialized_compiler
          patch_func(*msvc14('_get_vc_env'))
                      ^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Marius\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools\monkey.py", line 149, in patch_params
          mod = import_module(mod_name)
                ^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\importlib\__init__.py", line 126, in import_module
          return _bootstrap._gcd_import(name[level:], package, level)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "C:\Users\Marius\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\setuptools\_distutils\_msvccompiler.py", line 20, in <module>
          import unittest.mock
        File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.2544.0_x64__qbz5n2kfra8p0\Lib\unittest\__init__.py", line 61, in <module>
          from .case import (addModuleCleanup, TestCase, FunctionTestCase, SkipTest, skip,
      SyntaxError: source code string cannot contain null bytes
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
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.
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