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

PyPi install doesn't install from requirements.txt #140

Closed BryanRumsey closed 1 year ago

BryanRumsey commented 2 years ago

Install

pip install stochss_compute

Imports

from stochss_compute.cloud.ec2 import Cluster
from stochss_compute import RemoteSimulation

import gillespy2
import numpy

Error

---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-ee3e40ae7f7f> in <module>
      2 # sys.path.insert(1, os.path.abspath(os.path.join(os.getcwd(), '../')))
      3 
----> 4 from stochss_compute.cloud.ec2 import Cluster
      5 from stochss_compute import RemoteSimulation
      6 

/opt/conda/lib/python3.8/site-packages/stochss_compute/__init__.py in <module>
----> 1 from stochss_compute.remote_simulation import RemoteSimulation, ComputeServer

/opt/conda/lib/python3.8/site-packages/stochss_compute/remote_simulation.py in <module>
      8 from gillespy2.core import Results
      9 
---> 10 from .remote_utils import unwrap_or_err
     11 
     12 from .compute_server import Endpoint

/opt/conda/lib/python3.8/site-packages/stochss_compute/remote_utils.py in <module>
      2 
      3 from requests import Response
----> 4 from pydantic import BaseModel
      5 
      6 from .api.v1.job import ErrorResponse

ModuleNotFoundError: No module named 'pydantic'
mdip226 commented 2 years ago

Ah, there's one little thing.... we gotta do a 1.0 release! PyPi is pre-refactor. I think it's ready I just need to touch up the README. I'll get the pull request finalized

ethangreen-dev commented 2 years ago

Feel free to add me as a reviewer if needed!