# Base.whos() no longer works in 1.0

**URL:** <https://discourse.julialang.org/t/base-whos-no-longer-works-in-1-0/19475>\
**Category:** General Usage\
**Tags:** question\
**Created:** [January 10, 2019, 2:28pm UTC](https://discourse.julialang.org/t/base-whos-no-longer-works-in-1-0/19475 "2019-01-10T14:28:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gatohaus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gatohaus/32/6675_2.png) [@gatohaus](https://discourse.julialang.org/u/gatohaus)\
**Post date:** [January 10, 2019, 2:28pm UTC](https://discourse.julialang.org/t/base-whos-no-longer-works-in-1-0/19475/1 "2019-01-10T14:28:02Z")

</div>

We’ve recently upgraded from 0.6 to 1.0 and have found that whos() seems to have gone away. Can someone please verify that this is true? What has replaced it?  
Thanks. -David

whos() error  
base.whos invalid  
whos() ERROR: UndefVarError: whos not defined

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [January 10, 2019, 2:30pm UTC](https://discourse.julialang.org/t/base-whos-no-longer-works-in-1-0/19475/2 "2019-01-10T14:30:50Z")

</div>

When upgrading from 0.6 to 1.0, it’s very useful to try the code in 0.7 first to get deprecation warnings such as this one:

```julia
               _
   _ _ _(_)_ | A fresh approach to technical computing
  (_) | (_) (_) | Documentation: https://docs.julialang.org
   _ _ _| |_ __ _ | Type "?" for help, "]?" for Pkg help.
  | | | | | | |/ _` | |
  | | |_| | | | (_| | | Version 0.7.0-rc1.9 (2018-08-01 18:07 UTC)
 _/ |\ __'_|_|_|\__'_| | Commit a83dfeefde (161 days old master)
|__/ | x86_64-w64-mingw32

julia> whos()
┌ Warning: `whos()` is deprecated, use `varinfo()` instead.
│ caller = top-level scope at none:0
└ @ Core none:0

```

---

<div class="post-metadata">

**Author:** ![zgornel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/zgornel/32/217487_2.png) [@zgornel](https://discourse.julialang.org/u/zgornel)\
**Post date:** [January 10, 2019, 3:14pm UTC](https://discourse.julialang.org/t/base-whos-no-longer-works-in-1-0/19475/3 "2019-01-10T15:14:19Z")

</div>

You may try `Base.varinfo()`. There are other useful functions and macros in `InteractiveUtils`…

---

<div class="post-metadata">

**Author:** ![ImreSamu](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/imresamu/32/20677_2.png) [@ImreSamu](https://discourse.julialang.org/u/ImreSamu)\
**Post date:** [January 10, 2019, 5:18pm UTC](https://discourse.julialang.org/t/base-whos-no-longer-works-in-1-0/19475/4 "2019-01-10T17:18:10Z")

</div>

imho : we can use docker(` julia:0.7` image) to print this information

`docker run -it --rm julia:0.7 julia -e 'whos()'`

```julia
# docker run -it --rm julia:0.7 julia -e 'whos()'
WARNING: Base.whos is deprecated: it has been moved to the standard library package `InteractiveUtils`.
Add `using InteractiveUtils` to your imports.
 in module Main
┌ Warning: `whos()` is deprecated, use `varinfo()` instead.
│ caller = top-level scope at none:0
└ @ Core none:0

```

---

<div class="post-metadata">

**Author:** ![gatohaus](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gatohaus/32/6675_2.png) [@gatohaus](https://discourse.julialang.org/u/gatohaus)\
**Post date:** [January 10, 2019, 10:39pm UTC](https://discourse.julialang.org/t/base-whos-no-longer-works-in-1-0/19475/5 "2019-01-10T22:39:43Z")

</div>

I wish we could have but 0.7 wasn’t approved at work so it never got installed.  
Guess I could have tried it at home, but I try not to bring work home.

Next time we do an upgrade I’ll keep an eye on any versions we skipped over.  
Thanks for the tip!

@zgornel: Thank you, that solves our needs.

---

<div class="post-metadata">

**Author:** ![cstjean](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cstjean/32/1444_2.png) [@cstjean](https://discourse.julialang.org/u/cstjean)\
**Post date:** [January 11, 2019, 12:55am UTC](https://discourse.julialang.org/t/base-whos-no-longer-works-in-1-0/19475/6 "2019-01-11T00:55:51Z")

</div>

You can also check the [history file](https://github.com/JuliaLang/julia/blob/master/HISTORY.md). `whos` is mentioned.
