Skip to main content

Specifying the ! Command Execution Environment

Investigating where cell commands run -- initial assessment is that they run in the Jupyter startup environment rather than the corresponding virtual environment, meaning they do not run directly in the current virtual environment.

image-20240702132908034

This form must be used to run commands in the specified environment within a notebook.

Place what you want to run after &&

! source ~/anaconda3/bin/activate Deep_Learing && pip install pandas

image-20240702134255268