Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ModuleNotFoundError only on JupyterHub #336

Closed
asnaylor opened this issue Apr 3, 2023 · 1 comment
Closed

ModuleNotFoundError only on JupyterHub #336

asnaylor opened this issue Apr 3, 2023 · 1 comment

Comments

@asnaylor
Copy link

asnaylor commented Apr 3, 2023

When i run this line on JupyterHub in a cell:

from balsam.api import ApplicationDefinition

I get this error message:

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
Cell In[1], line 1
----> 1 from balsam.api import ApplicationDefinition

File ~/.conda/envs/balsam/lib/python3.9/site-packages/balsam/__init__.py:1
----> 1 from balsam.util import config_root_logger
      3 __version__ = "0.7.0.a21"
      4 config_root_logger()

File ~/.conda/envs/balsam/lib/python3.9/site-packages/balsam/util/__init__.py:1
----> 1 from .log import Spinner, config_file_logging, config_root_logger, validate_log_level
      2 from .process import Process
      3 from .sighandler import SigHandler

File ~/.conda/envs/balsam/lib/python3.9/site-packages/balsam/util/log.py:12
      9 from pathlib import Path
     10 from typing import Any, Optional, TextIO, Union
---> 12 import multiprocessing_logging  # type: ignore
     14 from .sighandler import SigHandler
     17 class PeriodicMemoryHandler(logging.handlers.MemoryHandler):

ModuleNotFoundError: No module named 'multiprocessing_logging'

What's odd is that I don't get an error message when i run that from either in a python script or in an interactive python session.

Python 3.9.16
balsam==0.7.0a21
@asnaylor
Copy link
Author

asnaylor commented Apr 3, 2023

Determined the issue was due to a problem between move python installs between cori and perlmutter.

@asnaylor asnaylor closed this as completed Apr 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant