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

Unable to install excelize v2 #2069

Open
2 tasks done
andersbogsnes opened this issue Jan 17, 2025 · 2 comments
Open
2 tasks done

Unable to install excelize v2 #2069

andersbogsnes opened this issue Jan 17, 2025 · 2 comments

Comments

@andersbogsnes
Copy link

Description

When I run go get github.com/xuri/excelize/v2 I get an error:

go: downloading github.com/xuri/excelize/v2 v2.9.0
go: module github.com/xuri/excelize@upgrade found (v1.4.1), but does not contain package github.com/xuri/excelize/v2

I’ve cleaned the cache with go clean -cache -modcache

I’m also pulling packages through Artifactory, which works with all my other packages.

Any ideas

Steps to reproduce the issue

  1. Run go get github.com/xuri/excelize/v2

Describe the results you received

go: downloading github.com/xuri/excelize/v2 v2.9.0
go: module github.com/xuri/excelize@upgrade found (v1.4.1), but does not contain package github.com/xuri/excelize/v2

Describe the results you expected

An installed go package

Go version

1.23.3

Excelize version or commit ID

2.9.0

Environment

WSL on Windows 11
Artifactory as GOPROXY

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
@xuri
Copy link
Member

xuri commented Jan 19, 2025

Thanks for your issue, please also reference related issues #393, #403, #488, #522, #973, #1020, #1079, #1472, #1744 and #1884. Clean Go cache and Go modules cache:

go clean -cache
go clean -modcache

@andersbogsnes
Copy link
Author

Hi, yes I saw those issues, and as written in the description I have run the cache clean commands already, but to no effect. I'm assuming it's something to do with the Artifactory proxy, but don't know what it could be

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants