-
Notifications
You must be signed in to change notification settings - Fork 17.9k
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
"use of internal package not allowed" error #64005
Comments
From your Try:
and see if that helps. |
Strange. I cannot reproduce. Try unsetting Could there be an old distribution at your checkout location? Add |
@thanm thanks, The following is the running result
|
@randall77 I deleted multiple times today with the same result. At the same time, I deleted the cache via |
Some more information, if I execute
|
Still seems like it is a path problem to me. I can reproduce the same error by running this script:
Here's my output:
What happens when you run this script on your system (commenting out the first 'export PATH=')? |
|
what's in |
Thank you everyone. Although I'm still not sure what caused the above problem, I solved it through the following solutions:
Delete GOPATH, GOROOT config.
|
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I'm analyzing the source code, and running its test cases, but getting the "use of internal package ... not allowed" error. Here are the steps to reproduce:
step 1: clone the source code
step 2: make.bash
So far, everything is fine.
step 3: run test case
I followed this documentation, but when running the test case, I got the above error.
What did you expect to see?
The test case runs successfully without any errors. Because I didn't make any changes.
What did you see instead?
Got the error mentioned above.
The text was updated successfully, but these errors were encountered: