在Windows(win8.1)上,$GOROOT=D:\go, $GOPATH=D:\projects\go\goprac,<br>
我在project(demo from [gopm][1])
中有directory(G:\\)
,当我运行命令“gopm build”时,出现错误
g:\Demo>gopm build<br>
[GOPM] [36m14-12-20 12:49:26[0m [[35mFATAL[0m] fail to list imports:<br>
fail to get imports(Demo): cannot find package "Demo" in any of:<br>
D:\go\src\Demo (from $GOROOT)<br>
g:\Demo\.vendor\src\Demo (from $GOPATH)<br>
D:\project\go\goprac\src\Demo
但是,win7上的相同代码成功运行。在两侧,我通过命令“go get -u github.com/gpmgo/gopm”安装gopm,并将“gopm.exe”路径添加到$ PATH变量中
任何人都知道这个问题吗?