From 68c1c8c4be52eccecc4412e6b602fa3f5be84bf5 Mon Sep 17 00:00:00 2001 From: Lilith Hafner Date: Thu, 5 Oct 2023 08:01:20 -0500 Subject: [PATCH] fixup --- test/python/pycall.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/python/pycall.jl b/test/python/pycall.jl index 0b03a6231..feb5a2a16 100644 --- a/test/python/pycall.jl +++ b/test/python/pycall.jl @@ -1,8 +1,9 @@ using PyCall, SciMLBase, OrdinaryDiffEq py""" # This is a mess because normal site-packages is not writeable in CI -import pip, site, sys -pip._internal.main(['install', '--user', 'julia']) +from pip import _internal as _internal +_internal.main(['install', '--user', 'julia']) +import site, sys sys.path.append(site.getusersitepackages()) """