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

IJulia problem? #1101

Closed
Ronneesley opened this issue Jan 24, 2024 · 1 comment
Closed

IJulia problem? #1101

Ronneesley opened this issue Jan 24, 2024 · 1 comment

Comments

@Ronneesley
Copy link

I opened this question at: https://discourse.julialang.org/t/ijulia-problem/109194

But I think, I should open this at here too.

Hello,

I created a package called GeometriaPlana at my projects. In the iteractive terminal this dev project run perfectly, but at Jupyter via IJulia, this project throw an error.

ArgumentError: Package GeometriaPlana [d1eaa649-aac2-5819-91da-40fa014b2dd7] is required but does not seem to be installed:
 - Run `Pkg.instantiate()` to install all recorded dependencies.


Stacktrace:
  [1] _require(pkg::Base.PkgId, env::String)
    @ Base ./loading.jl:1920
  [2] __require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1806
  [3] #invoke_in_world#3
    @ Base ./essentials.jl:921 [inlined]
  [4] invoke_in_world
    @ Base ./essentials.jl:918 [inlined]
  [5] _require_prelocked(uuidkey::Base.PkgId, env::String)
    @ Base ./loading.jl:1797
  [6] macro expansion
    @ Base ./loading.jl:1784 [inlined]
  [7] macro expansion
    @ Base ./lock.jl:267 [inlined]
  [8] __require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1747
  [9] #invoke_in_world#3
    @ Base ./essentials.jl:921 [inlined]
 [10] invoke_in_world
    @ Base ./essentials.jl:918 [inlined]
 [11] require(into::Module, mod::Symbol)
    @ Base ./loading.jl:1740

This problem happen when I do the command using GeometriaPlana at Julia version 1.10.0 only via Jupyter Notebook.

At the terminal, all works perfectly:

(@v1.10) pkg> status
Status `~/.julia/environments/v1.10/Project.toml`
  [d1eaa649] GeometriaPlana v0.0.9 `../../../git/julia/geometriaplana`
  [7073ff75] IJulia v1.24.2
  [ed5c6046] Matematica v0.1.4 `../../../git/julia/matematica`

(@v1.10) pkg> resolve
  No Changes to `~/.julia/environments/v1.10/Project.toml`
  No Changes to `~/.julia/environments/v1.10/Manifest.toml`

(@v1.10) pkg> build
    Building Conda ─→ `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/51cab8e982c5b598eea9c8ceaced4b58d9dd37c9/build.log`
    Building IJulia → `~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/47ac8cc196b81001a711f4b2c12c97372338f00c/build.log`

julia> using GeometriaPlana

But the problem still persists at Jupyter Notebook.

Do someone knows this problem? I noticed this problem at others dev projects too, this is only a example.

@stevengj
Copy link
Member

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