StochSS / stochss-compute

A compute delegation server for the StochSS family of stochastic simulators.
https://stochss.github.io/stochss-compute/
GNU General Public License v3.0
5 stars 0 forks source link

Fixed ImportError exceptions in clients where Flask is not installed. #94

Closed ethangreen-dev closed 2 years ago

ethangreen-dev commented 2 years ago

Resolves #71

Changes

mdip226 commented 2 years ago

When I tried to run this, I got

Traceback (most recent call last):
  File "app.py", line 1, in <module>
    from stochss_compute import api
  File "/home/mdip/Projects/stochss-compute/stochss_compute/__init__.py", line 1, in <module>
    from stochss_compute.remote_simulation import RemoteSimulation, ComputeServer
  File "/home/mdip/Projects/stochss-compute/stochss_compute/remote_simulation.py", line 10, in <module>
    from .remote_utils import unwrap_or_err
  File "/home/mdip/Projects/stochss-compute/stochss_compute/remote_utils.py", line 6, in <module>
    from stochss_compute.api.dataclass import ErrorResponse
  File "/home/mdip/Projects/stochss-compute/stochss_compute/api/__init__.py", line 6, in <module>
    from .api import start_api
  File "/home/mdip/Projects/stochss-compute/stochss_compute/api/api.py", line 5, in <module>
    from .v1 import v1_api
  File "/home/mdip/Projects/stochss-compute/stochss_compute/api/v1/__init__.py", line 4, in <module>
    from .memory import v1_memory
  File "/home/mdip/Projects/stochss-compute/stochss_compute/api/v1/memory.py", line 1, in <module>
    from msilib.schema import Error
ModuleNotFoundError: No module named 'msilib'
briandrawert commented 2 years ago

We are deprecating Flask, this is not needed