Installation progress could be optimzed. (Cmake error during installation) #576
Labels
enhancement
New feature or request
environment
related to third-party dependency, DJ-pypi, DJ-docker, etc.
Search before continuing 先搜索,再继续
Description 描述
When I run the following command to install data-juicer, I encounter a CMake error. This happens on multiple machines.
I attempted to diagnose the issue and found that the problem seems to be that the installation of data-juicer depends on
samplerate
, and the compilation failure of samplerate caused the error. After some experiments, I discovered a solution:Before installing data-juicer, first install samplerate as follows:
pip -q install git+https://github.com/tuxu/python-samplerate.git@fix_cmake_dep
to install a version of samplerate from another branch.After that, data-juicer could be successfully installed.
Although this issue may not occur on all devices, considering the potential future impact of this platform, it might be necessary to optimize the installation steps or add some special notes in certain places. If I can find out where to add these notes, I would be happy to open a PR to help improve the documentation.
Use case 使用场景
No response
Additional 额外信息
No response
Are you willing to submit a PR for this feature? 您是否乐意为此功能提交一个 PR?
The text was updated successfully, but these errors were encountered: