metricsmap: Fix index out of range error

This function was declaring an array of length possibleCPUsFileLength
then reading indexes of up to possibleCpus out of the array. When the
number of possible CPUs is large, this would cause the following error:
panic: runtime error: index out of range

goroutine 236 [running]:
github.com/cilium/cilium/pkg/maps/metricsmap.SyncMetricsMap(0x0, 0x0)
        /go/src/github.com/cilium/cilium/pkg/maps/metricsmap/metricsmap.go:194 +0x33b
created by github.com/cilium/cilium/pkg/controller.(*Manager).UpdateController
        /go/src/github.com/cilium/cilium/pkg/controller/manager.go:82 +0x30c

To fix this, declare a slice and use the pointer to the first element to
pass to the kernel. This should point to a contiguous memory location
of the appropriate length for the kernel to write the results into,
according to the following documentation:
https://blog.golang.org/go-slices-usage-and-internals
Fixes: #4622
Signed-off-by: Joe Stringer<EMAIL_ADDRESS>

This change is

test-me-please

test-me-please

This code was correct as is before this change:
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/tree/tools/testing/selftests/bpf/bpf_util.hhttps://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/tree/tools/testing/selftests/bpf/bpf_util.h
The reason we got a index out of error was because possibleCPUsFileLength = 128 as per the C equivalent code in bpf_num_possible_cpus
https://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf.git/tree/tools/testing/selftests/bpf/bpf_util.h
The user was using the VM with vCPUS = 256 so we simply had to increase possibleCPUsFileLength to a larger number. The reason we use possibleCPUsFileLength instead of possibleCpus was because we need to account for the number of characters returned i.e
for example if there are 4 cores in the system, we will return 0-3 and we need to parse the string accordingly.
I do not this change will fix the issue. @joestringer @borkmann
You need a bigger buffer than possibleCpus

Nevermind, I reread the code. Ignore me! possibleCPUsFileLength needed to be used only while calculating the numCPUS in the system and not while syncing the metrics.

Right, the fix looks correct to me as well. Unrelated, but probably worth to add a comment to type Value struct that says that size needs to be multiple of 8.

@borkmann Will do that .thanks!


[SCB-964] Fix setting MediaType problem

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.01%) to 86.346% when pulling d726523e361f557c39de33f33e5eed5ff6541c15 on yhs0092:fix_setting_consumes_problem_UnsupportedOperationException into abdb21adee72717f8fadd6f5fa2a89ebe4e00920 on apache:master.


add missing backslash when using TLS configuration

Template node_exporter.service.j2 is missing a trailing \ when using node_exporter_tls_server_config. The missing \ leads to the following web.listen-address not being added to ExecStart. As a result a configured web.listen-address is ignored, using default :9100.

Thanks! :+1:

Added a test-case for it in https://github.com/cloudalchemy/ansible-node-exporter/commit/1c1462933e8850a33c70c76f634789f8e5c24708


feat(archUnit): adding equals/hashcode contract check

This feature adds a new ArchUnit test that is designed to make a simple equals/hashcode validation.
Every class implementing equals(Object) should also implement hashCode().
You have to implement both or none in each class for this new test to pass.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Julien Boniol seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

For me, this should be in a dedicated module (with a dedicated test) since not everybody will agree with this rule

For me, this should be in a dedicated module (with a dedicated test) since not everybody will agree with this rule
FYI it's me that have encouraged @Eulbobo to put it in the existing module, since IMO it's an universal rule, enforced in the Effective Java book.
In order to understand, do you have examples where you would not want to follow this rule?

For me, this should be in a dedicated module (with a dedicated test) since not everybody will agree with this rule

FYI it's me that have encouraged @Eulbobo to put it in the existing module, since IMO it's an universal rule, enforced in the Effective Java book. In order to understand, do you have examples where you would not want to follow this rule?

For most domain objects I don't really care about that and I'm afraid that this will create a lot of noise in junior team that will try to unit test those methods & not use builders to make simple implementations for that.
In many contexts, this sound like a bad tradeoff, I think no equals/hashCode is better than bad costly ones

Totally My Bad here!!! I was reading this will on a meeting and missed the point, I though this was to enforce equals & hashCode on all object

Congratulations @Eulbobo for your first contribution here! Thank you! 🎉👏😃


added windows to prevent players from jumping out of them

uses the same glass material that magnus made. Closes both parts of #190

made obsolete by 348413f , had to do it this way due to merge conflicts


Adding ExternalWiki Service

Adding the possibility to configure an external wiki.
https://docs.gitlab.com/ce/api/services.html#external-wiki

@hanndecl
Thank you for your contribution.  This has been merged and version 4.8.50 has been released.


integration: add otel gateway

https://opentelemetry.io/docs/collector/getting-started/
otel agent collector runs inside DPU/IPU connects to otel gateway
otel gateway collector runs outside of DPU/IPU and connected to backends like ELK, Jaeger, Zipkin and Prometheus back-ends...

see https://github.com/opiproject/opi-poc/pull/44

Fixed by #44


Reference subgraph implementation

Creating a reference subgraph implementation (based on our Uniswap v2 subgraph) to bootstrap development.

Added a common library of utility functions so you don't need to implement from scratch
Introduced some loose guidelines around code organization to improve readability

Look good

Do we intend to leave helpers impl as empty, so it is more of a reference rather than something that can actually be deployed? Thx

That's exactly right. I should add a comment to make that clear

I would suggest a runnable reference implementation though, since that will reflect the reality :) just a suggestion

Yeah, that's tricky. The current Uniswap v2 subgraph syncs terribly slowly (will take months to fully sync). Ideally I'd want something that's both simple and syncs quickly (fully sync in a couple hours) for a full implementation. So far I haven't found one. I may consider a fork of uniswap on a sidechain that's low volume (e.g. Honeyswap or Ubeswap) but this isn't the highest priority right now.


[WIP] Fix flaky Project controller tests

How to categorize this PR?

/area testing
/kind flake
What this PR does / why we need it:
This PR (hopefully) fixes the flaky Project controller tests. I was not able to reproduce it locally.
However, I found some places in the project_test.go which might have violated ginkgo's Don't Initialize Variables in Container Nodes rule and fixed that. triggerAndWaitForReconciliation and waitForProjectPhase now receive the project via their interface and do not use the project pointer of the Ginkgo container anymore.
activity_test.go uses a global fake clock which is assigned to the Reconciler. As different tests are manipulating this fake clock, they could influence each other when running in parallel. In order to avoid these side effects, the Describe container of this test is now Ordered.
Which issue(s) this PR fixes:
Fixes #6928
Special notes for your reviewer:
Release note:

NONE

/retitle [WIP] Fix flaky Project controller tests

/retitle Fix flaky Project controller tests

Will this not be applicable to all of our tests which use fakeClock? I could see they also use a global variable only.

That might be the case. I thought about using different fake clocks, but this won't work here because the Reconciler is using the clock too and I assume it should be in sync with the tests.
Let's see if it helps here first. There are quite a few occurrences of this error the last days.

Okay.
/approve

Fix didn't help :confused:
https://prow.gardener.cloud/view/gs/gardener-prow/pr-logs/pull/gardener_gardener/7037/pull-gardener-integration/1593619608999301120


Add AKMaskField by @artemkrachulov to TextField & TextView section

Project URL

https://github.com/whitesmith/WSTagsField
Description

Add AKMaskField by @artemkrachulov to TextField & TextView section
Why it should be included to awesome-ios (optional)
Checklist

[x] Only one project/change is in this pull request
[x] Addition in chronological order (bottom of category)
[x] Supports iOS 8 or later
[x] Supports Swift 3
[x] Has a commit from less than 2 years ago
[x] Has a clear README in English

I think it is better under [/Tags(https://github.com/vsouza/awesome-ios#tag)


about luaT.h

Hello, thanks for your sharing.
I met some problems when I try to make your project, the detatil is this:
I git clone your project and try to follow your command :cp Makefile.proto Makefile and make, when I run the "make"  the system show me didn't find lua.h, and then I install the lua, and when I run "make" again, the system show:
nvcc -arch sm_35 -O3 -DNDEBUG --compiler-options '-fPIC' -o libadcensus.so --shared adcensus.cu -I/root/torch/install/include/THC -I/root/torch/install/include/TH -I/root/torch/install/include -L/root/torch/install/lib -Xlinker -rpath,/root/torch/install/lib -lluaT -lTHC -lTH -lpng
adcensus.cu:7:18: fatal error: luaT.h: No such file or directory
compilation terminated.
Makefile:9: recipe for target 'libadcensus.so' failed
make: *** [libadcensus.so] Error 1
Thanks for your help!

请问你解决这个问题了吗，我现在遇到了同样的问题

hello! I meet the same question, have you solved it?

I also have the same issue.Has anyone solved it?

I also have the same problem?Did you solve it？

No,not yet.

I solved it by trying different version Lua, maybe Lua5.1.

Thank you very much.Are you Chinese?Maybe we can communicate by wechat.

fine,<PHONE_NUMBER>.


L530 bulbs unavailable in HA, after power cycle of bulb

If my L530 bulbs are powered off for a period of time, and they are powered on later (e.g they are only powered on in the evening from a light switch in the room), they show as an unavailable entity in HA.
After the bulbs are powered backup I can control them via the Tapo app, or via plugp100 python library, but they show as unavailable in HA.
In order to reestablish HA  connectivity to the bulb I have to restart  HA.
Please let me know what logs would be useful to troubleshoot.
hacs ver 1.25.5,
tapo controller 1.2.12,
HA core 2022.5.5
HA OS 8.1

Hi,The setup I have is a physical switch on the wall, and a sonoff,  so they can be controlled via ha or at the wall.  I have recently replaced the non smart bulb with a L530. If the bulb is powered off at the light switch for a long period of time, eg over night,  then it seems the polling gives up.  The light entity in ha will remain unavailable until ha is restarted. This is the case even if that tapo bulb is on for hours . (And If the bulb is powered off for a shorter period of time (minutes ), then powered on ( at the light switch), sometimes many minutes after the bulb is pingable, and available via app or python,  ha will eventually recognise the status.On 30/06/2022, 18:03 petretiandrea @.***> wrote:
I think this is a normal behaviour cause the integration works using polling (pratically, every x seconds ask the device's state). How time you waited before check the avilability on HA?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

To fix this issue:
Click Settings, Devices & Services, + Add integration, search for Tapo Controller, then provide the host IP, tapo username and password, click submit
Do this for every bulb / add the integration for every bulb.
Then after repowering up the bulb usually within approx. 30 seconds the bulb will be polled and become available again in HA


Integration with readthedocs.org docs?

I'm using a readthedocs.org site for portal-related documentation here:
http://documentation.ehri-project.eu/
Currently it's user-facing stuff, but I'll add the technical/dev docs too in the near future.
Could we possibly integrate these manuals with that site? Ideally via reStructured text, but if need be just as PDF downloads.
@lindareijnhoudt  @LeenartsE

or the other way around? point here to the github/ehri/manuals page?

I've added links to this repository from there. Couple of questions:

how are these PDFs currently generated? Word?
there's a broken link to readthedocs.org on the MPT README? Does this site actually exist there or not yet implemented?

http://rspub-gui.readthedocs.io/en/latest/rst/rsgui.introduction.html
was a problem with the markdown link, so i repaired it

I've added that as a sub-project to the other readthedocs site so it serves from the same domain:
http://documentation.ehri-project.eu/projects/rspub-gui/en/latest/
Let me know if that's a problem. I'll try and refashion the main doc index to look a bit more integrated.


[lexical-playground][code-node] Bug Fix: Adding an extra empty paragraph when insert code node

Description
Describe the changes in this pull request
Adding an additional empty paragraph when inserting a code node allows users to add other nodes before the code block.
Closes: #5968
Test plan
Before
https://github.com/facebook/lexical/assets/5062807/395ad864-807f-4a3e-ab3e-e2dc933c04dd
After
https://github.com/facebook/lexical/assets/5062807/56f9a6b7-06d7-4027-9985-fd7b4aca446c

For the context: we have similar issue with QuoteNode (although selection there never jumps to the root node), so maybe we shall try to fix both :)
https://github.com/facebook/lexical/assets/1125900/fee500cf-9ddb-4884-806d-ce3e577dc429

The issue is reproducible for other ElementNodes and should be fixed not only for the playground editor. Checked on ImageNode and it's possible to set the cursor before the node for adding a new element.

Discussed with @MaxPlav that more comprehensive solution needed here that accounts for more nodes and use cases (ex: two "column layout" nodes in the middle of the document)


Can u provide full demo code with js and controller

Thanku for your widget nd module .It is awesome .I used this  but i excited to know how demo is working .
full code of js nd controller code.

Hi @ajkosh and thank you :)
I have this repo with the module installed: https://github.com/machour/yii2-kitchen-sink, happy digging!


Issues installing from source on macOS Big Sur 11.5.2

Hello,
I'm trying to install tensorflow_gnn on macOS Big Sur 11.5.2.
I have bazel and graphviz installed via Homebrew. I cloned the repo locally and installed TensorFlow 2.7.
Then I try to run this command as per the README:
cd tensorflow_gnn && python3 -m pip install .

I get this error:
(TensorFlow) rish $ cd tensorflow_gnn && python3 -m pip install .
Processing /Users/rishabhanand/Desktop/tfgnn-models/tensorflow_gnn
  DEPRECATION: A future pip version will change local packages to be built in-place without first copying to a temporary directory. We recommend you use --use-feature=in-tree-build to test your packages with this new behavior before it becomes the default.
   pip 21.3 will remove support for this functionality. You can find discussion regarding this at https://github.com/pypa/pip/issues/7555.
Requirement already satisfied: absl-py in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-gnn==0.1.0) (0.13.0)
Requirement already satisfied: apache-beam[gcp]>=2.32 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-gnn==0.1.0) (2.34.0)
Requirement already satisfied: grpcio in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-gnn==0.1.0) (1.42.0)
Requirement already satisfied: matplotlib in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-gnn==0.1.0) (3.4.2)
Requirement already satisfied: mock in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-gnn==0.1.0) (4.0.3)
Requirement already satisfied: networkx in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-gnn==0.1.0) (2.6.3)
Requirement already satisfied: numpy in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-gnn==0.1.0) (1.19.5)
Requirement already satisfied: protobuf>=3.17 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-gnn==0.1.0) (3.19.1)
Requirement already satisfied: pyarrow in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-gnn==0.1.0) (5.0.0)
Requirement already satisfied: pygraphviz in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-gnn==0.1.0) (1.7)
Requirement already satisfied: scipy in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-gnn==0.1.0) (1.7.0)
Requirement already satisfied: six in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-gnn==0.1.0) (1.15.0)
Requirement already satisfied: tensorflow-cpu>=2.7.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-gnn==0.1.0) (2.7.0)
Requirement already satisfied: requests<3.0.0,>=2.24.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.25.1)
Requirement already satisfied: orjson<4.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (3.6.4)
Requirement already satisfied: pydot<2,>=1.2.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.4.2)
Requirement already satisfied: avro-python3!=1.9.2,<1.10.0,>=1.8.1 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (<IP_ADDRESS>)
Requirement already satisfied: future<1.0.0,>=0.18.2 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.18.2)
Requirement already satisfied: crcmod<2.0,>=1.7 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.7)
Requirement already satisfied: dill<0.3.2,>=<IP_ADDRESS> in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (<IP_ADDRESS>)
Requirement already satisfied: pytz>=2018.3 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2021.3)
Requirement already satisfied: fastavro<2,>=0.21.4 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.4.7)
Requirement already satisfied: pymongo<4.0.0,>=3.8.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (3.12.1)
Requirement already satisfied: python-dateutil<3,>=2.8.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.8.1)
Requirement already satisfied: typing-extensions<4,>=3.7.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (<IP_ADDRESS>)
Requirement already satisfied: oauth2client<5,>=2.0.1 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (4.1.3)
Requirement already satisfied: hdfs<3.0.0,>=2.1.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.6.0)
Requirement already satisfied: httplib2<0.20.0,>=0.8 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.19.1)
Requirement already satisfied: grpcio-gcp<1,>=0.2.2 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.2.2)
Requirement already satisfied: google-cloud-bigquery-storage>=2.6.3 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.10.1)
Requirement already satisfied: google-cloud-core<2,>=0.28.1 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.7.2)
Requirement already satisfied: google-cloud-bigtable<2,>=0.31.1 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.7.0)
Requirement already satisfied: google-cloud-videointelligence<2,>=1.8.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.16.1)
Requirement already satisfied: google-cloud-spanner<2,>=1.13.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.19.1)
Requirement already satisfied: google-cloud-recommendations-ai<=0.2.0,>=0.1.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.2.0)
Requirement already satisfied: google-cloud-bigquery<3,>=1.6.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.30.1)
Requirement already satisfied: cachetools<5,>=3.1.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (4.2.2)
Requirement already satisfied: google-cloud-vision<2,>=0.38.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.0.0)
Requirement already satisfied: google-apitools<0.5.32,>=0.5.31 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.5.31)
Requirement already satisfied: google-cloud-pubsub<2,>=0.39.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.7.0)
Requirement already satisfied: google-cloud-dlp<2,>=0.12.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.0.0)
Requirement already satisfied: google-cloud-datastore<2,>=1.8.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.15.3)
Requirement already satisfied: google-auth<3,>=1.18.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.32.0)
Requirement already satisfied: google-cloud-language<2,>=1.3.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.3.0)
Requirement already satisfied: fasteners>=0.14 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from google-apitools<0.5.32,>=0.5.31->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.16.3)
Requirement already satisfied: pyasn1-modules>=0.2.1 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from google-auth<3,>=1.18.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.2.8)
Requirement already satisfied: setuptools>=40.3.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from google-auth<3,>=1.18.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (52.0.0.post20210125)
Requirement already satisfied: rsa<5,>=3.1.4 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from google-auth<3,>=1.18.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (4.7.2)
Requirement already satisfied: google-api-core[grpc]<3.0.0dev,>=1.29.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.31.4)
Requirement already satisfied: google-resumable-media<3.0dev,>=0.6.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.1.0)
Requirement already satisfied: packaging>=14.3 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (21.3)
Requirement already satisfied: proto-plus>=1.10.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.19.8)
Requirement already satisfied: googleapis-common-protos<2.0dev,>=1.6.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from google-api-core[grpc]<3.0.0dev,>=1.29.0->google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.53.0)
Requirement already satisfied: libcst>=0.2.5 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from google-cloud-bigquery-storage>=2.6.3->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.3.21)
Requirement already satisfied: grpc-google-iam-v1<0.13dev,>=0.12.3 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from google-cloud-bigtable<2,>=0.31.1->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.12.3)
Requirement already satisfied: google-crc32c<2.0dev,>=1.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from google-resumable-media<3.0dev,>=0.6.0->google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.3.0)
Requirement already satisfied: docopt in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from hdfs<3.0.0,>=2.1.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.6.2)
Requirement already satisfied: pyparsing<3,>=2.4.2 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from httplib2<0.20.0,>=0.8->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.4.7)
Requirement already satisfied: typing-inspect>=0.4.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from libcst>=0.2.5->google-cloud-bigquery-storage>=2.6.3->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.7.1)
Requirement already satisfied: pyyaml>=5.2 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from libcst>=0.2.5->google-cloud-bigquery-storage>=2.6.3->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (6.0)
Requirement already satisfied: pyasn1>=0.1.7 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from oauth2client<5,>=2.0.1->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.4.8)
Requirement already satisfied: idna<3,>=2.5 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from requests<3.0.0,>=2.24.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.10)
Requirement already satisfied: urllib3<1.27,>=1.21.1 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from requests<3.0.0,>=2.24.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.26.5)
Requirement already satisfied: chardet<5,>=3.0.2 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from requests<3.0.0,>=2.24.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (4.0.0)
Requirement already satisfied: certifi>=2017.4.17 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from requests<3.0.0,>=2.24.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2021.5.30)
Requirement already satisfied: tensorflow-estimator<2.8,~=2.7.0rc0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.7.0)
Requirement already satisfied: keras<2.8,>=2.7.0rc0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.7.0)
Requirement already satisfied: h5py>=2.9.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.1.0)
Requirement already satisfied: flatbuffers<3.0,>=1.12 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.12)
Requirement already satisfied: gast<0.5.0,>=0.2.1 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.4.0)
Requirement already satisfied: libclang>=9.0.1 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (12.0.0)
Requirement already satisfied: google-pasta>=0.1.1 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.2.0)
Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.21.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.22.0)
Requirement already satisfied: astunparse>=1.6.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.6.3)
Requirement already satisfied: termcolor>=1.1.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.1.0)
Requirement already satisfied: wheel<1.0,>=0.32.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.36.2)
Requirement already satisfied: keras-preprocessing>=1.1.1 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.1.2)
Requirement already satisfied: opt-einsum>=2.3.2 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.3.0)
Requirement already satisfied: tensorboard~=2.6 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.7.0)
Requirement already satisfied: wrapt>=1.11.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.12.1)
Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.8.0)
Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.4.4)
Requirement already satisfied: werkzeug>=0.11.15 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.0.1)
Requirement already satisfied: markdown>=2.6.8 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.3.4)
Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.6.1)
Requirement already satisfied: requests-oauthlib>=0.7.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.3.0)
Requirement already satisfied: oauthlib>=3.0.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.1.1)
Requirement already satisfied: mypy-extensions>=0.3.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from typing-inspect>=0.4.0->libcst>=0.2.5->google-cloud-bigquery-storage>=2.6.3->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.4.3)
Requirement already satisfied: kiwisolver>=1.0.1 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from matplotlib->tensorflow-gnn==0.1.0) (1.3.1)
Requirement already satisfied: cycler>=0.10 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from matplotlib->tensorflow-gnn==0.1.0) (0.10.0)
Requirement already satisfied: pillow>=6.2.0 in /Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages (from matplotlib->tensorflow-gnn==0.1.0) (8.2.0)
Building wheels for collected packages: tensorflow-gnn
  Building wheel for tensorflow-gnn (setup.py) ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/rishabhanand/miniconda3/envs/TensorFlow/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/setup.py'"'"'; __file__='"'"'/private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' bdist_wheel -d /private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-wheel-mthpqja5
       cwd: /private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/
  Complete output (50 lines):
  running bdist_wheel
  running build
  running bazel_build
  Starting local Bazel server and connecting to it...
  Loading:
  Loading: 0 packages loaded
  Loading: 0 packages loaded
  Loading: 0 packages loaded
  DEBUG: /private/var/tmp/_bazel_rishabhanand/079daae8407a39d2a06054d5b945f048/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software.
  Loading: 0 packages loaded
  Loading: 0 packages loaded
  Loading: 0 packages loaded
  Loading: 0 packages loaded
  Analyzing: target //package:move_generated_files (1 packages loaded, 0 targets configured)
  ERROR: /private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/package/BUILD:10:10: no such target '//tensorflow_gnn/sampler:sampling_spec_pb2.py': target 'sampling_spec_pb2.py' not declared in package 'tensorflow_gnn/sampler' defined by /private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/tensorflow_gnn/sampler/BUILD and referenced by '//package:move_generated_files'
  ERROR: Analysis of target '//package:move_generated_files' failed; build aborted: Analysis failed
  INFO: Elapsed time: 29.988s
  INFO: 0 processes.
  FAILED: Build did NOT complete successfully (10 packages loaded, 10 targets configured)
  ERROR: Build failed. Not running target
  FAILED: Build did NOT complete successfully (10 packages loaded, 10 targets configured)
  Traceback (most recent call last):
    File "<string>", line 1, in <module>
    File "/private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/setup.py", line 152, in <module>
      setup(
    File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
      return distutils.core.setup(**attrs)
    File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/core.py", line 148, in setup
      dist.run_commands()
    File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/dist.py", line 966, in run_commands
      self.run_command(cmd)
    File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages/wheel/bdist_wheel.py", line 299, in run
      self.run_command('build')
    File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/command/build.py", line 135, in run
      self.run_command(cmd_name)
    File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/cmd.py", line 313, in run_command
      self.distribution.run_command(command)
    File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/dist.py", line 985, in run_command
      cmd_obj.run()
    File "/private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/setup.py", line 86, in run
      subprocess.check_call(
    File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/subprocess.py", line 373, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['/usr/local/bin/bazel', 'run', '-c', 'opt', '--experimental_repo_remote_exec', '--macos_minimum_os=10.9', '//package:move_generated_files']' returned non-zero exit status 1.
  ----------------------------------------
  ERROR: Failed building wheel for tensorflow-gnn
  Running setup.py clean for tensorflow-gnn
Failed to build tensorflow-gnn
Installing collected packages: tensorflow-gnn
    Running setup.py install for tensorflow-gnn ... error
    ERROR: Command errored out with exit status 1:
     command: /Users/rishabhanand/miniconda3/envs/TensorFlow/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/setup.py'"'"'; __file__='"'"'/private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-record-0ma3o1eu/install-record.txt --single-version-externally-managed --compile --install-headers /Users/rishabhanand/miniconda3/envs/TensorFlow/include/python3.9/tensorflow-gnn
         cwd: /private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/
    Complete output (45 lines):
    running install
    running build
    running bazel_build
    Loading:
    Loading: 0 packages loaded
    DEBUG: /private/var/tmp/_bazel_rishabhanand/079daae8407a39d2a06054d5b945f048/external/tf_runtime/third_party/cuda/dependencies.bzl:51:10: The following command will download NVIDIA proprietary software. By using the software you agree to comply with the terms of the license agreement that accompanies the software. If you do not agree to the terms of the license agreement, do not use the software.
    Analyzing: target //package:move_generated_files (0 packages loaded, 0 targets configured)
    ERROR: /private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/package/BUILD:10:10: no such target '//tensorflow_gnn/sampler:sampling_spec_pb2.py': target 'sampling_spec_pb2.py' not declared in package 'tensorflow_gnn/sampler' defined by /private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/tensorflow_gnn/sampler/BUILD and referenced by '//package:move_generated_files'
    ERROR: Analysis of target '//package:move_generated_files' failed; build aborted: Analysis failed
    INFO: Elapsed time: 0.191s
    INFO: 0 processes.
    FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
    ERROR: Build failed. Not running target
    FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/setup.py", line 152, in <module>
        setup(
      File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages/setuptools/__init__.py", line 153, in setup
        return distutils.core.setup(**attrs)
      File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/dist.py", line 966, in run_commands
        self.run_command(cmd)
      File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/site-packages/setuptools/command/install.py", line 61, in run
        return orig.install.run(self)
      File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/command/install.py", line 546, in run
        self.run_command('build')
      File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/command/build.py", line 135, in run
        self.run_command(cmd_name)
      File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/distutils/dist.py", line 985, in run_command
        cmd_obj.run()
      File "/private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/setup.py", line 86, in run
        subprocess.check_call(
      File "/Users/rishabhanand/miniconda3/envs/TensorFlow/lib/python3.9/subprocess.py", line 373, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['/usr/local/bin/bazel', 'run', '-c', 'opt', '--experimental_repo_remote_exec', '--macos_minimum_os=10.9', '//package:move_generated_files']' returned non-zero exit status 1.
    ----------------------------------------
ERROR: Command errored out with exit status 1: /Users/rishabhanand/miniconda3/envs/TensorFlow/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/setup.py'"'"'; __file__='"'"'/private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-req-build-kgqd2bkw/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /private/var/folders/s5/g5knq0hd405dd5lx90_lshdc0000gn/T/pip-record-0ma3o1eu/install-record.txt --single-version-externally-managed --compile --install-headers /Users/rishabhanand/miniconda3/envs/TensorFlow/include/python3.9/tensorflow-gnn Check the logs for full command output.
(TensorFlow) rish $

Any help here would be greatly appreciated! Are there any other prerequisites I need to run it smoothly / install from source?
Thank you!

I have the same problem on Ubuntu 20.04. It seems like the script is looking for setup.py in a temporary directory that doesn't exist.

+1

I have the same issue.

Actually, this is because a file named sampling_spec_pb2.py is missing.
At commit "2101be3702ee70c9131b2d8b2b3730b97efd52c8", they removed the line "tensorflow_gnn/sampler/sampling_spec_pb2.py" from tensorflow-gnn/package/move_generated_files.sh. However, this sh file was created at commit "f63576a722198fc0d64ec2190feff2e9b3ba27c3". At this "f63576" commit, the package/BUILD file also included a line "//tensorflow_gnn/sampler:sampling_spec_pb2.py".
However, they then deleted the sampling_spec.py and removed the "sampling_spec_pb2.py" line from file tensorflow-gnn/move_generated_files.sh at commit "2101be",  but forgot to remove it from that BUILD file. I guess.
As a result, you can just remove the line "//tensorflow_gnn/sampler:sampling_spec_pb2.py" from tensorflow-gnn/package/BUILD file (line 17).

As a result, you can just remove the line "//tensorflow_gnn/sampler:sampling_spec_pb2.py" from package/BUILD file (line 17).

still getting error after removing the line from package/BUILD file

As a result, you can just remove the line "//tensorflow_gnn/sampler:sampling_spec_pb2.py" from package/BUILD file (line 17).

still getting error after removing the line from package/BUILD file

You may provide the error log, please. I don't think the same error will arise if you remove the line, because there are no other references to the sampling_spec.py. You can confirm this by executing ag "sampling_spec" in the terminal (ag is a powerful searching tool silversearcher-ag.).

You may provide the error log, please. I don't think the same error will arise if you remove the line, because there are no other references to the sampling_spec.py. You can confirm this by executing ag "sampling_spec" in the terminal (ag is a powerful searching tool silversearcher-ag.).

Processing /content/tensorflow_gnn   Preparing metadata (setup.py) ... done Requirement already satisfied: absl-py in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (1.0.0) Requirement already satisfied: apache-beam[gcp]>=2.32 in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (2.34.0) Requirement already satisfied: grpcio in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (1.42.0) Requirement already satisfied: matplotlib in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (3.5.0) Requirement already satisfied: mock in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (4.0.3) Requirement already satisfied: networkx in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (2.6.3) Requirement already satisfied: numpy in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (1.20.3) Requirement already satisfied: protobuf>=3.17 in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (3.19.1) Requirement already satisfied: pyarrow in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (5.0.0) Requirement already satisfied: pygraphviz in /usr/local/lib/python3.9/dist-packages/pygraphviz-1.8rc1.dev0-py3.9-linux-x86_64.egg (from tensorflow-gnn==0.1.0) (1.8rc1.dev0) Requirement already satisfied: scipy in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (1.7.3) Requirement already satisfied: six in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (1.16.0) Requirement already satisfied: tensorflow-cpu>=2.7.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (2.7.0) Requirement already satisfied: pydot<2,>=1.2.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.4.2) Requirement already satisfied: orjson<4.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (3.6.4) Requirement already satisfied: httplib2<0.20.0,>=0.8 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.19.1) Requirement already satisfied: dill<0.3.2,>=<IP_ADDRESS> in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (<IP_ADDRESS>) Requirement already satisfied: python-dateutil<3,>=2.8.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.8.2) Requirement already satisfied: crcmod<2.0,>=1.7 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.7) Requirement already satisfied: future<1.0.0,>=0.18.2 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.18.2) Requirement already satisfied: hdfs<3.0.0,>=2.1.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.6.0) Requirement already satisfied: pytz>=2018.3 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2021.3) Requirement already satisfied: fastavro<2,>=0.21.4 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.4.7) Requirement already satisfied: avro-python3!=1.9.2,<1.10.0,>=1.8.1 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (<IP_ADDRESS>) Requirement already satisfied: typing-extensions<4,>=3.7.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (<IP_ADDRESS>) Requirement already satisfied: pymongo<4.0.0,>=3.8.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (3.12.1) Requirement already satisfied: requests<3.0.0,>=2.24.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.26.0) Requirement already satisfied: oauth2client<5,>=2.0.1 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (4.1.3) Requirement already satisfied: google-cloud-language<2,>=1.3.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.3.0) Requirement already satisfied: google-cloud-dlp<2,>=0.12.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.0.0) Requirement already satisfied: google-cloud-spanner<2,>=1.13.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.19.1) Requirement already satisfied: google-apitools<0.5.32,>=0.5.31 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.5.31) Requirement already satisfied: google-cloud-pubsub<2,>=0.39.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.7.0) Requirement already satisfied: google-cloud-datastore<2,>=1.8.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.15.3) Requirement already satisfied: google-cloud-videointelligence<2,>=1.8.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.16.1) Requirement already satisfied: google-auth<3,>=1.18.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.35.0) Requirement already satisfied: google-cloud-core<2,>=0.28.1 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.7.2) Requirement already satisfied: google-cloud-bigquery-storage>=2.6.3 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.10.1) Requirement already satisfied: google-cloud-vision<2,>=0.38.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.0.0) Requirement already satisfied: grpcio-gcp<1,>=0.2.2 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.2.2) Requirement already satisfied: google-cloud-bigtable<2,>=0.31.1 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.7.0) Requirement already satisfied: cachetools<5,>=3.1.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (4.2.4) Requirement already satisfied: google-cloud-bigquery<3,>=1.6.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.30.1) Requirement already satisfied: google-cloud-recommendations-ai<=0.2.0,>=0.1.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.2.0) Requirement already satisfied: astunparse>=1.6.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.6.3) Requirement already satisfied: h5py>=2.9.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.6.0) Requirement already satisfied: wheel<1.0,>=0.32.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.37.0) Requirement already satisfied: keras-preprocessing>=1.1.1 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.1.2) Requirement already satisfied: opt-einsum>=2.3.2 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.3.0) Requirement already satisfied: tensorflow-estimator<2.8,~=2.7.0rc0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.7.0) Requirement already satisfied: gast<0.5.0,>=0.2.1 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.4.0) Requirement already satisfied: keras<2.8,>=2.7.0rc0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.7.0) Requirement already satisfied: libclang>=9.0.1 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (12.0.0) Requirement already satisfied: termcolor>=1.1.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.1.0) Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.21.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.22.0) Requirement already satisfied: google-pasta>=0.1.1 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.2.0) Requirement already satisfied: wrapt>=1.11.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.13.3) Requirement already satisfied: flatbuffers<3.0,>=1.12 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.0) Requirement already satisfied: tensorboard~=2.6 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.7.0) Requirement already satisfied: pyparsing>=2.2.1 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (2.4.7) Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (21.3) Requirement already satisfied: setuptools-scm>=4 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (6.3.2) Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (0.11.0) Requirement already satisfied: pillow>=6.2.0 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (8.4.0) Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (4.28.2) Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (1.3.2) Requirement already satisfied: fasteners>=0.14 in /usr/local/lib/python3.9/dist-packages (from google-apitools<0.5.32,>=0.5.31->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.16.3) Requirement already satisfied: setuptools>=40.3.0 in /usr/local/lib/python3.9/dist-packages (from google-auth<3,>=1.18.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (59.2.0) Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.9/dist-packages (from google-auth<3,>=1.18.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.2.8) Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.9/dist-packages (from google-auth<3,>=1.18.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (4.8) Requirement already satisfied: proto-plus>=1.10.0 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.19.8) Requirement already satisfied: google-api-core[grpc]<3.0.0dev,>=1.29.0 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.31.4) Requirement already satisfied: google-resumable-media<3.0dev,>=0.6.0 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.1.0) Requirement already satisfied: libcst>=0.2.5 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigquery-storage>=2.6.3->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.3.23) Requirement already satisfied: grpc-google-iam-v1<0.13dev,>=0.12.3 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigtable<2,>=0.31.1->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.12.3) Requirement already satisfied: docopt in /usr/local/lib/python3.9/dist-packages (from hdfs<3.0.0,>=2.1.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.6.2) Requirement already satisfied: pyasn1>=0.1.7 in /usr/local/lib/python3.9/dist-packages (from oauth2client<5,>=2.0.1->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.4.8) Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.24.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.6) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests<3.0.0,>=2.24.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.26.7) Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.9/dist-packages (from requests<3.0.0,>=2.24.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.0.7) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/dist-packages (from requests<3.0.0,>=2.24.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2021.10.8) Requirement already satisfied: tomli>=1.0.0 in /usr/local/lib/python3.9/dist-packages (from setuptools-scm>=4->matplotlib->tensorflow-gnn==0.1.0) (1.2.2) Requirement already satisfied: werkzeug>=0.11.15 in /usr/local/lib/python3.9/dist-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.0.2) Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /usr/local/lib/python3.9/dist-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.4.6) Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in /usr/local/lib/python3.9/dist-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.6.1) Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.9/dist-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.3.6) Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /usr/local/lib/python3.9/dist-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.8.0) Requirement already satisfied: googleapis-common-protos<2.0dev,>=1.6.0 in /usr/local/lib/python3.9/dist-packages (from google-api-core[grpc]<3.0.0dev,>=1.29.0->google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.53.0) Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.9/dist-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.3.0) Requirement already satisfied: google-crc32c<2.0dev,>=1.0 in /usr/local/lib/python3.9/dist-packages (from google-resumable-media<3.0dev,>=0.6.0->google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.3.0) Requirement already satisfied: typing-inspect>=0.4.0 in /usr/local/lib/python3.9/dist-packages (from libcst>=0.2.5->google-cloud-bigquery-storage>=2.6.3->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.7.1) Requirement already satisfied: pyyaml>=5.2 in /usr/local/lib/python3.9/dist-packages (from libcst>=0.2.5->google-cloud-bigquery-storage>=2.6.3->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (6.0) Requirement already satisfied: importlib-metadata>=4.4 in /usr/local/lib/python3.9/dist-packages (from markdown>=2.6.8->tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (4.8.2) Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.9/dist-packages (from importlib-metadata>=4.4->markdown>=2.6.8->tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.6.0) Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.9/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.1.1) Requirement already satisfied: mypy-extensions>=0.3.0 in /usr/local/lib/python3.9/dist-packages (from typing-inspect>=0.4.0->libcst>=0.2.5->google-cloud-bigquery-storage>=2.6.3->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.4.3) Building wheels for collected packages: tensorflow-gnn   Building wheel for tensorflow-gnn (setup.py) ... error   ERROR: Failed building wheel for tensorflow-gnn   Running setup.py clean for tensorflow-gnn Failed to build tensorflow-gnn Installing collected packages: tensorflow-gnn     Running setup.py install for tensorflow-gnn ... error ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/content/tensorflow_gnn/setup.py'"'"'; __file__='"'"'/content/tensorflow_gnn/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-12b9919l/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/tensorflow-gnn Check the logs for full command output.

@lucky630 - could you show the full error message and the errors from the logs?

@lucky630 - could you show the full error message and the errors from the logs?

That's the full error that I'm getting. I'm using Google Colab for the installation.
Have installed and Bazel and Graphviz,
python version is 3.9.9 and TensorFlow version is 2.7.0
Processing /content/tensorflow_gnn   Preparing metadata (setup.py) ... done Requirement already satisfied: absl-py in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (1.0.0) Requirement already satisfied: apache-beam[gcp]>=2.32 in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (2.34.0) Requirement already satisfied: grpcio in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (1.42.0) Requirement already satisfied: matplotlib in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (3.5.0) Requirement already satisfied: mock in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (4.0.3) Requirement already satisfied: networkx in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (2.6.3) Requirement already satisfied: numpy in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (1.20.3) Requirement already satisfied: protobuf>=3.17 in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (3.19.1) Requirement already satisfied: pyarrow in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (5.0.0) Requirement already satisfied: pygraphviz in /usr/local/lib/python3.9/dist-packages/pygraphviz-1.8rc1.dev0-py3.9-linux-x86_64.egg (from tensorflow-gnn==0.1.0) (1.8rc1.dev0) Requirement already satisfied: scipy in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (1.7.3) Requirement already satisfied: six in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (1.16.0) Requirement already satisfied: tensorflow-cpu>=2.7.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-gnn==0.1.0) (2.7.0) Requirement already satisfied: future<1.0.0,>=0.18.2 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.18.2) Requirement already satisfied: dill<0.3.2,>=<IP_ADDRESS> in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (<IP_ADDRESS>) Requirement already satisfied: httplib2<0.20.0,>=0.8 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.19.1) Requirement already satisfied: pytz>=2018.3 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2021.3) Requirement already satisfied: crcmod<2.0,>=1.7 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.7) Requirement already satisfied: pymongo<4.0.0,>=3.8.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (3.12.1) Requirement already satisfied: oauth2client<5,>=2.0.1 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (4.1.3) Requirement already satisfied: requests<3.0.0,>=2.24.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.26.0) Requirement already satisfied: avro-python3!=1.9.2,<1.10.0,>=1.8.1 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (<IP_ADDRESS>) Requirement already satisfied: orjson<4.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (3.6.4) Requirement already satisfied: hdfs<3.0.0,>=2.1.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.6.0) Requirement already satisfied: pydot<2,>=1.2.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.4.2) Requirement already satisfied: fastavro<2,>=0.21.4 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.4.7) Requirement already satisfied: typing-extensions<4,>=3.7.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (<IP_ADDRESS>) Requirement already satisfied: python-dateutil<3,>=2.8.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.8.2) Requirement already satisfied: google-cloud-spanner<2,>=1.13.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.19.1) Requirement already satisfied: google-cloud-language<2,>=1.3.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.3.0) Requirement already satisfied: google-cloud-pubsub<2,>=0.39.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.7.0) Requirement already satisfied: google-cloud-recommendations-ai<=0.2.0,>=0.1.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.2.0) Requirement already satisfied: grpcio-gcp<1,>=0.2.2 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.2.2) Requirement already satisfied: google-cloud-bigquery-storage>=2.6.3 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.10.1) Requirement already satisfied: google-auth<3,>=1.18.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.35.0) Requirement already satisfied: google-cloud-core<2,>=0.28.1 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.7.2) Requirement already satisfied: cachetools<5,>=3.1.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (4.2.4) Requirement already satisfied: google-cloud-vision<2,>=0.38.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.0.0) Requirement already satisfied: google-apitools<0.5.32,>=0.5.31 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.5.31) Requirement already satisfied: google-cloud-bigtable<2,>=0.31.1 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.7.0) Requirement already satisfied: google-cloud-bigquery<3,>=1.6.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.30.1) Requirement already satisfied: google-cloud-videointelligence<2,>=1.8.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.16.1) Requirement already satisfied: google-cloud-dlp<2,>=0.12.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.0.0) Requirement already satisfied: google-cloud-datastore<2,>=1.8.0 in /usr/local/lib/python3.9/dist-packages (from apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.15.3) Requirement already satisfied: h5py>=2.9.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.6.0) Requirement already satisfied: keras<2.8,>=2.7.0rc0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.7.0) Requirement already satisfied: wheel<1.0,>=0.32.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.37.0) Requirement already satisfied: wrapt>=1.11.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.13.3) Requirement already satisfied: tensorboard~=2.6 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.7.0) Requirement already satisfied: tensorflow-estimator<2.8,~=2.7.0rc0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.7.0) Requirement already satisfied: libclang>=9.0.1 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (12.0.0) Requirement already satisfied: termcolor>=1.1.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.1.0) Requirement already satisfied: astunparse>=1.6.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.6.3) Requirement already satisfied: flatbuffers<3.0,>=1.12 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.0) Requirement already satisfied: gast<0.5.0,>=0.2.1 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.4.0) Requirement already satisfied: tensorflow-io-gcs-filesystem>=0.21.0 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.22.0) Requirement already satisfied: google-pasta>=0.1.1 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.2.0) Requirement already satisfied: opt-einsum>=2.3.2 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.3.0) Requirement already satisfied: keras-preprocessing>=1.1.1 in /usr/local/lib/python3.9/dist-packages (from tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.1.2) Requirement already satisfied: setuptools-scm>=4 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (6.3.2) Requirement already satisfied: packaging>=20.0 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (21.3) Requirement already satisfied: kiwisolver>=1.0.1 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (1.3.2) Requirement already satisfied: fonttools>=4.22.0 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (4.28.2) Requirement already satisfied: pillow>=6.2.0 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (8.4.0) Requirement already satisfied: pyparsing>=2.2.1 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (2.4.7) Requirement already satisfied: cycler>=0.10 in /usr/local/lib/python3.9/dist-packages (from matplotlib->tensorflow-gnn==0.1.0) (0.11.0) Requirement already satisfied: fasteners>=0.14 in /usr/local/lib/python3.9/dist-packages (from google-apitools<0.5.32,>=0.5.31->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.16.3) Requirement already satisfied: rsa<5,>=3.1.4 in /usr/local/lib/python3.9/dist-packages (from google-auth<3,>=1.18.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (4.8) Requirement already satisfied: pyasn1-modules>=0.2.1 in /usr/local/lib/python3.9/dist-packages (from google-auth<3,>=1.18.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.2.8) Requirement already satisfied: setuptools>=40.3.0 in /usr/local/lib/python3.9/dist-packages (from google-auth<3,>=1.18.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (59.2.0) Requirement already satisfied: google-api-core[grpc]<3.0.0dev,>=1.29.0 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.31.4) Requirement already satisfied: google-resumable-media<3.0dev,>=0.6.0 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.1.0) Requirement already satisfied: proto-plus>=1.10.0 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.19.8) Requirement already satisfied: libcst>=0.2.5 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigquery-storage>=2.6.3->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.3.23) Requirement already satisfied: grpc-google-iam-v1<0.13dev,>=0.12.3 in /usr/local/lib/python3.9/dist-packages (from google-cloud-bigtable<2,>=0.31.1->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.12.3) Requirement already satisfied: docopt in /usr/local/lib/python3.9/dist-packages (from hdfs<3.0.0,>=2.1.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.6.2) Requirement already satisfied: pyasn1>=0.1.7 in /usr/local/lib/python3.9/dist-packages (from oauth2client<5,>=2.0.1->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.4.8) Requirement already satisfied: charset-normalizer~=2.0.0 in /usr/local/lib/python3.9/dist-packages (from requests<3.0.0,>=2.24.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.0.8) Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.9/dist-packages (from requests<3.0.0,>=2.24.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2021.10.8) Requirement already satisfied: urllib3<1.27,>=1.21.1 in /usr/local/lib/python3.9/dist-packages (from requests<3.0.0,>=2.24.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.26.7) Requirement already satisfied: idna<4,>=2.5 in /usr/lib/python3/dist-packages (from requests<3.0.0,>=2.24.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (2.6) Requirement already satisfied: tomli>=1.0.0 in /usr/local/lib/python3.9/dist-packages (from setuptools-scm>=4->matplotlib->tensorflow-gnn==0.1.0) (1.2.2) Requirement already satisfied: tensorboard-data-server<0.7.0,>=0.6.0 in /usr/local/lib/python3.9/dist-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.6.1) Requirement already satisfied: werkzeug>=0.11.15 in /usr/local/lib/python3.9/dist-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (2.0.2) Requirement already satisfied: markdown>=2.6.8 in /usr/local/lib/python3.9/dist-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.3.6) Requirement already satisfied: google-auth-oauthlib<0.5,>=0.4.1 in /usr/local/lib/python3.9/dist-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (0.4.6) Requirement already satisfied: tensorboard-plugin-wit>=1.6.0 in /usr/local/lib/python3.9/dist-packages (from tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.8.0) Requirement already satisfied: googleapis-common-protos<2.0dev,>=1.6.0 in /usr/local/lib/python3.9/dist-packages (from google-api-core[grpc]<3.0.0dev,>=1.29.0->google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.53.0) Requirement already satisfied: requests-oauthlib>=0.7.0 in /usr/local/lib/python3.9/dist-packages (from google-auth-oauthlib<0.5,>=0.4.1->tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (1.3.0) Requirement already satisfied: google-crc32c<2.0dev,>=1.0 in /usr/local/lib/python3.9/dist-packages (from google-resumable-media<3.0dev,>=0.6.0->google-cloud-bigquery<3,>=1.6.0->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (1.3.0) Requirement already satisfied: typing-inspect>=0.4.0 in /usr/local/lib/python3.9/dist-packages (from libcst>=0.2.5->google-cloud-bigquery-storage>=2.6.3->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.7.1) Requirement already satisfied: pyyaml>=5.2 in /usr/local/lib/python3.9/dist-packages (from libcst>=0.2.5->google-cloud-bigquery-storage>=2.6.3->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (6.0) Requirement already satisfied: importlib-metadata>=4.4 in /usr/local/lib/python3.9/dist-packages (from markdown>=2.6.8->tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (4.8.2) Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.9/dist-packages (from importlib-metadata>=4.4->markdown>=2.6.8->tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.6.0) Requirement already satisfied: oauthlib>=3.0.0 in /usr/local/lib/python3.9/dist-packages (from requests-oauthlib>=0.7.0->google-auth-oauthlib<0.5,>=0.4.1->tensorboard~=2.6->tensorflow-cpu>=2.7.0->tensorflow-gnn==0.1.0) (3.1.1) Requirement already satisfied: mypy-extensions>=0.3.0 in /usr/local/lib/python3.9/dist-packages (from typing-inspect>=0.4.0->libcst>=0.2.5->google-cloud-bigquery-storage>=2.6.3->apache-beam[gcp]>=2.32->tensorflow-gnn==0.1.0) (0.4.3) Building wheels for collected packages: tensorflow-gnn   Building wheel for tensorflow-gnn (setup.py) ... error   ERROR: Failed building wheel for tensorflow-gnn   Running setup.py clean for tensorflow-gnn Failed to build tensorflow-gnn Installing collected packages: tensorflow-gnn     Running setup.py install for tensorflow-gnn ... error ERROR: Command errored out with exit status 1: /usr/bin/python3 -u -c 'import io, os, sys, setuptools, tokenize; sys.argv[0] = '"'"'/content/tensorflow_gnn/setup.py'"'"'; __file__='"'"'/content/tensorflow_gnn/setup.py'"'"';f = getattr(tokenize, '"'"'open'"'"', open)(__file__) if os.path.exists(__file__) else io.StringIO('"'"'from setuptools import setup; setup()'"'"');code = f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-qtur1f2t/install-record.txt --single-version-externally-managed --compile --install-headers /usr/local/include/python3.9/tensorflow-gnn Check the logs for full command output.

@lucky630 The message you provided just says an error happened, and we're cleaning some files. The log is too long such that "..." is used in this message.
You may run python3 -m pip install . --log install.log and provide the content of file install.log (especially the error trace in this file).

@lucky630 The message you provided just says an error happened, and we're cleaning some files. The log is too long such that "..." is used in this message.
You may run python3 -m pip install . --log install.log and provide the content of file install.log (especially the error trace in this file).

Thanks, I figured out it was bazel error after installing bazel 1.0.0 sudo apt install bazel-1.0.0 it was fixed but now I'm getting
AttributeError: module 'tensorflow_gnn' has no attribute 'keras' error
import tensorflow_gnn
dir(tensorflow_gnn)
['__doc__',
 '__file__',
 '__loader__',
 '__name__',
 '__package__',
 '__path__',
 '__spec__']

@lucky630 Not sure the root cause. Seems that no submodules are included. You may uninstall and reinstall it again. BTW, my bazel version is 4.2.1.
Once installed, for me, the __init__.py in the corresponding directory site-packages/tensorflow_gnn should be as follows:
from tensorflow_gnn.graph import graph_tensor_encode
from tensorflow_gnn.graph import graph_tensor_io
from tensorflow_gnn.graph import graph_tensor_ops
from tensorflow_gnn.graph import graph_tensor_pprint
from tensorflow_gnn.graph import graph_tensor_random
from tensorflow_gnn.graph import keras  # For use as a subpackage.
from tensorflow_gnn.graph import normalization_ops
from tensorflow_gnn.graph import schema_utils
from tensorflow_gnn.graph import schema_validation
from tensorflow_gnn.proto import graph_schema
...

I'm installing this on Google Colab and for me, the init.py is the same but it still not working

@Maximilianxu
Thanks for your investigation which saved a lot of my time.
It works for me.

Hi, original author the Issue here.
Missed the extensive discussion here 😅  Can I please get a TLDR on what I need to do to get tf-gnn working on my system?
Thanks!

Maybe this issue could be pinned so others facing this specific installation error (due to the bazel build) can easily fix it? @sibonli @janpfeifer
The solution is to simply remove the "//tensorflow_gnn/sampler:sampling_spec_pb2.py" line from package/BUILD and run installation step 4 (from the README) again.


Multiple DragSelectRecyclerViewAdapters in one parent

The current save/restore logic does not allow to use multiple DragSelectRecyclerViewAdapter in one activity...
Following would solve that (I just added a custom bundle prefix to the keys):
    public void saveInstanceState(Bundle out) {
        saveInstanceState("", out);
    }

    public void restoreInstanceState(Bundle in) {
        return restoreInstanceState("", in);
    }

	public void saveInstanceState(String baseKey, Bundle out) {
        out.putSerializable(baseKey + "selected_indices", this.mSelectedIndices);
    }

    public void restoreInstanceState(String baseKey, Bundle in) {
        if(in != null && in.containsKey(baseKey + "selected_indices")) {
            this.mSelectedIndices = (ArrayList)in.getSerializable(baseKey + "selected_indices");
            if(this.mSelectedIndices == null) {
                this.mSelectedIndices = new ArrayList();
            } else {
                this.fireSelectionListener();
            }
        }
    }

EDIT
Another good addition would be to add a boolean return value to restoreInstanceState. When I extend your adapter, I may want to read additional data from the bundle and could use the return value to avoid to have to recheck if some data is available in the bundle...

https://github.com/afollestad/drag-select-recyclerview/releases/tag/0.3.4


ENH: Screencast of coreg

Would help people use mne_analyze and/or mne coreg gui to do coregistration.

+1

This would be great to have !

We have slides in the docs that seem reasonable:
https://mne.tools/stable/generated/mne.gui.coregistration.html
But if someone is passionate about this, let's reopen

I still think that it would be a very valuable thing to have. The only
thing I really need
to show people in live demos is coregistration. The order of stuff to
do, the things
to pay attention to etc. are much easier to grasp with an interactive
video I think.


Added support for inheriting parameter annotations on overriden methods.

One of the things I've run into using Jersey2 is that if I have a method with parameter annotations that is overriden, Swagger ends up giving the parameter a name of "body". This happens even if I also add a meaningful @ApiParam annotation to the parameter on the overriding method. You can see this by the following code I added in ReaderTest.scanOverridenMethod that fails without these changes:
        Swagger swagger = getSwagger(DescendantResource.class);
        Operation overriddenMethodWithTypedParam = getGet(swagger, "/pet/{petId1}");
        assertNotNull(overriddenMethodWithTypedParam);
        Parameter firstParameter = overriddenMethodWithTypedParam.getParameters().get(0);
        assertEquals(firstParameter.getDescription(), "ID of pet to return child");
        assertEquals(firstParameter.getName(), "petId1");

The implementation here is similar to the way Reader.getAnnotation(Method,... handles looking at overriden methods for method annotations, but in this case, it merges parameter annotations per parameter. It also allows parameter annotations to be overridden by preferring annotations on derived classes, when annotations have the same type.
I also fixed a problem I ran into that I commented on here: https://github.com/swagger-api/swagger-core/commit/818d23f

@frantuma - can you review this please? If it makes sense, we can ask @briandelaney to rebase and we'll merge.

@webron @briandelaney
I believe the direction is ok, but it doesn't address fully the issue, and also with current code it introduces a wrong behaviour when 2 contrasting JAX-RS param annotations are set on sub and super.
A possible idea is to better adhere to JAX-RS spec, implementing the same behaviour defined in the spec, i.e. inherit JAX-RS annotations if no JAX-RS annotation is defined in the child.
It would mean enhancing @briandelaney code handling JAX-RS annotations according to spec
Please let me know what you think

JAX-RS annotations MAY be used on the methods and method parameters of a super-class or an implemented interface. Such annotations are inherited by a corresponding sub-class or implementation class method provided that method and its parameters do not have any JAX-RS annotations of its own. Annotations on a super-class take precedence over those on an implemented interface. If a subclass or implementation method has any JAX-RS annotations then all of the annotations on the super class or interface method are ignored. E.g.:

public interface ReadOnlyAtomFeed {
    @GET @Produces("application/atom+xml")
    Feed getFeed();
}

@Path("feed")
public class ActivityLog implements ReadOnlyAtomFeed {
    public Feed getFeed() {...}
}

In the above, ActivityLog.getFeed inherits the @GET and @Produces annotations from the interface. Conversely:

@Path("feed")
public class ActivityLog implements ReadOnlyAtomFeed {
    @Produces("application/atom+xml")
    public Feed getFeed() {...}
}

In the above, the @GET annotation on ReadOnlyAtomFeed.getFeed is not inherited by ActivityLog
.getFeed

This PR has drifted a bunch from the codebase and I believe we've moved in a slightly different direction


Latest node template fails to build

Is there an existing issue?

[X] I have searched the existing issues

Experiencing problems? Have you tried our Stack Exchange first?

[X] This is not a support question.

Description of bug
Compiling the current main tip (commit 87b1b4728e29f68c6b2bafde7f3d0f4c8af9b302) of the node template results in this error:
   Compiling node-template-runtime v4.0.0-dev (/home/werk/Code/substrate-node-template/runtime)
error: failed to run custom build command for `node-template-runtime v4.0.0-dev (/home/werk/Code/substrate-node-template/runtime)`

Caused by:
  process didn't exit successfully: `/home/werk/Code/substrate-node-template/target/debug/build/node-template-runtime-5ecf88b7b75beaf9/build-script-build` (exit status: 1)
  --- stderr
  Cannot compile the WASM runtime: no compatible Rust compiler found!
  Install at least Rust 1.68.0 or a recent nightly version.

I am able to successfully compile commit tagged as polkadot-v0.9.40.
I am using rust 1.69 with wasm backend and nighly options enabled.

Steps to reproduce
substrate-node-template> git checkout 87b1b4728e29f68c6b2bafde7f3d0f4c8af9b302
substrate-node-template> cargo c

Some similar reports seem to be made here: https://github.com/paritytech/substrate/issues/12791

In case this failure is related to https://github.com/paritytech/substrate/pull/13580:

$ rustc --version
rustc 1.69.0-nightly (84c898d65 2023-04-16) (gentoo)
$ cargo --version
cargo 1.69.0-nightly

Version::extract("cargo 1.69.0-nightly").unwrap(); // panicked at 'called Option::unwrap() on a None value'

Since the checking code accepts any nightly a workaround is to: export RUSTC_BOOTSTRAP=1

I got the same error, but the root cause differs.
  The following warnings were emitted during compilation:

  warning: error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-unknown"'
  warning: 1 error generated.

  error: failed to run custom build command for `secp256k1-sys v0.6.1`

  Caused by:
    process didn't exit successfully: `/Users/jasl/Workspaces/BlockChain/cybros-network/target/release/wbuild/cybros-primal-runtime/target/release/build/secp256k1-sys-9d0d23adcf50967f/build-script-build` (exit status: 1)
    --- stdout
    TARGET = Some("wasm32-unknown-unknown")
    OPT_LEVEL = Some("3")
    HOST = Some("aarch64-apple-darwin")
    cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
    CC_wasm32-unknown-unknown = None
    cargo:rerun-if-env-changed=CC_wasm32_unknown_unknown
    CC_wasm32_unknown_unknown = None
    cargo:rerun-if-env-changed=TARGET_CC
    TARGET_CC = None
    cargo:rerun-if-env-changed=CC
    CC = None
    cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
    CFLAGS_wasm32-unknown-unknown = None
    cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
    CFLAGS_wasm32_unknown_unknown = None
    cargo:rerun-if-env-changed=TARGET_CFLAGS
    TARGET_CFLAGS = None
    cargo:rerun-if-env-changed=CFLAGS
    CFLAGS = None
    cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
    CRATE_CC_NO_DEFAULTS = None
    DEBUG = Some("false")
    cargo:rerun-if-env-changed=CC_wasm32-unknown-unknown
    CC_wasm32-unknown-unknown = None
    cargo:rerun-if-env-changed=CC_wasm32_unknown_unknown
    CC_wasm32_unknown_unknown = None
    cargo:rerun-if-env-changed=TARGET_CC
    TARGET_CC = None
    cargo:rerun-if-env-changed=CC
    CC = None
    cargo:rerun-if-env-changed=CFLAGS_wasm32-unknown-unknown
    CFLAGS_wasm32-unknown-unknown = None
    cargo:rerun-if-env-changed=CFLAGS_wasm32_unknown_unknown
    CFLAGS_wasm32_unknown_unknown = None
    cargo:rerun-if-env-changed=TARGET_CFLAGS
    TARGET_CFLAGS = None
    cargo:rerun-if-env-changed=CFLAGS
    CFLAGS = None
    cargo:rerun-if-env-changed=CRATE_CC_NO_DEFAULTS
    CRATE_CC_NO_DEFAULTS = None
    running: "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=wasm32-unknown-unknown" "-I" "depend/secp256k1/" "-I" "depend/secp256k1/include" "-I" "depend/secp256k1/src" "-I" "wasm/wasm-sysroot" "-Wall" "-Wextra" "-DSECP256K1_API=" "-DENABLE_MODULE_ECDH=1" "-DENABLE_MODULE_SCHNORRSIG=1" "-DENABLE_MODULE_EXTRAKEYS=1" "-DUSE_NUM_NONE=1" "-DUSE_FIELD_INV_BUILTIN=1" "-DUSE_SCALAR_INV_BUILTIN=1" "-DECMULT_GEN_PREC_BITS=4" "-DECMULT_WINDOW_SIZE=15" "-DUSE_EXTERNAL_DEFAULT_CALLBACKS=1" "-o" "/Users/jasl/Workspaces/BlockChain/cybros-network/target/release/wbuild/cybros-primal-runtime/target/wasm32-unknown-unknown/release/build/secp256k1-sys-1854092b76a525fb/out/wasm/wasm.o" "-c" "wasm/wasm.c"
    cargo:warning=error: unable to create target: 'No available targets are compatible with triple "wasm32-unknown-unknown"'
    cargo:warning=1 error generated.
    exit status: 1

    --- stderr

    error occurred: Command "clang" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "--target=wasm32-unknown-unknown" "-I" "depend/secp256k1/" "-I" "depend/secp256k1/include" "-I" "depend/secp256k1/src" "-I" "wasm/wasm-sysroot" "-Wall" "-Wextra" "-DSECP256K1_API=" "-DENABLE_MODULE_ECDH=1" "-DENABLE_MODULE_SCHNORRSIG=1" "-DENABLE_MODULE_EXTRAKEYS=1" "-DUSE_NUM_NONE=1" "-DUSE_FIELD_INV_BUILTIN=1" "-DUSE_SCALAR_INV_BUILTIN=1" "-DECMULT_GEN_PREC_BITS=4" "-DECMULT_WINDOW_SIZE=15" "-DUSE_EXTERNAL_DEFAULT_CALLBACKS=1" "-o" "/Users/jasl/Workspaces/BlockChain/cybros-network/target/release/wbuild/cybros-primal-runtime/target/wasm32-unknown-unknown/release/build/secp256k1-sys-1854092b76a525fb/out/wasm/wasm.o" "-c" "wasm/wasm.c" with args "clang" did not execute successfully (status code exit status: 1).

  warning: build failed, waiting for other jobs to finish...
warning: build failed, waiting for other jobs to finish...

I know the error. It only occurs on macOS with Xcode bundled LLVM, and the WASM target has C binding crates. Changing to the Homebrew LLVM will solve the problem. It's just annoying.
The problem introduced to node-template from https://github.com/paritytech/substrate/pull/14452

@jasl yes this is not related and is caused by the pr you linked.


Prompt produce an error with StaticRouter

Version
4.0.0-beta.6
Test Case
Use Prompt component with server side rendering (isomorphic app)
Steps to reproduce
Use Prompt inside a Route component  with StaticRouter
<StaticRouter location={request.url} context={reactRouterContext}>
  <Switch>
    <Route exact path="/" component={Home} /> // Prompt inside Home component
  </Switch>
</StaticRouter>

Expected Behavior
Component rendered normally
Actual Behavior
It produce an error in server, page cannot load otherwise if I request  another route without prompt and navigate back to Home it works as expected. This is an error message from server.
Warning: Failed context type: The context `router.block` is marked as required in `Prompt`, but its value is `undefined`.

Thanks for finding this. Merged in a fix just now.


[explore v2] add scrollbar to control panel container

added scroll bars to control panel

made query/save buttons block elements. not totally sure about this yet, but wanted to try it out.

@vera-liu @williaster @mistercrunch @bkyryliuk

This is an excellent feature to have!


Reload doesn't work inside of docker

When I have granian setup for my project, reloading works perfectly when I run it outside of docker but inside it only says
web-1  | [INFO] Changes detected, reloading workers..
web-1  | [INFO] Modified: /app/src/articles/models/articles.py
web-1  | [INFO] Modified: /app/src/articles/models
web-1  | [INFO] Stopping worker-1
web-1  | [INFO] Stopping worker-1 runtime-1

and then keeps on hanging
I've tried using both  docker watch and just bind mounts with both having the same result
python: 3.13.1
granian: (installed with reload) 1.7.1

@JasonLovesDoggo I'm not sure why the worker is hanging on docker, but you can set --workers-kill-timeout N with N set to few seconds and have Granian force-stopping the worker.

--workers-kill-timeout

That seems to do the trick. I've set the N to 0.5 and it's working fine. Thanks!
output is now
web-1   | [INFO] Modified: /app/src/api
web-1   | [INFO] Modified: /app/src/api/views.py
web-1   | [INFO] Stopping worker-1
web-1   | [INFO] Stopping worker-1 runtime-1
web-1   | [WARNING] Killing worker-0 after it refused to gracefully stop
web-1   | [INFO] Spawning worker-1 with pid: 124
web-1   | [INFO] Started worker-1
web-1   | [INFO] Started worker-1 runtime-1

For any more context, my full cmd is granian src.wsgi:application  --host <IP_ADDRESS> --port 8000 --no-ws --interface wsgi --loop auto --reload --workers-kill-timeout 0.5 (for development) and this is for a django 4.2 app.
Is there any performance penalty for me lowering the timeout to even lower? say 0.1?

Would it be possible to enable lower values than 1 in the timeout if there isn't going to be any work into investigating the underlying issue?

I don't think values lower than 1 second is a good idea. Would be nicer to understand the actual underlying issue you're facing on docker.

After some digging, it appears to be a limitation of the windows SMB
protocol which docker uses to sync.
https://forums.docker.com/t/file-system-watch-does-not-work-with-mounted-volumes/12038/19
describes the issue and
https://github.com/merofeev/docker-windows-volume-watcher is a fix (haven't
tested)
On Mon, Dec 30, 2024, 05:01 Giovanni Barillari @.***>
wrote:

Would it be possible to enable lower values than 1 in the timeout if there
isn't going to be any work into investigating the underlying issue?
I don't think values lower than 1 second is a good idea. Would be nicer to
understand the actual underlying issue you're facing on docker.
—
Reply to this email directly, view it on GitHub
https://github.com/emmett-framework/granian/issues/470#issuecomment-2565266132,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AP3WJYVYAAL6XOY43ZSSQFL2IEKWPAVCNFSM6AAAAABUBN7XVWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRVGI3DMMJTGI
.
You are receiving this because you were mentioned.Message ID:
@.***>


I can't install  nem2-secret-sharing

Describe the bug
when I want to install nem2-secret-sharing, I got error.
To Reproduce
npm install nem2-secret-sharing
Screenshots
https://gist.github.com/xembook/b7d02398b4b99948f2720aae71a40290
Environment

Amazon Linux release 2 (Karoo)
nodejs v12.16.2

If you notice anything, please let me know.

Hi, I just got around to updating this library.  Try it now and see if it works!