danielmiessler / yt

The yt command stands for YouTube Transcript, and pulls transcripts from YouTube.
43 stars 12 forks source link

Unable to install #5

Closed meetbryce closed 1 month ago

meetbryce commented 2 months ago
go: downloading github.com/danielmiessler/yt v0.0.0-20240816204735-a908bc4ed8b6
go: downloading github.com/anaskhan96/soup v1.2.5
go: downloading go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.49.0
go: downloading golang.org/x/sys v0.22.0
go: downloading go.opentelemetry.io/otel v1.24.0
go: downloading go.opentelemetry.io/otel/metric v1.24.0
go: downloading go.opentelemetry.io/otel/trace v1.24.0
../../go/pkg/mod/github.com/danielmiessler/yt@v0.0.0-20240816204735-a908bc4ed8b6/yt.go:4:2: package encoding/json is not in std (/usr/local/go/src/encoding/json)
../../go/pkg/mod/github.com/danielmiessler/yt@v0.0.0-20240816204735-a908bc4ed8b6/yt.go:5:2: package flag is not in std (/usr/local/go/src/flag)
../../go/pkg/mod/github.com/danielmiessler/yt@v0.0.0-20240816204735-a908bc4ed8b6/yt.go:6:2: package fmt is not in std (/usr/local/go/src/fmt)
../../go/pkg/mod/github.com/anaskhan96/soup@v1.2.5/soup.go:8:2: package bytes is not in std (/usr/local/go/src/bytes)
../../go/pkg/mod/golang.org/x/net@v0.27.0/html/render.go:8:2: package bufio is not in std (/usr/local/go/src/bufio)
../../go/pkg/mod/golang.org/x/net@v0.27.0/html/parse.go:8:2: package errors is not in std (/usr/local/go/src/errors)
../../go/pkg/mod/golang.org/x/net@v0.27.0/html/parse.go:10:2: package io is not in std (/usr/local/go/src/io)
../../go/pkg/mod/golang.org/x/net@v0.27.0/html/token.go:11:2: package strconv is not in std (/usr/local/go/src/strconv)
../../go/pkg/mod/golang.org/x/net@v0.27.0/html/doctype.go:8:2: package strings is not in std (/usr/local/go/src/strings)
../../go/pkg/mod/golang.org/x/net@v0.27.0/html/escape.go:10:2: package unicode/utf8 is not in std (/usr/local/go/src/unicode/utf8)
../../go/pkg/mod/golang.org/x/text@v0.16.0/runes/runes.go:9:2: package unicode is not in std (/usr/local/go/src/unicode)
../../go/pkg/mod/golang.org/x/text@v0.16.0/encoding/unicode/unicode.go:11:2: package unicode/utf16 is not in std (/usr/local/go/src/unicode/utf16)
../../go/pkg/mod/golang.org/x/text@v0.16.0/internal/tag/tag.go:8:8: package sort is not in std (/usr/local/go/src/sort)
../../go/pkg/mod/golang.org/x/text@v0.16.0/encoding/htmlindex/htmlindex.go:27:2: package sync is not in std (/usr/local/go/src/sync)
../../go/pkg/mod/golang.org/x/net@v0.27.0/html/charset/charset.go:15:2: package mime is not in std (/usr/local/go/src/mime)
../../go/pkg/mod/github.com/anaskhan96/soup@v1.2.5/soup.go:12:2: package io/ioutil is not in std (/usr/local/go/src/io/ioutil)
../../go/pkg/mod/github.com/anaskhan96/soup@v1.2.5/soup.go:13:2: package net/http is not in std (/usr/local/go/src/net/http)
../../go/pkg/mod/github.com/anaskhan96/soup@v1.2.5/soup.go:14:2: package net/http/httputil is not in std (/usr/local/go/src/net/http/httputil)
../../go/pkg/mod/github.com/anaskhan96/soup@v1.2.5/soup.go:15:2: package net/url is not in std (/usr/local/go/src/net/url)
../../go/pkg/mod/github.com/anaskhan96/soup@v1.2.5/soup.go:17:2: package regexp is not in std (/usr/local/go/src/regexp)
../../go/pkg/mod/github.com/joho/godotenv@v1.5.1/godotenv.go:20:2: package os is not in std (/usr/local/go/src/os)
../../go/pkg/mod/github.com/joho/godotenv@v1.5.1/godotenv.go:21:2: package os/exec is not in std (/usr/local/go/src/os/exec)
../../go/pkg/mod/google.golang.org/api@v0.192.0/youtube/v3/youtube-gen.go:60:2: package context is not in std (/usr/local/go/src/context)
../../go/pkg/mod/google.golang.org/api@v0.192.0/googleapi/googleapi.go:17:2: package time is not in std (/usr/local/go/src/time)
../../go/pkg/mod/cloud.google.com/go/compute/metadata@v0.5.0/retry.go:20:2: package math/rand is not in std (/usr/local/go/src/math/rand)
../../go/pkg/mod/cloud.google.com/go/compute/metadata@v0.5.0/metadata.go:27:2: package net is not in std (/usr/local/go/src/net)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/internal/internal.go:19:2: package crypto/rsa is not in std (/usr/local/go/src/crypto/rsa)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/internal/internal.go:20:2: package crypto/x509 is not in std (/usr/local/go/src/crypto/x509)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/internal/internal.go:22:2: package encoding/pem is not in std (/usr/local/go/src/encoding/pem)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/internal/jwt/jwt.go:19:2: package crypto is not in std (/usr/local/go/src/crypto)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/internal/jwt/jwt.go:20:2: package crypto/rand is not in std (/usr/local/go/src/crypto/rand)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/internal/jwt/jwt.go:22:2: package crypto/sha256 is not in std (/usr/local/go/src/crypto/sha256)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/internal/jwt/jwt.go:23:2: package encoding/base64 is not in std (/usr/local/go/src/encoding/base64)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/internal/credsfile/credsfile.go:23:2: package os/user is not in std (/usr/local/go/src/os/user)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/internal/credsfile/credsfile.go:24:2: package path/filepath is not in std (/usr/local/go/src/path/filepath)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/internal/credsfile/credsfile.go:25:2: package runtime is not in std (/usr/local/go/src/runtime)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/internal/transport/cert/default_cert.go:18:2: package crypto/tls is not in std (/usr/local/go/src/crypto/tls)
../../go/pkg/mod/github.com/googleapis/enterprise-certificate-proxy@v0.3.2/client/client.go:21:2: package crypto/ecdsa is not in std (/usr/local/go/src/crypto/ecdsa)
../../go/pkg/mod/github.com/googleapis/enterprise-certificate-proxy@v0.3.2/client/client.go:24:2: package encoding/gob is not in std (/usr/local/go/src/encoding/gob)
../../go/pkg/mod/github.com/googleapis/enterprise-certificate-proxy@v0.3.2/client/client.go:28:2: package net/rpc is not in std (/usr/local/go/src/net/rpc)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/credentials/internal/externalaccount/aws_provider.go:20:2: package crypto/hmac is not in std (/usr/local/go/src/crypto/hmac)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/credentials/internal/externalaccount/aws_provider.go:22:2: package encoding/hex is not in std (/usr/local/go/src/encoding/hex)
../../go/pkg/mod/cloud.google.com/go/auth@v0.8.1/credentials/internal/externalaccount/aws_provider.go:29:2: package path is not in std (/usr/local/go/src/path)
../../go/pkg/mod/golang.org/x/oauth2@v0.22.0/internal/token.go:14:2: package math is not in std (/usr/local/go/src/math)
../../go/pkg/mod/golang.org/x/oauth2@v0.22.0/internal/token.go:21:2: package sync/atomic is not in std (/usr/local/go/src/sync/atomic)
../../go/pkg/mod/golang.org/x/oauth2@v0.22.0/transport.go:9:2: package log is not in std (/usr/local/go/src/log)
../../go/pkg/mod/google.golang.org/grpc@v1.64.1/internal/credentials/syscallconn.go:23:2: package syscall is not in std (/usr/local/go/src/syscall)
../../go/pkg/mod/google.golang.org/protobuf@v1.34.2/internal/detrand/rand.go:13:2: package encoding/binary is not in std (/usr/local/go/src/encoding/binary)
../../go/pkg/mod/google.golang.org/protobuf@v1.34.2/internal/detrand/rand.go:14:2: package hash/fnv is not in std (/usr/local/go/src/hash/fnv)
../../go/pkg/mod/google.golang.org/protobuf@v1.34.2/encoding/protowire/wire.go:15:2: package math/bits is not in std (/usr/local/go/src/math/bits)
../../go/pkg/mod/google.golang.org/protobuf@v1.34.2/reflect/protoreflect/value_equal.go:11:2: package reflect is not in std (/usr/local/go/src/reflect)
../../go/pkg/mod/google.golang.org/protobuf@v1.34.2/reflect/protoreflect/value_unsafe_go121.go:11:2: package unsafe is not in std (/usr/local/go/src/unsafe)
../../go/pkg/mod/google.golang.org/protobuf@v1.34.2/internal/strs/strings.go:9:2: package go/token is not in std (/usr/local/go/src/go/token)
../../go/pkg/mod/google.golang.org/protobuf@v1.34.2/internal/editiondefaults/defaults.go:9:8: package embed is not in std (/usr/local/go/src/embed)
../../go/pkg/mod/google.golang.org/protobuf@v1.34.2/internal/impl/legacy_file.go:9:2: package compress/gzip is not in std (/usr/local/go/src/compress/gzip)
../../go/pkg/mod/google.golang.org/protobuf@v1.34.2/internal/impl/legacy_export.go:10:2: package hash/crc32 is not in std (/usr/local/go/src/hash/crc32)
../../go/pkg/mod/golang.org/x/net@v0.27.0/trace/events.go:10:2: package html/template is not in std (/usr/local/go/src/html/template)
../../go/pkg/mod/golang.org/x/net@v0.27.0/trace/events.go:20:2: package text/tabwriter is not in std (/usr/local/go/src/text/tabwriter)
../../go/pkg/mod/golang.org/x/text@v0.16.0/unicode/bidi/bracket.go:8:2: package container/list is not in std (/usr/local/go/src/container/list)
../../go/pkg/mod/golang.org/x/net@v0.27.0/http/httpguts/guts.go:13:2: package net/textproto is not in std (/usr/local/go/src/net/textproto)
../../go/pkg/mod/golang.org/x/net@v0.27.0/http2/transport.go:19:2: package io/fs is not in std (/usr/local/go/src/io/fs)
../../go/pkg/mod/golang.org/x/net@v0.27.0/http2/transport.go:26:2: package net/http/httptrace is not in std (/usr/local/go/src/net/http/httptrace)
../../go/pkg/mod/github.com/google/s2a-go@v0.1.8/internal/record/internal/halfconn/ciphersuite.go:23:2: package crypto/sha512 is not in std (/usr/local/go/src/crypto/sha512)
../../go/pkg/mod/github.com/google/s2a-go@v0.1.8/internal/record/internal/aeadcrypter/aesgcm.go:22:2: package crypto/aes is not in std (/usr/local/go/src/crypto/aes)
../../go/pkg/mod/github.com/google/s2a-go@v0.1.8/internal/record/internal/aeadcrypter/aesgcm.go:23:2: package crypto/cipher is not in std (/usr/local/go/src/crypto/cipher)
../../go/pkg/mod/golang.org/x/crypto@v0.25.0/internal/poly1305/poly1305.go:20:8: package crypto/subtle is not in std (/usr/local/go/src/crypto/subtle)
../../go/pkg/mod/golang.org/x/crypto@v0.25.0/cryptobyte/asn1.go:8:2: package encoding/asn1 is not in std (/usr/local/go/src/encoding/asn1)
../../go/pkg/mod/golang.org/x/crypto@v0.25.0/cryptobyte/asn1.go:10:2: package math/big is not in std (/usr/local/go/src/math/big)
../../go/pkg/mod/golang.org/x/crypto@v0.25.0/hkdf/hkdf.go:16:2: package hash is not in std (/usr/local/go/src/hash)
../../go/pkg/mod/github.com/google/uuid@v1.6.0/hash.go:8:2: package crypto/md5 is not in std (/usr/local/go/src/crypto/md5)
../../go/pkg/mod/github.com/google/uuid@v1.6.0/hash.go:9:2: package crypto/sha1 is not in std (/usr/local/go/src/crypto/sha1)
../../go/pkg/mod/github.com/google/uuid@v1.6.0/null.go:9:2: package database/sql/driver is not in std (/usr/local/go/src/database/sql/driver)
../../go/pkg/mod/google.golang.org/api@v0.192.0/internal/gensupport/media.go:12:2: package mime/multipart is not in std (/usr/local/go/src/mime/multipart)
../../go/pkg/mod/go.opencensus.io@v0.24.0/trace/trace_go11.go:22:2: package runtime/trace is not in std (/usr/local/go/src/runtime/trace)
../../go/pkg/mod/go.opencensus.io@v0.24.0/tag/profile_19.go:22:2: package runtime/pprof is not in std (/usr/local/go/src/runtime/pprof)
../../go/pkg/mod/github.com/go-logr/logr@v1.4.2/context_slog.go:25:2: package log/slog is not in std (/usr/local/go/src/log/slog)
../../go/pkg/mod/github.com/go-logr/logr@v1.4.2/funcr/funcr.go:39:2: package encoding is not in std (/usr/local/go/src/encoding)
joaobordignon commented 1 month ago

I was able to do it using "go install github.com/danielmiessler/yt@latest" I did on my pwsh and on wsl2.

meetbryce commented 1 month ago

I decided to blow away my existing Go install and in the process Warp informed me that I had two installs.

After reinstalling just with homebrew and updating my .zshrc, this installed without a hitch