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

Multiprocessing error #37

Open
sichra opened this issue Jun 4, 2020 · 0 comments
Open

Multiprocessing error #37

sichra opened this issue Jun 4, 2020 · 0 comments

Comments

@sichra
Copy link

sichra commented Jun 4, 2020

Hi,
thanks for your great package. It worked well when I used it a while ago on a Mac. Now, I just wanted to re-run my code on Windows 10 and once I run
corrected_merged = mnnpy.mnn_correct(batchdict[1][1], batchdict[2][1], var_index=indexlist[4:], batch_key='Replicate', save_raw=True)
I get the following error. Any ideas how I can fix this?

Traceback (most recent call last):
File "", line 1, in
File "C:\Users\User\Anaconda3\envs\ownenv\lib\multiprocessing\spawn.py", line 105, in spawn_main
exitcode = _main(fd)
File "C:\Users\User\Anaconda3\envs\ownenv\lib\multiprocessing\spawn.py", line 114, in _main
prepare(preparation_data)
File "C:\Users\User\Anaconda3\envs\ownenv\lib\multiprocessing\spawn.py", line 225, in prepare
_fixup_main_from_path(data['init_main_from_path'])
File "C:\Users\User\Anaconda3\envs\ownenv\lib\multiprocessing\spawn.py", line 277, in _fixup_main_from_path
run_name="mp_main")
File "C:\Users\User\Anaconda3\envs\ownenv\lib\runpy.py", line 261, in run_path
code, fname = _get_code_from_file(run_name, path_name)
File "C:\Users\User\Anaconda3\envs\ownenv\lib\runpy.py", line 231, in _get_code_from_file
with open(fname, "rb") as f:
OSError: [Errno 22] Invalid argument: 'C:\Users\User\PycharmProjects\ownenv\'

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

1 participant