# JETLS: \`DataFrame\` is not defined

**URL:** <https://discourse.julialang.org/t/jetls-dataframe-is-not-defined/139961>\
**Category:** New to Julia\
**Tags:** emacs, jetls\
**Created:** [October 12, 2026, 7:11am UTC](https://discourse.julialang.org/t/jetls-dataframe-is-not-defined/139961 "2026-10-12T07:11:25Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahmah](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mahmah/32/214326_2.png) [@mahmah](https://discourse.julialang.org/u/mahmah)\
**Post date:** [October 12, 2026, 7:11am UTC](https://discourse.julialang.org/t/jetls-dataframe-is-not-defined/139961/1 "2026-10-12T07:11:25Z")

</div>

How can I avoid these kinds of errors? My understanding is that JETLS is not starting in my current environment. How can I make it start? Or should I add DataFrames to the main Julia environment?

---

<div class="post-metadata">

**Author:** ![George9000](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/george9000/32/23619_2.png) [@George9000](https://discourse.julialang.org/u/George9000)\
**Post date:** [October 12, 2026, 2:12pm UTC](https://discourse.julialang.org/t/jetls-dataframe-is-not-defined/139961/2 "2026-10-12T14:12:12Z")

</div>

More context helps others understand your problem. Please see below.

> [@Please read: make it easier to help you](https://discourse.julialang.org/t/please-read-make-it-easier-to-help-you/14757):
>
> Welcome to the Julia Discourse! We are enthusiastic about helping Julia programmers, both beginner and experienced. This public service announcement (PSA) outlines best practices when asking for help. Following these points makes it easier for us to help you and more likely you’ll get a prompt, useful answer. Keywords are highlighted to make it easier to refer to specific points. Choose a descriptive title that captures the key part of your question, eg “plots with multiple axes” instead of …

---

<div class="post-metadata">

**Author:** ![George9000](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/george9000/32/23619_2.png) [@George9000](https://discourse.julialang.org/u/George9000)\
**Post date:** [October 12, 2026, 2:25pm UTC](https://discourse.julialang.org/t/jetls-dataframe-is-not-defined/139961/3 "2026-10-12T14:25:36Z")

</div>

I use eglot in emacs with JETLS. My main julia environment does not have DataFrames. I make separate packages for each project and install DataFrames separately in each project. My config details below. For JETLS install, I’m using the [documentation](https://aviatesk.github.io/JETLS.jl/release/#index/server-installation/install).

> **Emacs init and Julia pkg details**
>
> ```elisp
> ;; Julia REPL
> (use-package julia-repl
> :ensure t
> :hook (julia-ts-mode . julia-repl-mode)
> :config
> (julia-repl-set-terminal-backend 'vterm)
> (setq julia-repl-executable-records '((default "julia" :basedir "/Users/foo/applications/julia/usr/share/julia/base/")))
> (setq julia-repl-executable-key 'default)
> )
> 
> ;;
> ;; Eglot
> ;;
> (use-package sideline-eglot
> :ensure t
> :init
> (setq sideline-backends-right '(sideline-eglot)))
> 
> ;; Set up the Language Server Protocol (LSP) servers using Eglot.
> (use-package eglot
> :ensure t
> :hook ((eglot-mode . sideline-mode)
> (ess-r-mode . eglot-ensure))
> :commands (eglot-ensure
> eglot-rename
> eglot-format-buffer))
> 
> (with-eval-after-load 'eglot
> (add-to-list 'eglot-server-programs
> '(((julia-mode :language-id "julia")
> (julia-ts-mode :language-id "julia"))
> "jetls"
> "--threads=auto"
> "--"
> "serve"
> "--socket"
> :autoport))
> (add-to-list 'eglot-server-programs
> '(ess-r-mode . ("R" "--slave" "--args" "-e" "languageserver::run()"))))
> 
> (use-package consult-eglot
> :ensure t)
> 
> (use-package consult-eglot-embark
> :ensure t)
> 
> (with-eval-after-load 'embark
> (with-eval-after-load 'consult-eglot
> (require 'consult-eglot-embark)
> (consult-eglot-embark-mode)))
> 
> ```
> 
> ```julia
> (@v1.13) pkg> st
> Status `~/.julia/environments/v1.13/Project.toml`
> [2b0e0bc5] LanguageServer v6.0.1
> [295af30f] Revise v3.17.2
> 
> (@v1.13) pkg> app status
> [a3b70258] JETLS v2026.10.4 `https://github.com/aviatesk/JETLS.jl#release`
> jetls ~/applications/julia/usr/bin/julia
> [62bfec6d] Runic v1.13.0
> git-runic ~/applications/julia/usr/bin/julia
> runic ~/applications/julia/usr/bin/julia
>     
> 
> ```
