# Pyjulia local package

**URL:** <https://discourse.julialang.org/t/pyjulia-local-package/20807>\
**Category:** General Usage\
**Tags:** python\
**Created:** [February 15, 2019, 5:15am UTC](https://discourse.julialang.org/t/pyjulia-local-package/20807 "2019-02-15T05:15:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mopg](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mopg/32/3368_2.png) [@mopg](https://discourse.julialang.org/u/mopg)\
**Post date:** [February 15, 2019, 5:15am UTC](https://discourse.julialang.org/t/pyjulia-local-package/20807/1 "2019-02-15T05:15:49Z")

</div>

I’ve been trying to use the `pyjulia` package to call some local julia package from python, but haven’t had any luck.

The following examples work (Interpolations is installed)

```julia
from julia import Base
from julia import Interpolations

```

but when I try to import a local package, it can’t find it:

```julia
from julia import LocalPackage

```

I have added that package;s parent directory to my `startup.jl` file, allowing me to call it from julia.

But how do I make sure that I can also call this package from Python?

---

<div class="post-metadata">

**Author:** ![tkf](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tkf/32/17635_2.png) [@tkf](https://discourse.julialang.org/u/tkf)\
**Post date:** [February 15, 2019, 5:37am UTC](https://discourse.julialang.org/t/pyjulia-local-package/20807/2 "2019-02-15T05:37:47Z")

</div>

Probably the easiest solution is to include your `startup.jl` file with

```python
from julia import Main
Main.include("PATH/TO/startup.jl")

```

before `from julia import LocalPackage`.

You can also look at how to use Pkg.jl and either `]dev` your package or use `Project.toml`.
