# Packages and workers

**URL:** <https://discourse.julialang.org/t/packages-and-workers/14072>\
**Category:** General Usage\
**Tags:** pkg, package-manager, distributed\
**Created:** [August 26, 2018, 9:13am UTC](https://discourse.julialang.org/t/packages-and-workers/14072 "2018-08-26T09:13:59Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![ksmcreynolds](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ksmcreynolds/32/860_2.png) [@ksmcreynolds](https://discourse.julialang.org/u/ksmcreynolds)\
**Post date:** [August 27, 2018, 3:19pm UTC](https://discourse.julialang.org/t/packages-and-workers/14072/10 "2018-08-27T15:19:10Z")

</div>

I solved this issue in my case by passing the `--project` flag to `addprocs`. This will load the project files for the current directory.

Start Julia using `julia --project`.

```julia
using Distributed
addprocs(2; exeflags="--project")

```

You can also pass the path to the desired environment using `--project=/path/to/env`. As long as the path in `addprocs` matches the one used to start Julia it should work fine.

---

_[View the full topic](https://discourse.julialang.org/t/packages-and-workers/14072)._
