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

Getting Runtime Error when running on Windows 10 #8

Closed
RameshKamath opened this issue Apr 14, 2021 · 3 comments
Closed

Getting Runtime Error when running on Windows 10 #8

RameshKamath opened this issue Apr 14, 2021 · 3 comments

Comments

@RameshKamath
Copy link

I was able to build the code to windows on.

  • conda python 3.7.10
  • MSVC c++ compiler
  • requirements from README.md

I got this Error when running the train_init.py on chess dataset.

i used :
python .\train_init.py 7scenes_chess chess --mode 0

RuntimeError:
        An attempt has been made to start a new process before the
        current process has finished its bootstrapping phase.
        This probably means that you are not using fork to start your
        child processes and you have forgotten to use the proper idiom
        in the main module:

            if __name__ == '__main__':
                freeze_support()
                ...

        The "freeze_support()" line can be omitted if the program
        is not going to be frozen to produce an executable.

i think this is problem from not linking openmp with -fopenmp flag or some other error in windows.

@ebrach
Copy link
Collaborator

ebrach commented Apr 14, 2021

Sorry, but I cannot provide support for Windows at the moment.

@YaroslavShchekaturov
Copy link

I have solved that by adding this lines
image

image

@ebrach
Copy link
Collaborator

ebrach commented Jul 5, 2021

Awesome, thanks for following up on this!

@ebrach ebrach closed this as completed Jul 5, 2021
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