# CSV Parsers dependency problem

**URL:** <https://discourse.julialang.org/t/csv-parsers-dependency-problem/23827>\
**Category:** General Usage\
**Tags:** question\
**Created:** [May 3, 2019, 6:32pm UTC](https://discourse.julialang.org/t/csv-parsers-dependency-problem/23827 "2019-05-03T18:32:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [May 3, 2019, 6:32pm UTC](https://discourse.julialang.org/t/csv-parsers-dependency-problem/23827/1 "2019-05-03T18:32:33Z")

</div>

Anyone else experiencing this?

```julia
julia> using CSV
[Info: Precompiling CSV [336ed68f-0bac-5ca0-87d4-7b16caf5d00b]
┌ Warning: Package CSV does not have Parsers in its dependencies:
│ - If you have CSV checked out for development and have
│ added Parsers as a dependency but haven't updated your primary
│ environment's manifest file, try `Pkg.resolve()`.
│ - Otherwise you may need to report an issue with CSV
└ Loading Parsers into CSV from project dependency, future warnings for CSV are suppressed.
ERROR: LoadError: UndefVarError: intern not defined
Stacktrace:
 [1] top-level scope at none:0
 [2] top-level scope at none:2
in expression starting at /home/yakir/.julia/packages/CSV/Jf3xI/src/CSV.jl:5
ERROR: Failed to precompile CSV [336ed68f-0bac-5ca0-87d4-7b16caf5d00b] to /home/yakir/.julia/compiled/v1.1/CSV/HHBkp.ji.

```

Related issue reported [here](https://github.com/JuliaData/CSV.jl/issues/413).

---

<div class="post-metadata">

**Author:** ![quinnj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/quinnj/32/11_2.png) [@quinnj](https://discourse.julialang.org/u/quinnj)\
**Post date:** [May 3, 2019, 7:43pm UTC](https://discourse.julialang.org/t/csv-parsers-dependency-problem/23827/2 "2019-05-03T19:43:13Z")

</div>

I think the issue is that the previous CSV.jl release probably has a dependency version like “Parsers \>= 0.2” or something, and then when Parsers.jl made a breaking release to `0.3.0`, it breaks CSV.jl. I think if you do something like `] pin Parsers 0.2.22`, it should fix it for now.

---

<div class="post-metadata">

**Author:** ![yakir12](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/yakir12/32/297_2.png) [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Post date:** [May 3, 2019, 7:52pm UTC](https://discourse.julialang.org/t/csv-parsers-dependency-problem/23827/3 "2019-05-03T19:52:37Z")

</div>

> [@quinnj](#):
>
> `pin Parsers 0.2.22`

Indeed, `] pin Parsers@0.2.22` worked for me (I also had to remove `JSON2` which insisted on `Parser@0.3` and then `] up`)

---

<div class="post-metadata">

**Author:** ![quinnj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/quinnj/32/11_2.png) [@quinnj](https://discourse.julialang.org/u/quinnj)\
**Post date:** [May 3, 2019, 8:04pm UTC](https://discourse.julialang.org/t/csv-parsers-dependency-problem/23827/4 "2019-05-03T20:04:09Z")

</div>

You could also do `] pin JSON2@0.2.4` if you still need JSON2. Hopefully we can get all these dependency issues figured out soon to avoid these situations.
