facebookresearch / Clinical-Trial-Parser

Library for converting clinical trial eligibility criteria to a machine-readable format.
Apache License 2.0
163 stars 58 forks source link

Facing the following error when running ./script/cfg_parse.sh #8

Closed anirbanmishra closed 4 years ago

anirbanmishra commented 4 years ago

Clinical-Trial-Parser amishr02$ ./script/cfg_parse.sh src/common/resource/resource.go:10:2: cannot find package "github.com/golang/glog" in any of: /usr/local/go/src/github.com/golang/glog (from $GOROOT) /Users/amishr02/PycharmProjects/Clinical-Trials/src/github.com/golang/glog (from $GOPATH) src/common/util/text/text.go:13:2: cannot find package "golang.org/x/text/transform" in any of: /usr/local/go/src/golang.org/x/text/transform (from $GOROOT) /Users/amishr02/PycharmProjects/Clinical-Trials/src/golang.org/x/text/transform (from $GOPATH) src/common/util/text/text.go:14:2: cannot find package "golang.org/x/text/unicode/norm" in any of: /usr/local/go/src/golang.org/x/text/unicode/norm (from $GOROOT) /Users/amishr02/PycharmProjects/Clinical-Trials/src/golang.org/x/text/unicode/norm (from $GOPATH) CFG parser failed.

I know I am missing something but cannot figure it out.

salkola commented 4 years ago

Your GOPATH may be set incorrectly. Please see the developer guide or Issue #1.

anirbanmishra commented 4 years ago

My GOPATH is set as follows echo $GOPATH /Users/amishr02/PycharmProjects/Clinical-Trials and I cloned the directory to: $GOPATH/src/github.com/facebookresearch/Clinical-Trial-Parser

salkola commented 4 years ago

That looks good. Have you run go get -u ./... in the project root directory ($GOPATH/src/github.com/facebookresearch/Clinical-Trial-Parser)?