DemonKingSwarn / flix-cli

A high efficient, powerful and fast movie scraper.
GNU General Public License v3.0
127 stars 9 forks source link

error installing #12

Closed bachig26 closed 1 year ago

bachig26 commented 1 year ago

Metadata (please complete the following information) Version: 1.5.8 OS: Windows 10

pip install flix-cli
Collecting flix-cli
  Using cached flix-cli-1.5.8.tar.gz (19 kB)
  Preparing metadata (setup.py) ... done
Collecting httpx==0.23.0
  Using cached httpx-0.23.0-py3-none-any.whl (84 kB)
Requirement already satisfied: pycryptodomex==3.14.1 in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from flix-cli) (3.14.1)
Collecting beautifulsoup4==4.10.0
  Using cached beautifulsoup4-4.10.0-py3-none-any.whl (97 kB)
Collecting regex==2022.3.15
  Using cached regex-2022.3.15.tar.gz (383 kB)
  Preparing metadata (setup.py) ... done
Collecting colorama==0.4.5
  Using cached colorama-0.4.5-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: soupsieve>1.2 in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from beautifulsoup4==4.10.0->flix-cli) (2.3.2.post1)
Requirement already satisfied: certifi in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from httpx==0.23.0->flix-cli) (2022.12.7)
Requirement already satisfied: sniffio in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from httpx==0.23.0->flix-cli) (1.3.0)
Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from httpx==0.23.0->flix-cli) (1.5.0)
Collecting httpcore<0.16.0,>=0.15.0
  Using cached httpcore-0.15.0-py3-none-any.whl (68 kB)
Collecting h11<0.13,>=0.11
  Using cached h11-0.12.0-py3-none-any.whl (54 kB)
Requirement already satisfied: anyio==3.* in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from httpcore<0.16.0,>=0.15.0->httpx==0.23.0->flix-cli) (3.6.2)
Requirement already satisfied: idna>=2.8 in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from anyio==3.*->httpcore<0.16.0,>=0.15.0->httpx==0.23.0->flix-cli) (3.4)
Building wheels for collected packages: flix-cli, regex
  Building wheel for flix-cli (setup.py) ... done
  Created wheel for flix-cli: filename=flix_cli-1.5.8-py3-none-any.whl size=17933 sha256=8055d7aa147ecd91378a517589bcad7557a4f57d22c1cdbf68b6a5f46f1fee54
  Stored in directory: c:\users\user\appdata\local\pip\cache\wheels\c3\2e\74\fce1dd1df661677a38b8681012d365eeb771124265069cbe54
  Building wheel for regex (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py bdist_wheel did not run successfully.
  │ exit code: 1
  ╰─> [13 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-311
      creating build\lib.win-amd64-cpython-311\regex
      copying regex_3\__init__.py -> build\lib.win-amd64-cpython-311\regex
      copying regex_3\regex.py -> build\lib.win-amd64-cpython-311\regex
      copying regex_3\_regex_core.py -> build\lib.win-amd64-cpython-311\regex
      copying regex_3\test_regex.py -> build\lib.win-amd64-cpython-311\regex
      running build_ext
      building 'regex._regex' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for regex
  Running setup.py clean for regex
Successfully built flix-cli
Failed to build regex
Installing collected packages: regex, h11, colorama, beautifulsoup4, httpcore, httpx, flix-cli
  Attempting uninstall: regex
    Found existing installation: regex 2022.10.31
    Uninstalling regex-2022.10.31:
      Successfully uninstalled regex-2022.10.31
  Running setup.py install for regex ... error
  error: subprocess-exited-with-error

  × Running setup.py install for regex did not run successfully.
  │ exit code: 1
  ╰─> [15 lines of output]
      running install
      C:\Users\USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
        warnings.warn(
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-311
      creating build\lib.win-amd64-cpython-311\regex
      copying regex_3\__init__.py -> build\lib.win-amd64-cpython-311\regex
      copying regex_3\regex.py -> build\lib.win-amd64-cpython-311\regex
      copying regex_3\_regex_core.py -> build\lib.win-amd64-cpython-311\regex
      copying regex_3\test_regex.py -> build\lib.win-amd64-cpython-311\regex
      running build_ext
      building 'regex._regex' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  Rolling back uninstall of regex
  Moving to c:\users\user\appdata\local\programs\python\python311\lib\site-packages\regex-2022.10.31.dist-info\
   from C:\Users\USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\~egex-2022.10.31.dist-info
  Moving to c:\users\user\appdata\local\programs\python\python311\lib\site-packages\regex\
   from C:\Users\USER\AppData\Local\Programs\Python\Python311\Lib\site-packages\~egex
error: legacy-install-failure

× Encountered error while trying to install package.
╰─> regex

note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
pip install flix-cli --use-pep517
Collecting flix-cli
  Using cached flix_cli-1.5.8-py3-none-any.whl
Collecting httpx==0.23.0
  Using cached httpx-0.23.0-py3-none-any.whl (84 kB)
Requirement already satisfied: pycryptodomex==3.14.1 in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from flix-cli) (3.14.1)
Collecting beautifulsoup4==4.10.0
  Using cached beautifulsoup4-4.10.0-py3-none-any.whl (97 kB)
Collecting regex==2022.3.15
  Using cached regex-2022.3.15.tar.gz (383 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting colorama==0.4.5
  Using cached colorama-0.4.5-py2.py3-none-any.whl (16 kB)
Requirement already satisfied: soupsieve>1.2 in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from beautifulsoup4==4.10.0->flix-cli) (2.3.2.post1)
Requirement already satisfied: certifi in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from httpx==0.23.0->flix-cli) (2022.12.7)
Requirement already satisfied: sniffio in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from httpx==0.23.0->flix-cli) (1.3.0)
Requirement already satisfied: rfc3986[idna2008]<2,>=1.3 in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from httpx==0.23.0->flix-cli) (1.5.0)
Collecting httpcore<0.16.0,>=0.15.0
  Using cached httpcore-0.15.0-py3-none-any.whl (68 kB)
Collecting h11<0.13,>=0.11
  Using cached h11-0.12.0-py3-none-any.whl (54 kB)
Requirement already satisfied: anyio==3.* in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from httpcore<0.16.0,>=0.15.0->httpx==0.23.0->flix-cli) (3.6.2)
Requirement already satisfied: idna>=2.8 in c:\users\user\appdata\local\programs\python\python311\lib\site-packages (from anyio==3.*->httpcore<0.16.0,>=0.15.0->httpx==0.23.0->flix-cli) (3.4)
Building wheels for collected packages: regex
  Building wheel for regex (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for regex (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [13 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build\lib.win-amd64-cpython-311
      creating build\lib.win-amd64-cpython-311\regex
      copying regex_3\__init__.py -> build\lib.win-amd64-cpython-311\regex
      copying regex_3\regex.py -> build\lib.win-amd64-cpython-311\regex
      copying regex_3\_regex_core.py -> build\lib.win-amd64-cpython-311\regex
      copying regex_3\test_regex.py -> build\lib.win-amd64-cpython-311\regex
      running build_ext
      building 'regex._regex' extension
      error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for regex
Failed to build regex
ERROR: Could not build wheels for regex, which is required to install pyproject.toml-based project
bachig26 commented 1 year ago

@DemonKingSwarn how to solve this?

DemonKingSwarn commented 1 year ago

i was alr working on it

bachig26 commented 1 year ago

i was alr working on it

awesome 👍

DemonKingSwarn commented 1 year ago

fixed it