The endless packages to add as as a dependency or to resolve

1.I’m using julia 1.6.3 as my jupyternote kernel.

2.I was learning Linear Algebra on juliaacademy.com .https://juliaacademy.com/courses/937702/lectures/17339511

3.i got the problem below

4.i have been add and resolve those package again and again but it seems endless.

┌ Info: Precompiling Images [916415d5-f1e6-5110-898d-aaa5f9f070e0]
└ @ Base loading.jl:1342
Warning: Package SpecialFunctions does not have IrrationalConstants in its dependencies:
│ - If you have SpecialFunctions checked out for development and have
│ added IrrationalConstants as a dependency but haven’t updated your primary
│ environment’s manifest file, try Pkg.resolve().
│ - Otherwise you may need to report an issue with SpecialFunctions

  1. i hope to solve this problem at once.

The error messaging clearly need improving here, but it appears the problem is that you need to “instantiate”, i.e. install all the packages from, the environment in that repo.

In normal julia run

pkg> activate /path/to/DataScience

pkg> instantiate

or from a Jupyter notebook

import Pkg
Pkg.activate("/path/to/DataScience")
Pkg.instantiate()

@logankilpatrick I see there’s a how to install youtube video, but perhaps the repo readme needs something like above? Though, I’ve only taken a quick look, so may have missed instructions

Edit: Attempts to improve the error messaging → Improve warnings when partially instantiated packages are loaded by IanButterworth · Pull Request #42822 · JuliaLang/julia · GitHub

8 Likes

It works ! thank you :grin: