bark-ml
bark-ml copied to clipboard
error
Starting local Bazel server and connecting to it...
INFO: Repository bark_project instantiated at:
D:/miniconda3/envs/reinfolab/lib/site-packages/bark-ml-master/WORKSPACE:5:21: in
It seems like that there is an issue with BARK as dependency. Try bazel clean --expunge
to clean bazel.
If not, you can also change the BARK version here: https://github.com/bark-simulator/bark-ml/blob/4cb81e2768e6ac6cf2e6999baf9b09bbca8115b3/utils/dependencies.bzl#L13
E.g. instead of using commit = xxx
, you can also set branch="master"
.
according to your method,I changed the version,but still never worked.
here is the error:
D:\miniconda3\envs\reinfolab\python.exe -u bazelisk.py build -c opt //bark_ml:pip_package --verbose_failures --copt=/d2FH4-
Traceback (most recent call last):
File "bazelisk.py", line 362, in
I want to know whether I need to have a bazel compilation environment,in the reality, I just have python env,and jupyter notebook to write codes,and VS.
You can also install bark as package using PyPI. If you have a matching operating system and Python environment there should be no re-compilation (by basilisk). So you could simply try to use pip install bark-ml
. However, new C++ functions cannot be integrated like this as a bazel compilation is required.
never work if I just use pip install bark-ml, and last time, I tried to use off-line to install,so it reported the error as I ported as bellow.
If you tried it using pip install bark-ml and it still tries to build it from source, your system might be outdated. Try pip install --upgrade pip
to upgrade pip.
never work if I just use pip install bark-ml, and last time, I tried to use off-line to install,so it reported the error as I ported as bellow.
Which version of Python are you using and which operating system? With Ubuntu and Python 3.7/3.8 it should work.
Maybe the problem is not here!If I use pip install bark-ml, there exists the problem as following: ERROR: Failed building wheel for bark-simulator ERROR: Failed building wheel for bark-ml I don’t know where the problem is, it might be better if there is a XXX.wheel My operate system is windows10,and the python 3.7.6. Mybe I can try it on Centos.
There are no wheels built for windows at the moment. Wheels are only available for Linux (using many wheels) and macOS. Using CentOS should work.
Also, I wold suggest you to have a look on the running Google CoLab example: https://colab.research.google.com/drive/1jA5QPEHadvIU6GsCy4cFdAv3giS7QvDQ?usp=sharing#scrollTo=j7GPSYfIOqru