Skip to content
Snippets Groups Projects
Commit 40ed30f5 authored by François  LAURENT's avatar François LAURENT
Browse files

attempt to identify the cause of a "PyCall not found" warning message on Maestro

parent cb5a22f7
No related branches found
No related tags found
No related merge requests found
Pipeline #102497 passed
...@@ -14,11 +14,14 @@ JULIA_PROJECT = os.environ.get('JULIA_PROJECT', '') ...@@ -14,11 +14,14 @@ JULIA_PROJECT = os.environ.get('JULIA_PROJECT', '')
try: try:
from julia import Julia from julia import Julia
Julia(compiled_modules=False)
except: except:
logging.warning(f"PyCall not found in JULIA_PROJECT={JULIA_PROJECT}; \ logging.warning(f"PyCall not found in JULIA_PROJECT={JULIA_PROJECT}; \
please see https://gitlab.pasteur.fr/nyx/TaggingBackends#recommended-installation") please see https://gitlab.pasteur.fr/nyx/TaggingBackends#recommended-installation")
else: else:
try:
Julia(compiled_modules=False)
except:
logging.warning("Failed to set PyCall with compiled_modules=False")
try: try:
from julia import TaggingBackends from julia import TaggingBackends
except ImportError: except ImportError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment