如图:
build projectalpha/crawler: cannot find module for path golang.org/x/text/encoding/simplifiedchinese
Compilation finished with exit code 1
但是这个已经下载完了.
gopm get -g -v golang.org/x/text
[GOPM] 11-16 12:55:41 [ INFO] App Version: 0.8.8.0307 Beta
[GOPM] 11-16 12:55:41 [ INFO] Local repository path: /Users/kevin/.gopm/repos
[GOPM] 11-16 12:55:41 [ INFO] Indicated GOPATH: /Users/kevin/go
[GOPM] 11-16 12:55:41 [ INFO] /Users/kevin/.gopm/repos/golang.org/x/text
[GOPM] 11-16 12:55:41 [DEBUG] Skipped installed package: golang.org/x/text@branch:
[GOPM] 11-16 12:55:42 [ INFO] Package copied to GOPATH: golang.org/x/text
[GOPM] 11-16 12:55:42 [ INFO] 0 package(s) downloaded, 0 failed
关宇gopath设置:
YouDideMacBook-Pro:projectalpha kevin$ echo KaTeX parse error: Expected 'EOF', got '目' at position 25: …Users/kevin/go
目̲录结构:
YouDideMa… pwd
/Users/kevin/go/src
YouDideMacBook-Pro:src kevin$ ls
github.com golang.org projectalpha ----项目目录
YouDideMacBook-Pro:src kevin$
idea 相关信息?
版本; 2018.2.5
idea 中gopath 设置 ?
问题出在哪里?