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

instantiate problem "Package REPL not found in current path" #1815

Closed
bkamins opened this issue May 7, 2020 · 4 comments · Fixed by JuliaLang/IJulia.jl#963
Closed

instantiate problem "Package REPL not found in current path" #1815

bkamins opened this issue May 7, 2020 · 4 comments · Fixed by JuliaLang/IJulia.jl#963

Comments

@bkamins
Copy link
Member

bkamins commented May 7, 2020

Steps to reproduce the problem:

  1. Use Win10
  2. Make a clean Julia 1.4.1 installation
  3. install IJulia
  4. download the repo https://github.com/JuliaAcademy/DataFrames
  5. start the "1. Environment setup" notebook

When doing instantiate the following errors are printed:

Building TimeZones → `D:\AppData\.julia\packages\TimeZones\X323b\deps\build.log`
┌ Error: Error building `TimeZones`: 
│ ERROR: LoadError: ArgumentError: Package REPL not found in current path:
│ - Run `import Pkg; Pkg.add("REPL")` to install the REPL package.
│ 
│ Stacktrace:
│  [1] require(::Module, ::Symbol) at .\loading.jl:892
│  [2] include(::Module, ::String) at .\Base.jl:377
│  [3] include_ifexists at .\client.jl:212 [inlined]
│  [4] load_julia_startup() at .\client.jl:320
│  [5] exec_options(::Base.JLOptions) at .\client.jl:259
│  [6] _start() at .\client.jl:484
│ in expression starting at D:\AppData\.julia\config\startup.jl:1
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src\Operations.jl:892
   Building PyCall ───→ `D:\AppData\.julia\packages\PyCall\zqDXB\deps\build.log`
┌ Error: Error building `PyCall`: 
│ ERROR: LoadError: ArgumentError: Package REPL not found in current path:
│ - Run `import Pkg; Pkg.add("REPL")` to install the REPL package.
│ 
│ Stacktrace:
│  [1] require(::Module, ::Symbol) at .\loading.jl:892
│  [2] include(::Module, ::String) at .\Base.jl:377
│  [3] include_ifexists at .\client.jl:212 [inlined]
│  [4] load_julia_startup() at .\client.jl:320
│  [5] exec_options(::Base.JLOptions) at .\client.jl:259
│  [6] _start() at .\client.jl:484
│ in expression starting at D:\AppData\.julia\config\startup.jl:1
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Pkg\src\Operations.jl:892

when switching to REPL from Jupyter Notebook build goes through cleanly.

@fredrikekre
Copy link
Member

From

│ in expression starting at D:\AppData\.julia\config\startup.jl:1

it looks like this was due to the startup file, that should only be used for build if you explicitly start julia with --startup-file=yes.

fredrikekre added a commit to JuliaLang/IJulia.jl that referenced this issue Nov 29, 2020
Pkg launches subprocesses with the startup file if you explicitly start julia with
`--startup-file=yes`. Since it is default anyway it seems like this can be removed,
fixes JuliaLang/Pkg.jl#1815.
@fredrikekre
Copy link
Member

JuliaLang/IJulia.jl#963

@bkamins
Copy link
Member Author

bkamins commented Nov 29, 2020

Thank you. This can be closed.

@bkamins bkamins closed this as completed Nov 29, 2020
stevengj pushed a commit to JuliaLang/IJulia.jl that referenced this issue Nov 29, 2020
Pkg launches subprocesses with the startup file if you explicitly start julia with
`--startup-file=yes`. Since it is default anyway it seems like this can be removed,
fixes JuliaLang/Pkg.jl#1815.
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

Successfully merging a pull request may close this issue.

2 participants