dsf487787 2015-07-10 06:46 采纳率: 100%
浏览 458
已采纳

无法安装golang.org/x/crypto/bcrypt

I trying install InfluxDB client. But installation failed. This is my trace:

go get -u -v -x github.com/influxdb/influxdb/client
github.com/influxdb/influxdb (download)
...
git remote -v
Fetching https://golang.org/x/crypto/bcrypt?go-get=1
[1]    6625 segmentation fault (core dumped)  go get -u -v -x github.com/influxdb/influxdb/client

I did not find package golang.org/x/crypto/bcrypt into GOROOT and GOPATH.

When I trying install crypto/bcrypt I have this error:

go get -u -v golang.org/x/crypto/bcrypt
Fetching https://golang.org/x/crypto/bcrypt?go-get=1
[1]    7667 segmentation fault (core dumped)  go get -u -v golang.org/x/crypto/bcrypt

How I can install golang.org/x/crypto/bcrypt?

My golang version is go version go1.4.2 gccgo

  • 写回答

2条回答 默认 最新

  • douguachan2879 2015-07-10 09:32
    关注

    I found temporary solution.

    Library golang.org/x/crypto/bcrypt has mirror on github.

    Create folder src/golang.org/x/ into you GOPATH.

    mkdir -p $GOPATH/src/golang.org/x/
    

    Then clone crypto from github.

    cd $GOPATH/src/golang.org/x/
    git clone git@github.com:golang/crypto.git
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥20 全书网Java爬取数据
  • ¥15 SAP HANA SQL Script 。SUM OVER 怎么加where
  • ¥15 怎么获取红包封面的原始链接,并且获取红包封面序列号
  • ¥100 微信小程序跑脚本授权的问题
  • ¥60 为什么使用python对地震数据进行umap降维后,数据成图会出现不连续的现象
  • ¥100 房产抖音小程序苹果搜不到安卓可以付费悬赏
  • ¥15 STM32串口接收问题
  • ¥15 腾讯IOA系统怎么在文件夹里修改办公网络的连接
  • ¥15 filenotfounderror:文件是存在的,权限也给了,但还一直报错
  • ¥15 MATLAB和mosek的求解问题