Stream: helpdesk (published)

Topic: Dependency added to dev pkg not recognised


view this post on Zulip Timothy (Jul 06 2021 at 15:34):

I've just tried adding a package (LoopVectorisation) to my development package (FunctionalClustering), however whenever I try to load it I see "ERROR: LoadError: ArgumentError: Package FunctionalClustering does not have LoopVectorisation in its dependencies".

I have

and I still see this issue :frown:

image.png

image.png

Suggestions would be appreciated!

view this post on Zulip Fredrik Ekre (Jul 06 2021 at 15:36):

Did you pkg> add LoopVectorisation in the package environment? Edit: I guess the last image is from the package env, so yes?

view this post on Zulip Timothy (Jul 06 2021 at 15:37):

I ran ] add LoopVectorisation in my global package environment before the dev package environment.

view this post on Zulip Fredrik Ekre (Jul 06 2021 at 15:37):

Is the problem that you try to use LoopVectorisation but it is spelled LoopVectorization?

view this post on Zulip Timothy (Jul 06 2021 at 15:39):

Damm Americans! /s
I don't think so though, since while I'm typing that here what I typed in the REPL was LoopV TAB. Looking in my global Manifest.tomland package Project.toml confirms that I have the American spelling.

view this post on Zulip Timothy (Jul 06 2021 at 15:40):

Ah. But I was using the normal spelling in my using statement ... that would do it!


Last updated: Nov 22 2024 at 04:41 UTC