You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to run snakemake 8.4.8 with the Life Sciences API. I cloned this repo into my Python site-packages path where the google batch plugin installed and called snakemake with the following: snakemake --exector google-lifesciences, and the below error. If I have this dir in my site-packages at all, I end up getting this error with any snakemake command. Any advice on how to get LS API running with newer versions of Snakemake? Batch is not yet approved in my GCP environment so I have to use LS API.
(snakemake) jupyter@benchmarking-1-31:$ cp -r snakemake-executor-plugin-google-lifesciences/snakemake_executor_plugin_google_lifesciences/ /mambaforge/envs/snakemake/lib/python3.12/site-packages/
(snakemake) jupyter@benchmarking-1-31:$ snakemake --exector google-lifesciences
Traceback (most recent call last):
File "/home/jupyter/mambaforge/envs/snakemake/bin/snakemake", line 6, in
from snakemake.cli import main
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/cli.py", line 20, in
from snakemake.api import SnakemakeApi, _get_executor_plugin_registry, resolve_snakefile
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/api.py", line 48, in
from snakemake.workflow import Workflow
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/workflow.py", line 63, in
from snakemake.scheduler import JobScheduler
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/scheduler.py", line 28, in
registry = ExecutorPluginRegistry()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_common/plugin_registry/init.py", line 31, in init
self.collect_plugins()
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_common/plugin_registry/init.py", line 77, in collect_plugins
module = importlib.import_module(moduleinfo.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_executor_plugin_google_lifesciences/init.py", line 31, in
from snakemake_interface_executor_plugins import ExecutorSettingsBase, CommonSettings
ImportError: cannot import name 'ExecutorSettingsBase' from 'snakemake_interface_executor_plugins' (/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_executor_plugins/init.py)
(snakemake) jupyter@benchmarking-1-31:$ snakemake --version
Traceback (most recent call last):
File "/home/jupyter/mambaforge/envs/snakemake/bin/snakemake", line 6, in
from snakemake.cli import main
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/cli.py", line 20, in
from snakemake.api import SnakemakeApi, _get_executor_plugin_registry, resolve_snakefile
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/api.py", line 48, in
from snakemake.workflow import Workflow
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/workflow.py", line 63, in
from snakemake.scheduler import JobScheduler
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/scheduler.py", line 28, in
registry = ExecutorPluginRegistry()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_common/plugin_registry/init.py", line 31, in init
self.collect_plugins()
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_common/plugin_registry/init.py", line 77, in collect_plugins
module = importlib.import_module(moduleinfo.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_executor_plugin_google_lifesciences/init.py", line 31, in
from snakemake_interface_executor_plugins import ExecutorSettingsBase, CommonSettings
ImportError: cannot import name 'ExecutorSettingsBase' from 'snakemake_interface_executor_plugins' (/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_executor_plugins/init.py)
(snakemake) jupyter@benchmarking-1-31:~$ snakemake
Traceback (most recent call last):
File "/home/jupyter/mambaforge/envs/snakemake/bin/snakemake", line 6, in
from snakemake.cli import main
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/cli.py", line 20, in
from snakemake.api import SnakemakeApi, _get_executor_plugin_registry, resolve_snakefile
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/api.py", line 48, in
from snakemake.workflow import Workflow
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/workflow.py", line 63, in
from snakemake.scheduler import JobScheduler
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/scheduler.py", line 28, in
registry = ExecutorPluginRegistry()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_common/plugin_registry/init.py", line 31, in init
self.collect_plugins()
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_common/plugin_registry/init.py", line 77, in collect_plugins
module = importlib.import_module(moduleinfo.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_executor_plugin_google_lifesciences/init.py", line 31, in
from snakemake_interface_executor_plugins import ExecutorSettingsBase, CommonSettings
ImportError: cannot import name 'ExecutorSettingsBase' from 'snakemake_interface_executor_plugins' (/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_executor_plugins/init.py)
The text was updated successfully, but these errors were encountered:
Hello,
I am trying to run snakemake 8.4.8 with the Life Sciences API. I cloned this repo into my Python site-packages path where the google batch plugin installed and called snakemake with the following:
snakemake --exector google-lifesciences
, and the below error. If I have this dir in my site-packages at all, I end up getting this error with any snakemake command. Any advice on how to get LS API running with newer versions of Snakemake? Batch is not yet approved in my GCP environment so I have to use LS API.(snakemake) jupyter@benchmarking-1-31:
$ cp -r snakemake-executor-plugin-google-lifesciences/snakemake_executor_plugin_google_lifesciences/$ snakemake --version/mambaforge/envs/snakemake/lib/python3.12/site-packages/$ snakemake --exector google-lifesciences(snakemake) jupyter@benchmarking-1-31:
Traceback (most recent call last):
File "/home/jupyter/mambaforge/envs/snakemake/bin/snakemake", line 6, in
from snakemake.cli import main
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/cli.py", line 20, in
from snakemake.api import SnakemakeApi, _get_executor_plugin_registry, resolve_snakefile
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/api.py", line 48, in
from snakemake.workflow import Workflow
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/workflow.py", line 63, in
from snakemake.scheduler import JobScheduler
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/scheduler.py", line 28, in
registry = ExecutorPluginRegistry()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_common/plugin_registry/init.py", line 31, in init
self.collect_plugins()
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_common/plugin_registry/init.py", line 77, in collect_plugins
module = importlib.import_module(moduleinfo.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_executor_plugin_google_lifesciences/init.py", line 31, in
from snakemake_interface_executor_plugins import ExecutorSettingsBase, CommonSettings
ImportError: cannot import name 'ExecutorSettingsBase' from 'snakemake_interface_executor_plugins' (/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_executor_plugins/init.py)
(snakemake) jupyter@benchmarking-1-31:
Traceback (most recent call last):
File "/home/jupyter/mambaforge/envs/snakemake/bin/snakemake", line 6, in
from snakemake.cli import main
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/cli.py", line 20, in
from snakemake.api import SnakemakeApi, _get_executor_plugin_registry, resolve_snakefile
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/api.py", line 48, in
from snakemake.workflow import Workflow
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/workflow.py", line 63, in
from snakemake.scheduler import JobScheduler
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/scheduler.py", line 28, in
registry = ExecutorPluginRegistry()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_common/plugin_registry/init.py", line 31, in init
self.collect_plugins()
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_common/plugin_registry/init.py", line 77, in collect_plugins
module = importlib.import_module(moduleinfo.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_executor_plugin_google_lifesciences/init.py", line 31, in
from snakemake_interface_executor_plugins import ExecutorSettingsBase, CommonSettings
ImportError: cannot import name 'ExecutorSettingsBase' from 'snakemake_interface_executor_plugins' (/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_executor_plugins/init.py)
(snakemake) jupyter@benchmarking-1-31:~$ snakemake
Traceback (most recent call last):
File "/home/jupyter/mambaforge/envs/snakemake/bin/snakemake", line 6, in
from snakemake.cli import main
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/cli.py", line 20, in
from snakemake.api import SnakemakeApi, _get_executor_plugin_registry, resolve_snakefile
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/api.py", line 48, in
from snakemake.workflow import Workflow
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/workflow.py", line 63, in
from snakemake.scheduler import JobScheduler
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake/scheduler.py", line 28, in
registry = ExecutorPluginRegistry()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_common/plugin_registry/init.py", line 31, in init
self.collect_plugins()
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_common/plugin_registry/init.py", line 77, in collect_plugins
module = importlib.import_module(moduleinfo.name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/importlib/init.py", line 90, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_executor_plugin_google_lifesciences/init.py", line 31, in
from snakemake_interface_executor_plugins import ExecutorSettingsBase, CommonSettings
ImportError: cannot import name 'ExecutorSettingsBase' from 'snakemake_interface_executor_plugins' (/home/jupyter/mambaforge/envs/snakemake/lib/python3.12/site-packages/snakemake_interface_executor_plugins/init.py)
The text was updated successfully, but these errors were encountered: