TDengine icon indicating copy to clipboard operation
TDengine copied to clipboard

Trying to import CSV with TAOS IMPORT , but got an error while compiling time as below

Open se7enshidb opened this issue 5 years ago • 1 comments

[root@sdw3 importSampleData]$ GO111MODULE=off go build -o bin/taosimport app/main.go import/import_config.go:9:2: cannot find package "github.com/pelletier/go-toml" in any of: /usr/lib/golang/src/github.com/pelletier/go-toml (from $GOROOT) /home/shidb/gitrepo/go/src/github.com/pelletier/go-toml (from $GOPATH) app/main.go:22:2: cannot find package "github.com/taosdata/driver-go/taosSql" in any of: /usr/lib/golang/src/github.com/taosdata/driver-go/taosSql (from $GOROOT) /home/shidb/gitrepo/go/src/github.com/taosdata/driver-go/taosSql (from $GOPATH)

@plum-lihui

同时taosdemox也无法导入指定的csv文件 https://www.taosdata.com/blog/2020/12/29/2135.html

se7enshidb avatar Mar 09 '21 03:03 se7enshidb

Please refer to https://stackoverflow.com/questions/13214029/go-build-cannot-find-package-even-though-gopath-is-set.

cpvmrd avatar Mar 22 '21 14:03 cpvmrd