developer icon indicating copy to clipboard operation
developer copied to clipboard

error while installing "utils" module

Open Abhimurthy001 opened this issue 1 year ago • 3 comments

C:\Program │ │ Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\runpy. │ │ py:196 in _run_module_as_main │ │ │ │ 195 │ │ sys.argv[0] = mod_spec.origin │ │ ❱ 196 │ return run_code(code, main_globals, None, │ │ 197 │ │ │ │ │ "main", mod_spec) │ │ │ │ C:\Program │ │ Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.3056.0_x64__qbz5n2kfra8p0\lib\runpy. │ │ py:86 in run_code │ │ │ │ 85 │ │ │ │ │ spec = mod_spec) │ │ ❱ 86 │ exec(code, run_globals) │ │ 87 │ return run_globals │ │ │ │ D:\smol\smol\Scripts\modal.exe_main.py:7 in │ │ │ │ │ │ D:\smol\smol\lib\site-packages\modal_main.py:6 in main │ │ │ │ 5 def main(): │ │ ❱ 6 │ entrypoint_cli() │ │ 7 │ │ │ │ D:\smol\smol\lib\site-packages\click\core.py:1130 in call │ │ │ │ 1129 │ │ """Alias for :meth:main.""" │ │ ❱ 1130 │ │ return self.main(*args, **kwargs) │ │ 1131 │ │ │ │ D:\smol\smol\lib\site-packages\typer\core.py:778 in main │ │ │ │ 777 │ ) -> Any: │ │ ❱ 778 │ │ return _main( │ │ 779 │ │ │ self, │ │ │ │ D:\smol\smol\lib\site-packages\typer\core.py:216 in _main │ │ │ │ 215 │ │ │ with self.make_context(prog_name, args, **extra) as ctx: │ │ ❱ 216 │ │ │ │ rv = self.invoke(ctx) │ │ 217 │ │ │ │ if not standalone_mode: │ │ │ │ D:\smol\smol\lib\site-packages\click\core.py:1657 in invoke │ │ │ │ 1656 │ │ │ │ with sub_ctx: │ │ ❱ 1657 │ │ │ │ │ return _process_result(sub_ctx.command.invoke(sub_ctx)) │ │ 1658 │ │ │ │ D:\smol\smol\lib\site-packages\click\core.py:1657 in invoke │ │ │ │ 1656 │ │ │ │ with sub_ctx: │ │ ❱ 1657 │ │ │ │ │ return _process_result(sub_ctx.command.invoke(sub_ctx)) │ │ 1658 │ │ │ │ D:\smol\smol\lib\site-packages\click\core.py:1404 in invoke │ │ │ │ 1403 │ │ if self.callback is not None: │ │ ❱ 1404 │ │ │ return ctx.invoke(self.callback, **ctx.params) │ │ 1405 │ │ │ │ D:\smol\smol\lib\site-packages\click\core.py:760 in invoke │ │ │ │ 759 │ │ │ with ctx: │ │ ❱ 760 │ │ │ │ return __callback(*args, **kwargs) │ │ 761 │ │ │ │ D:\smol\smol\lib\site-packages\click\decorators.py:26 in new_func │ │ │ │ 25 │ def new_func(*args, **kwargs): # type: ignore │ │ ❱ 26 │ │ return f(get_current_context(), *args, **kwargs) │ │ 27 │ │ │ │ D:\smol\smol\lib\site-packages\modal\cli\run.py:116 in f │ │ │ │ 115 │ │ │ else: │ │ ❱ 116 │ │ │ │ func(*args, **kwargs) │ │ 117 │ │ │ if app.function_invocations == 0: │ │ │ │ D:\smol\smol\developer\main.py:115 in main │ │ │ │ │ │ :883 in exec_module │ │ │ │ :241 in _call_with_frames_removed │ │ │ │ │ │ /root/main.py:4 in │ │ │ │ ❱ 4 from utils import clean_dir │ │ │ ╰──────────────────────────────────────────────────────────────────────────────────────────────────╯ ModuleNotFoundError: No module named 'utils'

Abhimurthy001 avatar Jun 08 '23 09:06 Abhimurthy001

same problem here. any solution?

willow2772 avatar Jun 08 '23 10:06 willow2772

same problem here. any solution? nope tried with new env several times but same error..

Abhimurthy001 avatar Jun 08 '23 13:06 Abhimurthy001

same problem here. any solution? nope tried with new env several times but same error..

Same Here And I Already Try Reinstall But Still Fail....

j4acks0n avatar Jun 09 '23 17:06 j4acks0n