zenml-io / mlstacks

A series of Terraform based recipes to provision popular MLOps stacks on the cloud.
https://mlstacks.zenml.io/
Apache License 2.0
246 stars 32 forks source link

Error when try to provisioning `k3d-modular` in conda virtual enviroment #58

Open ngohoanganh96 opened 1 year ago

ngohoanganh96 commented 1 year ago

hello, I try to create a kubeflow Orchestrator run at local machine using window following the instruction in: https://docs.zenml.io/v/0.33.0/component-gallery/orchestrators/kubeflow after I exercuted this code, [Errno 2] No such file or directory happened. zenml stack recipe deploy k3d-modular -o kubeflow -a minio --no-server

Traceback (most recent call last) 
│ C:\Users\hoanganh\.conda\envs\mlopspoc\lib\runpy.py:196 in _run_module_as_main                   
│                                                                                                  
│   193 │   main_globals = sys.modules["__main__"].__dict__      
│   194 │   if alter_argv:                                                                         
│   195 │   │   sys.argv[0] = mod_spec.origin                                                      
│ > 196 │   return _run_code(code, main_globals, None,                                             
│   197 │   │   │   │   │    "__main__", mod_spec)                                                 
│   198                                                                                            
│   199 def run_module(mod_name, init_globals=None,                                                
│                                                                                                  
│ C:\Users\hoanganh\\.conda\envs\mlopspoc\lib\runpy.py:86 in _run_code                              
│                                                                                                  
│    83 │   │   │   │   │      __loader__ = loader,                                                
│    84 │   │   │   │   │      __package__ = pkg_name,                                             
│    85 │   │   │   │   │      __spec__ = mod_spec)                                                
│ >  86 │   exec(code, run_globals)                                                                
│    87 │   return run_globals                                                                     
│    88                                                                                            
│    89 def _run_module_code(code, init_globals=None,                                              
│                                                                                                  
│ C:\Users\hoanganh\.conda\envs\mlopspoc\Scripts\zenml.exe\__main__.py:7 in <module>               
│                                                                                                  
**│ [Errno 2] No such file or directory:                                                             
│ 'C:\\Users\\hoanganh\\.conda\\envs\\mlopspoc\\Scripts\\zenml.exe\\__main__.py'**                   
│                                                                                                  
│ C:\Users\hoanganh\.conda\envs\mlopspoc\lib\site-packages\click\core.py:1130 in __call__          
│                                                                                                  
│   1127 │                                                                                         
│   1128 │   def __call__(self, *args: t.Any, **kwargs: t.Any) -> t.Any:                           
│   1129 │   │   """Alias for :meth:`main`."""                                                     

local OS:

the virtual enviroment using conda:

Thank you so much. !

worthy7 commented 8 months ago

Please attach more log