plex_debrid icon indicating copy to clipboard operation
plex_debrid copied to clipboard

Error Visual Studio c++ 14

Open coccobellof5 opened this issue 2 years ago • 2 comments

pip install -r requirements.txt
Collecting bs4==0.0.1 (from -r requirements.txt (line 1))
  Using cached bs4-0.0.1-py3-none-any.whl
Collecting regex==2022.9.13 (from -r requirements.txt (line 2))
  Using cached regex-2022.9.13.tar.gz (391 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting requests==2.28.1 (from -r requirements.txt (line 3))
  Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting six==1.16.0 (from -r requirements.txt (line 4))
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting beautifulsoup4 (from bs4==0.0.1->-r requirements.txt (line 1))
  Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Collecting charset-normalizer<3,>=2 (from requests==2.28.1->-r requirements.txt (line 3))
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Requirement already satisfied: idna<4,>=2.5 in c:\users\administrator\appdata\local\programs\python\python312\lib\site-packages (from requests==2.28.1->-r requirements.txt (line 3)) (3.4)
Collecting urllib3<1.27,>=1.21.1 (from requests==2.28.1->-r requirements.txt (line 3))
  Using cached urllib3-1.26.18-py2.py3-none-any.whl.metadata (48 kB)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\administrator\appdata\local\programs\python\python312\lib\site-packages (from requests==2.28.1->-r requirements.txt (line 3)) (2023.7.22)
Collecting soupsieve>1.2 (from beautifulsoup4->bs4==0.0.1->-r requirements.txt (line 1))
  Using cached soupsieve-2.5-py3-none-any.whl.metadata (4.7 kB)
Using cached urllib3-1.26.18-py2.py3-none-any.whl (143 kB)
Using cached soupsieve-2.5-py3-none-any.whl (36 kB)
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-312
      creating build\lib.win-amd64-cpython-312\regex
      copying regex_3\__init__.py -> build\lib.win-amd64-cpython-312\regex
      copying regex_3\regex.py -> build\lib.win-amd64-cpython-312\regex
      copying regex_3\_regex_core.py -> build\lib.win-amd64-cpython-312\regex
      copying regex_3\test_regex.py -> build\lib.win-amd64-cpython-312\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 projects

Hi, I have to run this program on a server, I don't have Visual Studio and the installation of this "useless" program takes up over 5GB and the space is very limited for those like me who use a VPS. Can you avoid using this? Thank you

coccobellof5 avatar Nov 20 '23 16:11 coccobellof5

This is a python error, not related to plex_debrid.

dreulavelle avatar Jan 19 '24 14:01 dreulavelle

pip install -r requirements.txt
Collecting bs4==0.0.1 (from -r requirements.txt (line 1))
  Using cached bs4-0.0.1-py3-none-any.whl
Collecting regex==2022.9.13 (from -r requirements.txt (line 2))
  Using cached regex-2022.9.13.tar.gz (391 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting requests==2.28.1 (from -r requirements.txt (line 3))
  Using cached requests-2.28.1-py3-none-any.whl (62 kB)
Collecting six==1.16.0 (from -r requirements.txt (line 4))
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting beautifulsoup4 (from bs4==0.0.1->-r requirements.txt (line 1))
  Using cached beautifulsoup4-4.12.2-py3-none-any.whl (142 kB)
Collecting charset-normalizer<3,>=2 (from requests==2.28.1->-r requirements.txt (line 3))
  Using cached charset_normalizer-2.1.1-py3-none-any.whl (39 kB)
Requirement already satisfied: idna<4,>=2.5 in c:\users\administrator\appdata\local\programs\python\python312\lib\site-packages (from requests==2.28.1->-r requirements.txt (line 3)) (3.4)
Collecting urllib3<1.27,>=1.21.1 (from requests==2.28.1->-r requirements.txt (line 3))
  Using cached urllib3-1.26.18-py2.py3-none-any.whl.metadata (48 kB)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\administrator\appdata\local\programs\python\python312\lib\site-packages (from requests==2.28.1->-r requirements.txt (line 3)) (2023.7.22)
Collecting soupsieve>1.2 (from beautifulsoup4->bs4==0.0.1->-r requirements.txt (line 1))
  Using cached soupsieve-2.5-py3-none-any.whl.metadata (4.7 kB)
Using cached urllib3-1.26.18-py2.py3-none-any.whl (143 kB)
Using cached soupsieve-2.5-py3-none-any.whl (36 kB)
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-312
      creating build\lib.win-amd64-cpython-312\regex
      copying regex_3\__init__.py -> build\lib.win-amd64-cpython-312\regex
      copying regex_3\regex.py -> build\lib.win-amd64-cpython-312\regex
      copying regex_3\_regex_core.py -> build\lib.win-amd64-cpython-312\regex
      copying regex_3\test_regex.py -> build\lib.win-amd64-cpython-312\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 projects

Hi, I have to run this program on a server, I don't have Visual Studio and the installation of this "useless" program takes up over 5GB and the space is very limited for those like me who use a VPS. Can you avoid using this? Thank you

I have the same problem. Did you found a way to fix it ?

jresende7 avatar Feb 05 '24 16:02 jresende7