# Creating a new package

**URL:** https://discourse.julialang.org/t/creating-a-new-package/29400
**Category:** General Usage
**Tags:** package
**Created:** [October 2, 2019, 12:05pm UTC](https://discourse.julialang.org/t/creating-a-new-package/29400 "2019-10-02T12:05:15Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![marouane](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marouane/32/16267_2.png) [@marouane](https://discourse.julialang.org/u/marouane)
#### Post date: [October 2, 2019, 12:05pm UTC](https://discourse.julialang.org/t/creating-a-new-package/29400/1 "2019-10-02T12:05:15Z")

</div>

i’ve created a new package named `QuantumRelay`, and i’m putting all the files that i need for this package in one file and everything and i’ve added also all the dependencies needed and when i’m typing  
`using QuantumRelay` all i’m getting is this precompiling message : `Info: Precompiling QuantumRelay [54a2c7e4-e504-11e9-3c64-f9d4f875ee7f]` i’ve been waiting for more than 30 minutes for julia to give me the hand again so i can call the functions in this module but till now, no result

---

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [October 2, 2019, 12:52pm UTC](https://discourse.julialang.org/t/creating-a-new-package/29400/2 "2019-10-02T12:52:31Z")

</div>

Maybe you created an infinite loop or something. Do you have a link to the code?

---

<div class="post-metadata">

### Author: ![marouane](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marouane/32/16267_2.png) [@marouane](https://discourse.julialang.org/u/marouane)
#### Post date: [October 4, 2019, 9:40am UTC](https://discourse.julialang.org/t/creating-a-new-package/29400/3 "2019-10-04T09:40:31Z")

</div>

yes i’m putting the entire code on github [https://github.com/marouanehanhasse/Quantum\_Relay](https://github.com/marouanehanhasse/Quantum_Relay)  
the main code called QuantumRelay it’s where i call other files that you’ll find in there

---

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [October 8, 2019, 8:58am UTC](https://discourse.julialang.org/t/creating-a-new-package/29400/4 "2019-10-08T08:58:41Z")

</div>

I made a PR to structure the files like a normal julia package: [https://github.com/marouanehanhasse/Quantum\_Relay/pull/1](https://github.com/marouanehanhasse/Quantum_Relay/pull/1).

I have no problems myself to precompile this on `1.3.0-rc2.0 `. What julia version are you using? Perhaps try the 1.3 release candidate from [Download Julia](https://julialang.org/downloads/)?

---

<div class="post-metadata">

### Author: ![marouane](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marouane/32/16267_2.png) [@marouane](https://discourse.julialang.org/u/marouane)
#### Post date: [October 8, 2019, 9:02am UTC](https://discourse.julialang.org/t/creating-a-new-package/29400/5 "2019-10-08T09:02:30Z")

</div>

i’m using Julia 1.0.1

---

<div class="post-metadata">

### Author: ![marouane](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marouane/32/16267_2.png) [@marouane](https://discourse.julialang.org/u/marouane)
#### Post date: [October 8, 2019, 9:39am UTC](https://discourse.julialang.org/t/creating-a-new-package/29400/6 "2019-10-08T09:39:47Z")

</div>

i have added the module as a normal Julia package : `add https://github.com/marouanehanhasse/Quantum_Relay`but when i want to use it i still have the same issue: `using QuantumRelay`  
this is what i’m getting: `Info: Precompiling QuantumRelay [6ebb60ca-bbd7-403d-b18d-7027df4c80f9]`  
and it’s always on Julia 1.0.1

---

<div class="post-metadata">

### Author: ![kristoffer.carlsson](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/kristoffer.carlsson/32/22_2.png) [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)
#### Post date: [October 8, 2019, 9:45am UTC](https://discourse.julialang.org/t/creating-a-new-package/29400/7 "2019-10-08T09:45:21Z")

</div>

> [@marouane](#):
>
> and it’s always on Julia 1.0.1

That is a very old Julia version. Could you try with the one I suggested.

---

<div class="post-metadata">

### Author: ![marouane](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/marouane/32/16267_2.png) [@marouane](https://discourse.julialang.org/u/marouane)
#### Post date: [October 8, 2019, 10:13am UTC](https://discourse.julialang.org/t/creating-a-new-package/29400/8 "2019-10-08T10:13:27Z")

</div>

it has worked on Julia 1.3.0-rc3
