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

error while installing "utils" module #87

Open
Abhimurthy001 opened this issue Jun 8, 2023 · 3 comments
Open

error while installing "utils" module #87

Abhimurthy001 opened this issue Jun 8, 2023 · 3 comments

Comments

@Abhimurthy001
Copy link

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'

@willow2772
Copy link

same problem here. any solution?

@Abhimurthy001
Copy link
Author

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

@j4acks0n
Copy link

j4acks0n commented Jun 9, 2023

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....

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

3 participants