cannot find package “go.opentelemetry.io/otel/api/trace” in any of
cannot find package “go.opentelemetry.io/otel/api/global” in any of
cannot find package “go.opentelemetry.io/otel/api/metric” in any of
…
cannot find package “go.opentelemetry.io/otel/api/global” in any of
cannot find package “go.opentelemetry.io/otel/api/metric” in any of
…
Solution:
Create a new folder named go.opentelemetry.io for the $GOPATH/src directory, and then download the package.
git clone https://github.com/open-telemetry/opentelemetry-go $GOPATH/src/go.opentelemetry.io/otel
Replace $GOPATH with your $GOPATH directory, the same way under Linux
Create a new folder named go.opentelemetry.io for the $GOPATH/src directory, and then download the package.
git clone https://github.com/open-telemetry/opentelemetry-go $GOPATH/src/go.opentelemetry.io/otel
Replace $GOPATH with your $GOPATH directory, the same way under Linux
Read More:
- [Solved] Golang Error: main.go:5:2: package go_code/chapter10/factory/model is not in GOROOT
- [Solved] Error: error getting chaincode bytes: ‘go list‘ failed with: cannot find module providing package
- [Solved] Segyio Error: Runtime Error trace count inconsistent with file size, trace lengths … #401
- [Go] Solve can’t load package: cannot find module providing package github.com/xxxxx
- [GO] The entry file under the main package in golang calls other go file functions and appears undefined
- Go build package error: TARGET_OS_MAC & IOMasterPort
- [ubuntu14.04]Tensorflow: Could not find any downloads that satisfy the requirement
- [Solved] VScode Error: build constraints exclude all Go files in syscall\js
- [Solved] Error running ‘go build myfir_go_project‘: Cannot run program
- Go declares that the local variable does not use command line arguments. Main. Go: 4:6: a declared but not used
- [Solved] ambiguous import: found package github.com/spf13/cobra/cobra in multiple modules
- [Solved] .\main.go:3:6: missing function body .\main.go:4:1: syntax error: unexpected semicolon or newline be
- Go Language Error: main redeclared in this block [How to Solve]
- [Solved] VScode Error: find_package(catkin) failed
- [Solved] Could not find a package configuration file provided by “moveit_core“
- [Solved] Go Get Download Dependency Error: is not using a known version control system
- [Solved] Error: Cannot find module ‘webpack-cli/package.json‘
- Docker run Error: container_linux.go:235: starting container process caused “process_linux.go:258: appl
- [Solved] UE4 Error: Couldn‘t find file for package *** requested by async loading code. NameToLoad: ***