# Conda installed but command not found

**URL:** <https://discourse.jupyter.org/t/conda-installed-but-command-not-found/18211>\
**Category:** JupyterHub\
**Created:** [March 1, 2023, 8:39am UTC](https://discourse.jupyter.org/t/conda-installed-but-command-not-found/18211 "2023-03-01T08:39:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Julian\_David\_Hurtado](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/julian_david_hurtado/32/9137_2.png) [@Julian\_David\_Hurtado](https://discourse.jupyter.org/u/Julian_David_Hurtado)\
**Post date:** [March 1, 2023, 8:39am UTC](https://discourse.jupyter.org/t/conda-installed-but-command-not-found/18211/1 "2023-03-01T08:39:35Z")

</div>

When a new user log in to the jupyterhub I see that by doing pip list I have conda 4.14 already installed but when I try to use it i have the message error of “command not found”

I have already try to activate the path but I am confuse about where to point this.

thank you!

---

<div class="post-metadata">

**Author:** ![minrk](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/minrk/32/13_2.png) [@minrk](https://discourse.jupyter.org/u/minrk)\
**Post date:** [March 1, 2023, 10:22am UTC](https://discourse.jupyter.org/t/conda-installed-but-command-not-found/18211/2 "2023-03-01T10:22:48Z")

</div>

What Spawner are you using, and is $PATH in a terminal?

Generally this means you need to set the PATH environment, and how will depend on which Spawner you use. If it’s a container, this is usually

You can always use Spawner.environment, but this isn’t very nice for PATH since you have to explicitly set the full path, and can’t do simple additions like `PATH=/something/bin:$PATH`

I often like to use a [launch script](https://discourse.jupyter.org/t/jupyter-server-source-script-on-launch/15372/3) that does things like activate environments, source profile files, etc. so that PATHs are what you expect from a typical shell session.

---

<div class="post-metadata">

**Author:** ![Julian\_David\_Hurtado](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/julian_david_hurtado/32/9137_2.png) [@Julian\_David\_Hurtado](https://discourse.jupyter.org/u/Julian_David_Hurtado)\
**Post date:** [March 2, 2023, 7:20am UTC](https://discourse.jupyter.org/t/conda-installed-but-command-not-found/18211/3 "2023-03-02T07:20:49Z")

</div>

can you please tell me how to check my spawner I am complety new with linux and TLJH so I dont really know where everything is located and how it works :(.

---

<div class="post-metadata">

**Author:** ![minrk](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/minrk/32/13_2.png) [@minrk](https://discourse.jupyter.org/u/minrk)\
**Post date:** [March 22, 2023, 8:52am UTC](https://discourse.jupyter.org/t/conda-installed-but-command-not-found/18211/4 "2023-03-22T08:52:03Z")

</div>

Sorry for not replying sooner.

You can check your path in a terminal with `echo $PATH`, or in Python with:

```python
import os
print(os.environ["PATH"])

```

If you’re using TLJH and haven’t changed anything, you are using systemdspawner. You can use `find` to locate the `conda` executable. You may also find the [tljh docs on installing packages](https://tljh.jupyter.org/en/latest/howto/env/user-environment.html#installing-conda-packages) useful.
