Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while installing httpx on Ubuntu #2022

Open
hacback17 opened this issue Dec 3, 2024 · 1 comment
Open

Error while installing httpx on Ubuntu #2022

hacback17 opened this issue Dec 3, 2024 · 1 comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.

Comments

@hacback17
Copy link

hacback17 commented Dec 3, 2024

When I download httpx, it produces this error (please see it towards the end).

OS: Linux tcmvm 6.8.0-47-generic #47~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Oct 2 16:16:55 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

I am not sure what it's asking me to do. I have installed go:
go version go1.19.2 linux/amd64

$ go install -v github.com/projectdiscovery/httpx/cmd/httpx@latest
go: downloading github.com/projectdiscovery/httpx v1.6.9
go: downloading github.com/logrusorgru/aurora v2.0.3+incompatible
go: downloading github.com/projectdiscovery/gologger v1.1.25
go: downloading github.com/projectdiscovery/utils v0.2.12
go: downloading github.com/projectdiscovery/retryablehttp-go v1.0.81
go: downloading github.com/Mzack9999/gcache v0.0.0-20230410081825-519e28eab057
go: downloading github.com/PuerkitoBio/goquery v1.8.1
go: downloading github.com/corona10/goimagehash v1.1.0
go: downloading github.com/go-faker/faker/v4 v4.1.1
go: downloading github.com/go-rod/rod v0.114.0
go: downloading github.com/go-viper/mapstructure/v2 v2.1.0
go: downloading github.com/mfonda/simhash v0.0.0-20151007195837-79f94a1100d6
go: downloading github.com/pkg/errors v0.9.1
go: downloading github.com/projectdiscovery/asnmap v1.1.1
go: downloading github.com/projectdiscovery/cdncheck v1.1.0
go: downloading github.com/projectdiscovery/clistats v0.1.1
go: downloading github.com/projectdiscovery/dsl v0.2.5
go: downloading github.com/projectdiscovery/fastdialer v0.2.9
go: downloading github.com/projectdiscovery/fdmax v0.0.4
go: downloading github.com/projectdiscovery/goconfig v0.0.1
go: downloading github.com/projectdiscovery/goflags v0.1.64
go: downloading github.com/projectdiscovery/hmap v0.0.61
go: downloading github.com/projectdiscovery/mapcidr v1.1.34
go: downloading github.com/projectdiscovery/networkpolicy v0.0.9
go: downloading github.com/projectdiscovery/ratelimit v0.0.54
go: downloading github.com/projectdiscovery/rawhttp v0.1.68
go: downloading github.com/projectdiscovery/tlsx v1.1.7
go: downloading github.com/projectdiscovery/wappalyzergo v0.1.22
go: downloading golang.org/x/exp v0.0.0-20240506185415-9bf2ced13842
go: downloading golang.org/x/term v0.24.0
go: downloading gopkg.in/yaml.v3 v3.0.1
go: downloading github.com/json-iterator/go v1.1.12
go: downloading github.com/mholt/archiver/v3 v3.5.1
go: downloading gopkg.in/djherbis/times.v1 v1.3.0
go: downloading github.com/Masterminds/semver/v3 v3.2.1
go: downloading github.com/charmbracelet/glamour v0.8.0
go: downloading github.com/cheggaaa/pb/v3 v3.1.4
go: downloading github.com/google/go-github/v30 v30.1.0
go: downloading github.com/google/uuid v1.6.0
go: downloading github.com/minio/selfupdate v0.6.1-0.20230907112617-f11e74f84ca7
go: downloading github.com/projectdiscovery/machineid v0.0.0-20240226150047-2e2c51e35983
go: downloading github.com/zcalusic/sysinfo v1.0.2
go: downloading golang.org/x/oauth2 v0.18.0
go: downloading github.com/Mzack9999/go-http-digest-auth-client v0.6.1-0.20220414142836-eb8883508809
go: downloading golang.org/x/net v0.29.0
go: downloading github.com/andybalholm/cascadia v1.3.2
go: downloading github.com/nfnt/resize v0.0.0-20180221191011-83c6a9932646
go: downloading golang.org/x/text v0.18.0
go: downloading github.com/ysmood/goob v0.4.0
go: downloading github.com/ysmood/got v0.34.1
go: downloading github.com/ysmood/gson v0.7.3
go: downloading github.com/ysmood/fetchup v0.2.3
go: downloading github.com/ysmood/leakless v0.8.0
go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2
go: downloading github.com/projectdiscovery/retryabledns v1.0.78
go: downloading github.com/gaissmai/bart v0.9.5
go: downloading github.com/weppos/publicsuffix-go v0.30.2
go: downloading github.com/projectdiscovery/freeport v0.0.7
go: downloading github.com/Knetic/govaluate v3.0.1-0.20171022003610-9aa49832a739+incompatible
go: downloading github.com/hashicorp/go-version v1.6.0
go: downloading github.com/kataras/jwt v0.1.10
go: downloading github.com/projectdiscovery/gostruct v0.0.2
go: downloading github.com/spaolacci/murmur3 v1.1.0
go: downloading github.com/dimchansky/utfbom v1.1.1
go: downloading github.com/docker/go-units v0.5.0
go: downloading github.com/refraction-networking/utls v1.6.7
go: downloading github.com/zmap/zcrypto v0.0.0-20240512203510-0fef58d9a9db
go: downloading gopkg.in/ini.v1 v1.67.0
go: downloading github.com/cnf/structhash v0.0.0-20201127153200-e1b16c1ebc08
go: downloading github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510
go: downloading github.com/hdm/jarm-go v0.0.7
go: downloading go.uber.org/multierr v1.11.0
go: downloading github.com/hbakhtiyor/strsim v0.0.0-20190107154042-4d2bbb273edf
go: downloading github.com/microcosm-cc/bluemonday v1.0.27
go: downloading github.com/projectdiscovery/useragent v0.0.69
go: downloading github.com/rs/xid v1.5.0
go: downloading github.com/jaytaylor/html2text v0.0.0-20230321000545-74c2419ad056
go: downloading github.com/projectdiscovery/blackrock v0.0.1
go: downloading golang.org/x/time v0.5.0
go: downloading github.com/mattn/go-isatty v0.0.20
go: downloading github.com/dsnet/compress v0.0.2-0.20210315054119-f66993602bf5
go: downloading github.com/klauspost/compress v1.17.8
go: downloading github.com/miekg/dns v1.1.59
go: downloading github.com/tidwall/gjson v1.17.1
go: downloading github.com/saintfish/chardet v0.0.0-20230101081208-5e3ef4b5456d
go: downloading github.com/cloudflare/cfssl v1.6.4
go: downloading golang.org/x/sys v0.25.0
go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd
go: downloading github.com/modern-go/reflect2 v1.0.2
go: downloading github.com/andybalholm/brotli v1.1.0
go: downloading github.com/golang/snappy v0.0.4
go: downloading github.com/klauspost/pgzip v1.2.6
go: downloading github.com/nwaples/rardecode v1.1.3
go: downloading github.com/pierrec/lz4/v4 v4.1.21
go: downloading github.com/ulikunitz/xz v0.5.12
go: downloading github.com/xi2/xz v0.0.0-20171230120015-48954b6210f8
go: downloading github.com/muesli/termenv v0.15.3-0.20240618155329-98d742f6907a
go: downloading github.com/yuin/goldmark v1.7.4
go: downloading github.com/yuin/goldmark-emoji v1.0.3
go: downloading github.com/VividCortex/ewma v1.2.0
go: downloading github.com/fatih/color v1.16.0
go: downloading github.com/mattn/go-colorable v0.1.13
go: downloading github.com/mattn/go-runewidth v0.0.16
go: downloading github.com/google/go-querystring v1.1.0
go: downloading golang.org/x/crypto v0.27.0
go: downloading aead.dev/minisign v0.2.0
go: downloading github.com/shirou/gopsutil/v3 v3.24.2
go: downloading github.com/bits-and-blooms/bitset v1.13.0
go: downloading github.com/sashabaranov/go-openai v1.15.3
go: downloading github.com/cloudflare/circl v1.3.8
go: downloading github.com/zmap/rc2 v0.0.0-20190804163417-abaa70531248
go: downloading github.com/aymerick/douceur v0.2.0
go: downloading github.com/kljensen/snowball v0.8.0
go: downloading github.com/akrylysov/pogreb v0.10.2
go: downloading github.com/syndtr/goleveldb v1.0.0
go: downloading github.com/tidwall/buntdb v1.3.1
go: downloading go.etcd.io/bbolt v1.3.10
go: downloading github.com/olekukonko/tablewriter v0.0.5
go: downloading github.com/ssor/bom v0.0.0-20170718123548-6386211fdfcf
go: downloading github.com/tidwall/match v1.1.1
go: downloading github.com/tidwall/pretty v1.2.1
go: downloading golang.org/x/sync v0.8.0
go: downloading github.com/alecthomas/chroma/v2 v2.14.0
go: downloading github.com/charmbracelet/lipgloss v0.13.0
go: downloading github.com/charmbracelet/x/ansi v0.3.2
go: downloading github.com/muesli/reflow v0.3.0
go: downloading github.com/aymanbagabas/go-osc52/v2 v2.0.1
go: downloading github.com/lucasb-eyer/go-colorful v1.2.0
go: downloading github.com/rivo/uniseg v0.4.7
go: downloading github.com/tklauser/go-sysconf v0.3.12
go: downloading github.com/gorilla/css v1.0.1
go: downloading github.com/tidwall/btree v1.7.0
go: downloading github.com/tidwall/grect v0.1.4
go: downloading github.com/tidwall/rtred v0.1.2
go: downloading github.com/google/certificate-transparency-go v1.1.4
go: downloading github.com/dlclark/regexp2 v1.11.4
go: downloading github.com/tklauser/numcpus v0.6.1
go: downloading github.com/tidwall/tinyqueue v0.1.1
go/pkg/mod/github.com/gaissmai/[email protected]/node.go:7:2: package cmp is not in GOROOT (/usr/local/go/src/cmp)
go/pkg/mod/github.com/refraction-networking/[email protected]/cfkem.go:25:2: package crypto/ecdh is not in GOROOT (/usr/local/go/src/crypto/ecdh)
go/pkg/mod/github.com/projectdiscovery/[email protected]/errkit/errors.go:9:2: package log/slog is not in GOROOT (/usr/local/go/src/log/slog)
go/pkg/mod/github.com/gaissmai/[email protected]/jsonify.go:9:2: package slices is not in GOROOT (/usr/local/go/src/slices)```
@hacback17 hacback17 added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Dec 3, 2024
@ehsandeep
Copy link
Member

@hacback17

httpx requires go1.21 to install successfully. Run the following command to get the repo:

You need to upgrade your go version or directly download the binary from release page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

No branches or pull requests

2 participants