# I cannot import one module although I am able to do so with others

**URL:** https://discourse.julialang.org/t/i-cannot-import-one-module-although-i-am-able-to-do-so-with-others/35148
**Category:** General Usage
**Tags:** question
**Created:** [February 26, 2020, 1:20am UTC](https://discourse.julialang.org/t/i-cannot-import-one-module-although-i-am-able-to-do-so-with-others/35148 "2020-02-26T01:20:27Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![dave7895](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dave7895/32/21269_2.png) [@dave7895](https://discourse.julialang.org/u/dave7895)
#### Post date: [February 26, 2020, 1:20am UTC](https://discourse.julialang.org/t/i-cannot-import-one-module-although-i-am-able-to-do-so-with-others/35148/1 "2020-02-26T01:20:27Z")

</div>

The title basically says it all. I have a module that Julia does not find. The error message

```julia
using Pal
ERROR: ArgumentError: Package Pal not found in current path:
- Run `import Pkg; Pkg.add("Pal")` to install the Pal package.

Stacktrace:
 [1] require(::Module, ::Symbol) at .\loading.jl:876 

```

is the one of a module that cannot be found but a different module in the same folder can be imported or Used. It compiles with no problems and can be used after running the file.

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [February 26, 2020, 5:06am UTC](https://discourse.julialang.org/t/i-cannot-import-one-module-although-i-am-able-to-do-so-with-others/35148/2 "2020-02-26T05:06:15Z")

</div>

What is the structure of your code? How do you map modules to files?

---

<div class="post-metadata">

### Author: ![PetrKryslUCSD](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/petrkryslucsd/32/215825_2.png) [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)
#### Post date: [February 26, 2020, 5:16am UTC](https://discourse.julialang.org/t/i-cannot-import-one-module-although-i-am-able-to-do-so-with-others/35148/3 "2020-02-26T05:16:51Z")

</div>

Do you do something like this?

```julia
julia> include("Pal.jl")
Main.Pal

julia> using Main.Pal

shell> cat Pal.jl
module Pal

f(x) = 3

end

```
