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

When I put the command "pip install -r requirements.txt" I got this error: #4

Open
jayshreekant opened this issue Dec 5, 2024 · 1 comment

Comments

@jayshreekant
Copy link

While executing the command I am getting below error

  C:\Users\j\AppData\Local\Programs\Python\Python312\include\pyconfig.h(59): fatal error C1083: Cannot open include file: 'io.h': No such file or directory
  Compile failed: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.42.34433\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  creating Users\j\AppData\Local\Temp
  "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -I/usr/include/libxml2 "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" /TcC:\Users\j\AppData\Local\Temp\xmlXPathInit5wzjv4p3.c /FoUsers\j\AppData\Local\Temp\xmlXPathInit5wzjv4p3.obj
  xmlXPathInit5wzjv4p3.c
  C:\Users\j\AppData\Local\Temp\xmlXPathInit5wzjv4p3.c(1): fatal error C1083: Cannot open include file: 'libxml/xpath.h': No such file or directory
  *********************************************************************************
  Could not find function xmlCheckVersion in library libxml2. Is libxml2 installed?
  *********************************************************************************
  error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.42.34433\\bin\\HostX86\\x64\\cl.exe' failed with exit code 2
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for lxml
Failed to build lxml
ERROR: ERROR: Failed to build installable wheels for some pyproject.toml based projects (lxml)

C:\Users\j\Downloads\JDproxygenerator-main>python -m pip install --upgrade path/to/lxml.whl
WARNING: Requirement 'path/to/lxml.whl' looks like a filename, but the file does not exist
ERROR: lxml.whl is not a valid wheel filename.

C:\Users\j\Downloads\JDproxygenerator-main>python -m pip install --upgrade path/to/lxml.whl
WARNING: Requirement 'path/to/lxml.whl' looks like a filename, but the file does not exist
ERROR: lxml.whl is not a valid wheel filename.

Like with the earlier mentioned error.
i am in the right folder main

@masterofobzene
Copy link
Owner

Try doing this:

1- Download the zip with the script and unzip it on your downloads folder. You should end up with a folder named "JDproxygenerator-main".

2- open a CMD and copy this:
cd %UserProfile%\downloads\JDproxygenerator-main

3- now run this on that same CMD:
pip install -r requirements.txt

Check if you get any errors and report back

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

2 participants