-
Notifications
You must be signed in to change notification settings - Fork 4
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
pip install external/dv-toolkit/. #3
Comments
|
Hi, @wwj-53! I have checked your error message and assume that you are missing zstd. sudo apt-get install libzstd-dev PS: If this doesn't work, please refer to the following steps to self-testing and send me the error message:
If you have missing dependencies, errors will be reported during the compilation process. |
Thinks!But I confirm that libzstd-dev has been installed, and according to your instructions, I reported the following error on cmake:
|
I guess there may be a problem with the following paragraph, but I'm not sure and I don't know how to modify it FIND_PACKAGE(zstd QUIET)
IF(NOT zstd_FOUND)
# Search for external libraries with pkg-config.
INCLUDE(FindPkgConfig)
PKG_CHECK_MODULES(libzstd IMPORTED_TARGET libzstd)
IF(NOT libzstd_FOUND)
# Fall back to library path.
FIND_LIBRARY(LIBZSTD zstd)
IF(${LIBZSTD} STREQUAL "LIBZSTD-NOTFOUND")
MESSAGE(FATAL_ERROR "zstd not found, required for I/O compression.")
ENDIF()
ENDIF()
ENDIF() |
Coincidentally, I also encountered this error before, which is an issue in dv:: processing and it seems that there is currently no good solution. I guess you are using ubuntu 22.04, so using the Ubuntu 20.04 can resolve this compile issue. You can check this links to view related discussions. However, if it is inconvenient for you to switch to Ubuntu 20.04, let's try another possible solution by installing zstd manually.
Then try to enter |
Thank you very much for your timely response. However, my system is ubuntu20.04, and after implementing your suggestion, the problem has not been resolved and the same error is still reported. |
Hi, I think I just found two possible resolutions! Solution 1: use pip install
Solution 2: set environment variable
|
Still can't do it.So sad |
The good news is, I finally found a solution a few months later. The steps are as follows:
|
Thank you very much for your patience and help. The advice you provided has indeed solved my problem. You are a very patient person, thank you again |
I'm not sure. Obviously I have the setup.py file, so I don't know why I'm reporting this error. If it's convenient, please help me. |
I see your solution, but unfortunately I don't use Ubuntu and can't use the sudo command. |
Hello, @hjvupnonon! I noticed that you didn't run |
Maybe your environment has not installed setuptools yet [1]. Try the following command and then reinstall to see if it works: pip install setuptools wheel |
Hi, @hjvupnonon! Please try to pull the latest commit. It should resolve the issue you've been experiencing. Best of luck! |
Building wheels for collected packages: dv-toolkit
Building wheel for dv-toolkit (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [182 lines of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for dv-toolkit
Running setup.py clean for dv-toolkit
Failed to build dv-toolkit
ERROR: Could not build wheels for dv-toolkit, which is required to install pyproject.toml-based projects
The text was updated successfully, but these errors were encountered: