We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 15c858b commit 8ac37b5Copy full SHA for 8ac37b5
src/cpython/context.jl
@@ -27,7 +27,7 @@ function init_context()
27
# This is the project in which we manage Python dependences.
28
for env in Base.load_path()
29
proj = Base.env_project_file(env)
30
- is_pythoncall = Base.project_file_name_uuid(proj, "").uuid == PYTHONCALL_UUID
+ is_pythoncall = proj isa String && Base.project_file_name_uuid(proj, "").uuid == PYTHONCALL_UUID
31
depends_on_pythoncall = Base.manifest_uuid_path(env, PYTHONCALL_PKGID) !== nothing
32
if is_pythoncall || depends_on_pythoncall
33
jlenv = proj isa String ? dirname(proj) : env
0 commit comments