Skip to content

Trouble installing via pip on Windows #182

@livvy94

Description

@livvy94

Describe the bug
pip cannot successfully acquire py-cui

To Reproduce
run pip install py-cui in Powershell via the Windows Terminal

Screenshots

Collecting py-cui
  Using cached py_cui-0.1.6.tar.gz (63 kB)
  Preparing metadata (setup.py) ... done
  Using cached py_cui-0.1.5.tar.gz (62 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "C:\Users\vince\AppData\Local\Temp\pip-install-d64ccod3\py-cui_31f73aff77c54f45baaaa1c68fc51e51\setup.py", line 8, in <module>
          with open('requirements.txt', 'r') as req_fp:
      FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
      [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.

Environment:

  • OS: Windows 11
  • Terminal: PowerShell in Windows Terminal
  • Version: 1.12.10983.0
    • pip version is pip 22.3.1 from C:\msys64\mingw64\lib\python3.10\site-packages\pip (python 3.10)
    • python version is 3.10.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions