# Jupyter, IJulia and "No Active Project"

**URL:** https://discourse.julialang.org/t/jupyter-ijulia-and-no-active-project/18102
**Category:** General Usage
**Created:** [November 28, 2018, 4:05pm UTC](https://discourse.julialang.org/t/jupyter-ijulia-and-no-active-project/18102 "2018-11-28T16:05:43Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![peter.wolf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/peter.wolf/32/6018_2.png) [@peter.wolf](https://discourse.julialang.org/u/peter.wolf)
#### Post date: [November 28, 2018, 4:05pm UTC](https://discourse.julialang.org/t/jupyter-ijulia-and-no-active-project/18102/1 "2018-11-28T16:05:44Z")

</div>

I am following the directions for setting up IJulia

> **[GitHub - JuliaLang/IJulia.jl: Julia kernel for Jupyter](https://github.com/JuliaLang/IJulia.jl)**
>
> Julia kernel for Jupyter. Contribute to JuliaLang/IJulia.jl development by creating an account on GitHub.

However, when I add IJulia I get the message

```
pkg&gt; add IJulia

ERROR: no active project

```

I tried “activate .” which then allows me to add IJulia

However, when I run a Julia expression in Juptyer I get the repeating error

```
[I 11:03:51.223 NotebookApp] KernelRestarter: restarting kernel (3/5), new random ports

ERROR: LoadError: ArgumentError: Package IJulia not found in current path:

- Run `import Pkg; Pkg.add("IJulia")` to install the IJulia package.

```

What is the correct way to set up Jupyter for Julia?

Thanks  
P

---

<div class="post-metadata">

### Author: ![peter.wolf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/peter.wolf/32/6018_2.png) [@peter.wolf](https://discourse.julialang.org/u/peter.wolf)
#### Post date: [November 28, 2018, 9:49pm UTC](https://discourse.julialang.org/t/jupyter-ijulia-and-no-active-project/18102/2 "2018-11-28T21:49:14Z")

</div>

Additional info:

On the assumption that Jupyter runs JuIia in the default project, I also tried

```
activate /Users/peter.wolf/.julia/environments/v1.0
add IJulia

```

But got the same problem

```
[I 16:44:03.141 NotebookApp] KernelRestarter: restarting kernel (4/5), new random ports
kernel f6bd133a-b37c-4c9a-b033-84d8ef40b00b restarted
ERROR: LoadError: ArgumentError: Package IJulia not found in current path:
- Run `import Pkg; Pkg.add("IJulia")` to install the IJulia package.
Stacktrace:
  [1] require(::Module, ::Symbol) at ./loading.jl:823
  [2] include at ./boot.jl:317 [inlined]
  [3] include_relative(::Module, ::String) at ./loading.jl:1044
  [4] include(::Module, ::String) at ./sysimg.jl:29
  [5] exec_options(::Base.JLOptions) at ./client.jl:231
  [6] _start() at ./client.jl:425

```

---

<div class="post-metadata">

### Author: ![peter.wolf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/peter.wolf/32/6018_2.png) [@peter.wolf](https://discourse.julialang.org/u/peter.wolf)
#### Post date: [November 28, 2018, 10:05pm UTC](https://discourse.julialang.org/t/jupyter-ijulia-and-no-active-project/18102/3 "2018-11-28T22:05:31Z")

</div>

Got it!

I had added JULIA\_LOAD\_PATH to my .bash\_profile. It was messing up the active project on startup. Removing it, fixed the issue

```
export JULIA_LOAD_PATH="/Users/peter.wolf/xxx..."

```
