Go get error Unrecognized import path "Golang.org/x/net/context" ...

Source: Internet
Author: User
Tags install go

Install the Gin framework today, first download the gin, the command is as follows:
Go get github.com/mattn/go-sqlite3


Result Error:

Package golang.org/x/net/context:unrecognized Import Path "Golang.org/x/net/context" (https Fetch:get https:// Golang.org/x/net/context?go-get=1:dial TCP 216.239.37.1:443:CONNECTEX:A connection attempt failed because the CONNECTE D party didn't properly respond after a period of time, or established connection failed because connected host had Faile D to respond.)

The way to do this is:

?
1 2 3 4 $ mkdir -p $GOPATH /src/golang .org /x/ $ CD $GOPATH /src/golang .org Code class= "Bash plain" >/x/ $git clone https: //github .com / Golang/net .git net $go install net

Install the net package, and then install Go-sqlite3, the installation is successful.

Go get error Unrecognized import path "Golang.org/x/net/context" ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.