python - Can't run pytest with a `FileNotFoundError: [Errno 2] No such file or directory: 'tmppip-build-env-3fag
- c - Solaris 10 make Error code 1 Fatal Error when trying to build python 2.7.16 - Stack Overflow 推荐度:
- javascript - How to dismiss a phonegap notification programmatically - Stack Overflow 推荐度:
- javascript - Get the JSON objects that are not present in another array - Stack Overflow 推荐度:
- javascript - VS 2015 Angular 2 import modules cannot be resolved - Stack Overflow 推荐度:
- javascript - Type 'undefined' is not assignable to type 'menuItemProps[]' - Stack Overflow 推荐度:
- 相关推荐
I have tried many things like upgrading pip, pytest etc etc but nothing works. I have a fork of scikit-learn
and working on some new functionality and would like to run all the unit tests but I can't:
(myenv) xxx@Thor:~/code/scikit-learn$ pytest
ImportError while loading conftest '/home/xxx/code/scikit-learn/sklearn/conftest.py'.
/opt/dev/myenv/lib/python3.9/site-packages/_scikit_learn_editable_loader.py:311: in find_spec
tree = self._rebuild()
/opt/dev/myenv/lib/python3.9/site-packages/_scikit_learn_editable_loader.py:345: in _rebuild
subprocess.run(self._build_cmd, cwd=self._build_path, env=env, stdout=subprocess.DEVNULL, check=True)
/opt/dev/miniconda3/lib/python3.9/subprocess.py:505: in run
with Popen(*popenargs, **kwargs) as process:
/opt/dev/miniconda3/lib/python3.9/subprocess.py:951: in __init__
self._execute_child(args, executable, preexec_fn, close_fds,
/opt/dev/miniconda3/lib/python3.9/subprocess.py:1821: in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
E FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-3fagdb36/normal/bin/ninja'
I have attempted the following (existing SO answers) but none work:
sudo apt update
sudo apt install -y ninja-build
and then also:
CMAKE_ARGS="-DGGML_CUDA=on -DLLAVA_BUILD=off" FORCE_CMAKE=1 pip install llama-cpp-python --no-cache-dir
最新文章
- 百度推出智能云云手机
- 又是一场数码盛宴 台北电脑展展品预热
- The uid generator is giving negative value(-8201645565344219221) and using this implementation DefaultUidGenerator.java to gener
- html - Audio tag working in Chrome but not Safari? - Stack Overflow
- performance testing - How to retrieve the dynamic value from the JMeter - Stack Overflow
- python - How to sub-class LangGraph's MessageState or use Pydantic for channel separation - Stack Overflow
- javascript - The side menu bar(sticky) is overflowing unless I scroll - Stack Overflow
- reactjs - Flatlist scrolling freeze - Stack Overflow
- Any way to open an SSIS project with a newer version of Visual Studio? - Stack Overflow
- wordpress - Give access to users own submitted entries only wpforms - Stack Overflow
- netlogo - Indirect allocation of resources than intended - Stack Overflow
- c# - Having trouble getting the correct position to draw my sprite to when rotating it - Stack Overflow
- dart - I can't read data from ASP.NET Web API into my Flutter App - Stack Overflow
- c# - Instantiated gameObject in Unity will not update the transform.position - Stack Overflow
- Why Axios send cookies without withCredential parameter? - Stack Overflow
- c++ - Member of struct constructed twice in custom constructor? - Stack Overflow
- reactjs - React and Electron application suggesting I'm using invalid hook calls - Stack Overflow