# ERROR: 'path' appears to be a local path, but directory does not exist

**URL:** https://discourse.julialang.org/t/error-path-appears-to-be-a-local-path-but-directory-does-not-exist/109362
**Category:** New to Julia
**Tags:** package, path
**Created:** [January 28, 2024, 3:48pm UTC](https://discourse.julialang.org/t/error-path-appears-to-be-a-local-path-but-directory-does-not-exist/109362 "2024-01-28T15:48:52Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![danielbl](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@danielbl](https://discourse.julialang.org/u/danielbl)
#### Post date: [January 28, 2024, 3:48pm UTC](https://discourse.julialang.org/t/error-path-appears-to-be-a-local-path-but-directory-does-not-exist/109362/1 "2024-01-28T15:48:52Z")

</div>

Hi all. This post concerns the following error:

```julia
ERROR: 'path' appears to be a local path, but directory does not exist

```

I am currently following this Readme for a Julia/Python program ([BYU CCBlade.ji](https://github.com/byuflowlab/CCBlade.jl/blob/master/openmdao/python/openmdao.md)). I have tried both establishing the path locally using:

```julia
(@v1.10) pkg> develop(path="/Users/dblachance/Desktop/BU Research/CC Blade/CCBlade.jl-master/src/CCBlade.jl")

```

And resulted in the following error:

```julia
(@v1.10) pkg> develop /Users/dblachance/Desktop/CCBlade.jl
ERROR: `/Users/dblachance/Desktop/CCBlade.jl` appears to be a local path, but directory does not exist

```

I also tried the following with no luck as well:

```julia
julia> Pkg.add(path="/Users/dblachance/Desktop/CCBlade.jl")
ERROR: Path `/Users/dblachance/Desktop/CCBlade.jl` does not exist.
Stacktrace:
 [1] pkgerror(msg::String)
   @ Pkg.Types /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:70
 [2] handle_repo_add!(ctx::Pkg.Types.Context, pkg::Pkg.Types.PackageSpec)
   @ Pkg.Types /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:776
 [3] handle_repos_add!(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec})
   @ Pkg.Types /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/Types.jl:852
 [4] add(ctx::Pkg.Types.Context, pkgs::Vector{…}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::@Kwargs{…})
   @ Pkg.API /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:258
 [5] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.TTY, kwargs::@Kwargs{})
   @ Pkg.API /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:159
 [6] add(pkgs::Vector{Pkg.Types.PackageSpec})
   @ Pkg.API /Applications/Julia-1.10.app/Contents/Resources/julia/share/julia/stdlib/v1.10/Pkg/src/API.jl:148
 [7] add(; name::Nothing, uuid::Nothing, version::Nothing, url::Nothing, rev::Nothing, path::String, mode::Pkg.Types.PackageMode, subdir::Nothing, kwargs::@Kwargs{})
   @ Pkg.API ./boot.jl:0
 [8] top-level scope
   @ REPL[21]:1
Some type information was truncated. Use `show(err)` to see complete types.

```

Any helps and tips will be greatly appreciated!

Note\* I have a copy of the file in two places, I have tried both methods with the two file locations.

Best,  
Dan

---

<div class="post-metadata">

### Author: ![GunnarFarneback](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gunnarfarneback/32/1827_2.png) [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)
#### Post date: [January 28, 2024, 5:09pm UTC](https://discourse.julialang.org/t/error-path-appears-to-be-a-local-path-but-directory-does-not-exist/109362/3 "2024-01-28T17:09:06Z")

</div>

I’m fairly certain that they mean that you should clone the package as `CCBlade.jl` and give the path to the clone as argument to `dev`, not the path to the file with the same name inside the repository. Try something like

```julia
develop(path="/Users/dblachance/Desktop/BU Research/CC Blade/CCBlade.jl-master")

```

---

<div class="post-metadata">

### Author: ![danielbl](https://avatars.discourse-cdn.com/v4/letter/d/f0a364/32.png) [@danielbl](https://discourse.julialang.org/u/danielbl)
#### Post date: [January 28, 2024, 5:24pm UTC](https://discourse.julialang.org/t/error-path-appears-to-be-a-local-path-but-directory-does-not-exist/109362/4 "2024-01-28T17:24:48Z")

</div>

Thank you very much! I tried that and it did not work,

```julia
(@v1.10) pkg> develop(path="/Users/dblachance/Desktop/BU Research/CC Blade/CCBlade.jl-master")
ERROR: `develop(path=` is not a recognized command. Type ? for help with available commands

```

However, when I tried the other way for doing it not using “]” it worked:

```julia
julia> Pkg.develop(path="/Users/dblachance/Desktop/BU Research/CC Blade/CCBlade.jl_master")
   Resolving package versions...
   Installed IrrationalConstants ── v0.2.2
   Installed DiffResults ────────── v1.1.0
   Installed OffsetArrays ───────── v1.13.0
   Installed FLOWMath ───────────── v0.3.3
   Installed ImplicitAD ─────────── v0.3.1
   Installed JLLWrappers ────────── v1.5.0
   Installed SpecialFunctions ───── v2.3.1
   Installed StaticArraysCore ───── v1.4.2
   Installed NaNMath ────────────── v1.0.2
   Installed ReverseDiff ────────── v1.15.1
   Installed StaticArrays ───────── v1.9.1
   Installed ChainRulesCore ─────── v1.20.0
   Installed FunctionWrappers ───── v1.1.3
   Installed LogExpFunctions ────── v0.3.26
   Installed OpenSpecFun_jll ────── v0.5.5+0
   Installed Compat ─────────────── v4.12.0
   Installed CommonSubexpressions ─ v0.3.0
   Installed ForwardDiff ────────── v0.10.36
   Installed DocStringExtensions ── v0.9.3
   Installed DiffRules ──────────── v1.15.1
  Downloaded artifact: OpenSpecFun
    Updating `~/.julia/environments/v1.10/Project.toml`
  [e1828068] + CCBlade v0.2.5 `~/Desktop/BU Research/CC Blade/CCBlade.jl_master`
    Updating `~/.julia/environments/v1.10/Manifest.toml`
  [e1828068] + CCBlade v0.2.5 `~/Desktop/BU Research/CC Blade/CCBlade.jl_master`
  [d360d2e6] + ChainRulesCore v1.20.0
  [bbf7d656] + CommonSubexpressions v0.3.0
  [34da2185] + Compat v4.12.0
  [163ba53b] + DiffResults v1.1.0
  [b552c78f] + DiffRules v1.15.1
  [ffbed154] + DocStringExtensions v0.9.3
  [6cb5d3fb] + FLOWMath v0.3.3
  [f6369f11] + ForwardDiff v0.10.36
  [069b7b12] + FunctionWrappers v1.1.3
  [e7cbb90b] + ImplicitAD v0.3.1
  [92d709cd] + IrrationalConstants v0.2.2
  [692b3bcd] + JLLWrappers v1.5.0
  [2ab3a3ac] + LogExpFunctions v0.3.26
  [77ba4419] + NaNMath v1.0.2
  [6fe1bfb0] + OffsetArrays v1.13.0
  [37e2e3b7] + ReverseDiff v1.15.1
  [276daf66] + SpecialFunctions v2.3.1
  [90137ffa] + StaticArrays v1.9.1
  [1e83bf80] + StaticArraysCore v1.4.2
  [efe28fd5] + OpenSpecFun_jll v0.5.5+0
  [b77e0a4c] + InteractiveUtils
  [76f85450] + LibGit2
  [56ddb016] + Logging
  [44cfe95a] + Pkg v1.10.0
  [3fa0cd96] + REPL
  [6462fe0b] + Sockets
  [2f01184e] + SparseArrays v1.10.0
  [10745b16] + Statistics v1.10.0
  [a4e569a6] + Tar v1.10.0
  [8dfed614] + Test
  [e37daf67] + LibGit2_jll v1.6.4+0
  [05823500] + OpenLibm_jll v0.8.1+2
  [bea87d4a] + SuiteSparse_jll v7.2.1+1
  [3f19e933] + p7zip_jll v17.4.0+2

julia> 

```

Thank you very much again for your help! Much appreciated!

---

<div class="post-metadata">

### Author: ![mkitti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mkitti/32/12459_2.png) [@mkitti](https://discourse.julialang.org/u/mkitti)
#### Post date: [January 28, 2024, 6:03pm UTC](https://discourse.julialang.org/t/error-path-appears-to-be-a-local-path-but-directory-does-not-exist/109362/5 "2024-01-28T18:03:15Z")

</div>

The keystroke sequence would be

```julia
] dev "/Users/dblachance/Desktop/BU Research/CC Blade/CCBlade.jl-master"

```
