Error while running bootstrap.sh , incompatibility with go in mac

23 views
Skip to first unread message

Sanket Arora

unread,
Jan 31, 2019, 1:58:35 AM1/31/19
to vitess
Hi,

I am receiving following error while running bootstrap.sh

WARNING: $GOROOT may not be compatible with the used go binary
Please make sure 'go' comes from $GOROOT/bin
go_env: /usr/local/opt/go
go_bin: /usr/local/bin/go
installing gRPC 1.16.0
./bootstrap.sh: line 143: virtualenv: command not found
ERROR: gRPC build failed

OS: OS X
echo $PATH
/usr/local/opt/mysql@5.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/opt/go/bin

echo $GOROOT
/usr/local/opt/go


echo $GOPATH
/usr/local/opt/go/bin

Sanket Arora

unread,
Feb 1, 2019, 1:58:03 AM2/1/19
to vitess
Issue resolved:

Issue was due to multiple python version installed.
it was not able to find virtualenv. I used pip3 to install virtualenv

Simon Mudd

unread,
Feb 5, 2019, 7:57:58 AM2/5/19
to vit...@googlegroups.com
Hi,

On 1 Feb 2019, at 07:58, Sanket Arora <sanketar...@gmail.com> wrote:

Issue resolved:

Issue was due to multiple python version installed.
it was not able to find virtualenv. I used pip3 to install virtualenv

I have also been bitten by 'python issues’ when building Vitess on OSX. However, I’m not too sure the best way to handle this
as seamlessly as possible.  A more reliable build process would be good.

Simon



On Thursday, January 31, 2019 at 12:28:35 PM UTC+5:30, Sanket Arora wrote:
Hi,

I am receiving following error while running bootstrap.sh

WARNING: $GOROOT may not be compatible with the used go binary
Please make sure 'go' comes from $GOROOT/bin
go_env: /usr/local/opt/go
go_bin: /usr/local/bin/go
installing gRPC 1.16.0
./bootstrap.sh: line 143: virtualenv: command not found
ERROR: gRPC build failed

OS: OS X
echo $PATH
/usr/local/opt/mysql@5.6/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin:/usr/local/opt/go/bin

echo $GOROOT
/usr/local/opt/go


echo $GOPATH
/usr/local/opt/go/bin


--
You received this message because you are subscribed to the Google Groups "vitess" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vitess+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages