半年不用go了,今天安装godep出现错。

hhy5861 · · 1958 次点击 · 开始浏览    置顶
这是一个创建于 的主题,其中的信息可能已经有所发展或是发生改变。
Mike_QC-MacBook_Pro:go Mike$ go get github.com/tools/godep package bufio: unrecognized import path "bufio" package bytes: unrecognized import path "bytes" package encoding/json: unrecognized import path "encoding/json" package errors: unrecognized import path "errors" package flag: unrecognized import path "flag" package fmt: unrecognized import path "fmt" package io/ioutil: unrecognized import path "io/ioutil" package os: unrecognized import path "os" package path/filepath: unrecognized import path "path/filepath" package io: unrecognized import path "io" package math: unrecognized import path "math" package log: unrecognized import path "log" package reflect: unrecognized import path "reflect" package strconv: unrecognized import path "strconv" package text/tabwriter: unrecognized import path "text/tabwriter" package strings: unrecognized import path "strings" package encoding/xml: unrecognized import path "encoding/xml" package net/http: unrecognized import path "net/http" package net/url: unrecognized import path "net/url" package os/exec: unrecognized import path "os/exec" package regexp: unrecognized import path "regexp" package go/ast: unrecognized import path "go/ast" package go/build: unrecognized import path "go/build" package go/parser: unrecognized import path "go/parser" package go/printer: unrecognized import path "go/printer" package go/token: unrecognized import path "go/token" package path: unrecognized import path "path" package runtime: unrecognized import path "runtime" package sort: unrecognized import path "sort" package text/template: unrecognized import path "text/template" package unicode: unrecognized import path "unicode" 请问啥解决了呀。挂着翻墙的。GOPATH也是设置了的。求助呀 GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Volumes/Code/golang" GORACE="" GOROOT="/usr/local/go/bin" GOTOOLDIR="/usr/local/go/bin/pkg/tool/darwin_amd64" GO15VENDOREXPERIMENT="" CC="clang" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common" CXX="clang++" CGO_ENABLED="1"

有疑问加站长微信联系(非本文作者)

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:701969077

1958 次点击  
加入收藏 微博
3 回复  |  直到 2015-12-10 09:20:40
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传