Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Is mosec available on windows? #410

Closed
ynkim0 opened this issue Jul 4, 2023 · 1 comment
Closed

Is mosec available on windows? #410

ynkim0 opened this issue Jul 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@ynkim0
Copy link

ynkim0 commented Jul 4, 2023

Describe the bug

At first, Thanks for your great work. I can download and use mosec easily on ubuntu, but there are few thing got wrong on windows. Can you help me with this?

  1. On windows, ForkContext is not working(ImportError: cannot import name 'ForkContext' from 'multiprocessing.context'). So I just removed ForkContext from runtime and only using SpawnContext. Isn't it okay?
  2. I made virtual environment and used the pip tool on both windows and linux to download the 0.7.2 version of mosec. But on windows, there was no bin folder in virtual env. It only has "mixin", "plugins", "utils" folder. So FileNotFoundError occured in mosec/runtime 302 line (self._process = subprocess.Popen([self._server_path] + self._controller_args())). How should I solve it?

To Reproduce

on windows 10, python 3.9

Expected behavior

No response

The mosec version

0.7.2

Additional context

No response

@ynkim0 ynkim0 added the bug Something isn't working label Jul 4, 2023
@kemingy
Copy link
Member

kemingy commented Jul 4, 2023

Thanks for asking.

mosec doesn't support Windows because:

Meanwhile, we don't have a Windows release due to the previous reasons. That's why the package you have downloaded doesn't contain the binary file. It's just a source code distribution.

@mosecorg mosecorg locked and limited conversation to collaborators Aug 31, 2023
@kemingy kemingy converted this issue into discussion #439 Aug 31, 2023

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants