Matminer CompositionToOxidComposition() error

Hi, there.

I am trying to use

CompositionToOxidComposition().featurize_dataframe(df, ‘structure’)

and following error messages appears.

Please help.

Thanks,
Chae-Ho

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

Hi, welcome to the forum!

What OS are you running on? Windows 10?
What versions of python are you using?
And finally, what version of matminer and multiprocessing you do have?

Thanks,
Alex

Hi, Alex.
Thanks for your help. I have setup the python environment in pyCharm, and I assume this is the reason why it is not working. The version are as following.

  • OS: Window 10
  • python: 3.5
  • Matminer: 0.6.3.
  • multiprocessing: package could not be found or installed.

I am trying to uninstall and setup the python in Anaconda, which was working from previous computer…
Please let me know if there is any other solution.

Thanks,
Chae-Ho