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

Package AdaptStaticArraysCoreExt does not have Adapt in its dependencies #82

Closed
timelyseeks opened this issue Mar 20, 2024 · 2 comments
Closed

Comments

@timelyseeks
Copy link

When Uninstalling [RM] Adapt.jl, running any code keeps an error about as quoted "Package AdaptStaticArraysCoreExt does not have Adapt in its dependencies" with anything to do with Tests, Manifest, or Resolution. No mix of using package commands fixes the issue, such as 'up' and then 'resolve' or 'rm Adapt', etc etc case uses for trying to resolve dependencies. When using 'add AdaptStaticArraysCoreExt' nothing occurs due to it not being a package - as Julia seems to point out, it doesn't exist. And doesn't offer related terms. I am updated in my Julia environment to 1.9 - and have a large library of package installations, none of which have issues relating to Adapt.jl.

I have not tried deleting and reinstalling Julia, because like python and VScode - of course; it saves the info. Some applications ask you if you want to remove the file history but I am not experienced enough to do so manually.

Relating to this type of issue, my up-to-date new stable release python shell [now uninstalled since I couldn't use] wouldn't run any command, and I had gone through extensive attempts to look at package contents or instal instructions and don't think I should be running into an issue like a full-top-scale error like a full terminal not working for anything.

I mostly use Julia, alongside from time to time others just to dabble in understanding the ways computers formulate text files, such as automated or logged files. And use that to try to digest my problem, but so far have found no issues with Julia or Python in logs that indicate the shell is failed or performing off.

@maleadt
Copy link
Member

maleadt commented Mar 20, 2024

This looks like your depot somehow got corrupted, and AFAICT isn't an issue with Adapt.jl itself. It shouldn't be possible for this to happen by just adding/removing Adapt.jl. Although I understand you filing this here, it would probably be better to report this on the Julia repository itself (albeit providing more information like the Julia version, environment Manifest, etc), or maybe better open a thread on the JuliaLang Discourse where other people can chime in.

If you only want a quick fix, removing your ~/.julia folder (or moving it to, say, ~/.julia.old) will probably work, but do know that it will remove any installed packages, and forget about your REPL history, etc. It's a nuclear option.

Since this doesn't look like an Adapt.jl issue, I'll close this issue. If you do think that this is caused by Adapt.jl, e.g., because you can reproduce using a fresh installation, feel free to comment again or open a new issue.

@maleadt maleadt closed this as completed Mar 20, 2024
@timelyseeks
Copy link
Author

Appreciated, I am perfectly fine with starting fresh as I'm aware I haven't gotten far in anything I want to yet.
Removing it all is much better so I will do that and take your advice and if the issue continues after that, I will report to the Main Julia Repo.

Thanks,

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