How do PyCall use already existed Python with installed packages

Would you suggest, How do PyCall use already existed Python with installed packages.

thank you in advance.

When using Conda, the following steps should do it (if I remember correctly):

  1. activate the corresponding Conda environment
  2. start Julia
  3. ] build PyCall (only required if PyCall has been bulit with different Python version/ env before)

You can do

ENV["PYTHON"] = "/path/to/python-binary-with-packages/installed"

at the start of your script. For example

ENV["PYTHON"] = "/home/my-username/my-python-3.7/bin/python"