docs: clarify adding custom packages to REPL component (#9450)
clarify-custom-packages
This commit is contained in:
parent
5099ffcab8
commit
8c74c98b8d
1 changed files with 6 additions and 1 deletions
|
|
@ -556,6 +556,11 @@ There are several ways you can address these inconsistencies:
|
||||||
|
|
||||||
This component allows you to execute Python code with imported packages.
|
This component allows you to execute Python code with imported packages.
|
||||||
|
|
||||||
|
The **Python Interpreter** component can only import packages that are already installed in your Langflow environment.
|
||||||
|
If you encounter an `ImportError` when trying to use a package, you need to install it first.
|
||||||
|
|
||||||
|
To install custom packages, see [Install custom dependencies](/install-custom-dependencies).
|
||||||
|
|
||||||
### Use the Python Interpreter in a flow
|
### Use the Python Interpreter in a flow
|
||||||
|
|
||||||
1. To use this component in a flow, in the **Global Imports** field, add the packages you want to import as a comma-separated list, such as `math,pandas`.
|
1. To use this component in a flow, in the **Global Imports** field, add the packages you want to import as a comma-separated list, such as `math,pandas`.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue