-
Notifications
You must be signed in to change notification settings - Fork 567
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
Issue with running Bazel tests #87
Comments
Sorry for the late reply. I'd need to reproduce the issue. Could you please let me know what bazel version you are using? Could you please specify the environment you are using? Are you running it on Windows? |
No problem, thank you for responding. Bazel Version - λ bazel version
Starting local Bazel server and connecting to it...
Build label: 6.0.0
Build target: bazel-out/x64_windows-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Mon Dec 19 15:54:13 2022 (1671465253)
Build timestamp: 1671465253
Build timestamp as int: 1671465253 And yes, running it on windows. environment -> # packages in environment at C:\Miniconda3\envs\tqf:
#
# Name Version Build Channel
absl-py 1.4.0 pypi_0 pypi
astunparse 1.6.3 pypi_0 pypi
attrs 22.1.0 py38haa95532_0
blas 1.0 mkl
bottleneck 1.3.5 py38h080aedc_0
ca-certificates 2022.10.11 haa95532_0
cachetools 5.2.1 pypi_0 pypi
certifi 2022.12.7 py38haa95532_0
charset-normalizer 3.0.1 pypi_0 pypi
cloudpickle 2.2.0 pypi_0 pypi
decorator 5.1.1 pypi_0 pypi
dm-tree 0.1.8 pypi_0 pypi
flatbuffers 23.1.4 pypi_0 pypi
gast 0.4.0 pypi_0 pypi
google-auth 2.16.0 pypi_0 pypi
google-auth-oauthlib 0.4.6 pypi_0 pypi
google-pasta 0.2.0 pypi_0 pypi
grpcio 1.51.1 pypi_0 pypi
h5py 3.7.0 pypi_0 pypi
idna 3.4 pypi_0 pypi
importlib-metadata 6.0.0 pypi_0 pypi
intel-openmp 2021.4.0 haa95532_3556
jax 0.4.1 pypi_0 pypi
keras-nightly 2.12.0.dev2023011608 pypi_0 pypi
libclang 15.0.6.1 pypi_0 pypi
libffi 3.4.2 hd77b12b_6
markdown 3.4.1 pypi_0 pypi
markupsafe 2.1.1 pypi_0 pypi
mkl 2021.4.0 haa95532_640
mkl-service 2.4.0 py38h2bbff1b_0
mkl_fft 1.3.1 py38h277e83a_0
mkl_random 1.2.2 py38hf11a4ad_0
numexpr 2.8.4 py38h5b0cc5e_0
numpy 1.23.5 py38h3b20f71_0
numpy-base 1.23.5 py38h4da318b_0
oauthlib 3.2.2 pypi_0 pypi
openssl 1.1.1s h2bbff1b_0
opt-einsum 3.3.0 pypi_0 pypi
packaging 22.0 py38haa95532_0
pandas 1.5.2 py38hf11a4ad_0
pip 22.3.1 py38haa95532_0
protobuf 3.19.6 pypi_0 pypi
pyasn1 0.4.8 pypi_0 pypi
pyasn1-modules 0.2.8 pypi_0 pypi
python 3.8.15 h6244533_2
python-dateutil 2.8.2 pyhd3eb1b0_0
pytz 2022.7 py38haa95532_0
requests 2.28.2 pypi_0 pypi
requests-oauthlib 1.3.1 pypi_0 pypi
rsa 4.9 pypi_0 pypi
scipy 1.10.0 pypi_0 pypi
setuptools 65.6.3 py38haa95532_0
six 1.16.0 pyhd3eb1b0_1
sqlite 3.40.1 h2bbff1b_0
tb-nightly 2.12.0a20230116 pypi_0 pypi
tensorboard-data-server 0.6.1 pypi_0 pypi
tensorboard-plugin-wit 1.8.1 pypi_0 pypi
tensorflow-io-gcs-filesystem 0.29.0 pypi_0 pypi
tensorflow-probability 0.12.1 pypi_0 pypi
termcolor 2.2.0 pypi_0 pypi
tf-estimator-nightly 2.12.0.dev2023010909 pypi_0 pypi
tf-nightly 2.12.0.dev20230116 pypi_0 pypi
tf-nightly-intel 2.12.0.dev20230116 pypi_0 pypi
typing-extensions 4.4.0 pypi_0 pypi
urllib3 1.26.14 pypi_0 pypi
vc 14.2 h21ff451_1
vs2015_runtime 14.27.29016 h5e58377_2
werkzeug 2.2.2 pypi_0 pypi
wheel 0.37.1 pyhd3eb1b0_0
wincertstore 0.2 py38haa95532_2
wrapt 1.14.1 pypi_0 pypi
zipp 3.11.0 pypi_0 pypi Conda Info
Attached is my environment yaml - environment.yml.txt Just change the name to |
I did try run from
tf_quant_finance
directory as well, am I missing something here, surely seems like a path/ pythonpath issue.Did see in
bazel
that they remove thesys.path[0]
, not sure if that's the reason. https://github.com/bazelbuild/bazel/blob/master/tools/python/python_bootstrap_template.txt#L19Tried to add it to the
PYTHONPATH
variable as well, but didn't have any luck.Contains of the log file
The text was updated successfully, but these errors were encountered: