-
Notifications
You must be signed in to change notification settings - Fork 9
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
installing the libtwinsvm from source on windows #6
Comments
I got the same issue. Could anyone guide how to solve this? |
i copied the numpy and cython installed files into the same repositary where the library was installed and it worked. |
@samitnissrine I tried to copy the numpy and cython installed files into the same folder where the library was installed. Still It's not working. Getting the same error which is mentioned above. Can anyone please help on this? |
Please install
Then, try to install LibTwinSVM from source:
See the installation guide here. |
@mir-am Thanks for the quick response. I tried to install the library after installing the dependencies itself. still getting the same error. Attached the screenshot for reference. Please let me know what I am missing here. |
@Hariniinduri. Thanks for reporting the issue. I need to test the installation on my machine to see if I can reproduce the issue on Windows. I will keep you updated about a possible solution here by the end of the week. |
after installing all the requirements i get this error that says that both numpy library and cython are not found. any idea to fix the issue????
PS C:\Users\Zbook> pip install LIBTwinSVM
Collecting LIBTwinSVM
Using cached LIBTwinSVM-0.3.0.tar.gz (5.2 MB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error
× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
Traceback (most recent call last):
File "", line 116, in get_numpy_status
ModuleNotFoundError: No module named 'numpy'
Traceback (most recent call last):
File "", line 142, in get_cython_status
ModuleNotFoundError: No module named 'cython'
Traceback (most recent call last):
File "C:\Users\Zbook\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users\Zbook\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Zbook\AppData\Local\Programs\Python\Python311\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Zbook\AppData\Local\Temp\pip-build-env-8u8l0hbp\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Zbook\AppData\Local\Temp\pip-build-env-8u8l0hbp\overlay\Lib\site-packages\setuptools\build_meta.py", line 323, in _get_build_requires
self.run_setup()
File "C:\Users\Zbook\AppData\Local\Temp\pip-build-env-8u8l0hbp\overlay\Lib\site-packages\setuptools\build_meta.py", line 488, in run_setup
self).run_setup(setup_script=setup_script)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Zbook\AppData\Local\Temp\pip-build-env-8u8l0hbp\overlay\Lib\site-packages\setuptools\build_meta.py", line 338, in run_setup
exec(code, locals())
File "", line 322, in
File "", line 256, in setup_package
File "", line 177, in check_install_updated
ImportError: Numerical Python (NumPy) is not installed. LIBTwinSVM requires NumPy >= 1.14.0.
Please check out the installation guide of the LIBTwinSVM:
https://libtwinsvm.readthedocs.io/en/latest/
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error
The text was updated successfully, but these errors were encountered: