Mriqc error on command line

Getting an error when using mriqc on command line. It seems to find the files (outputs “Building anatomical MRIQC workflows, datasets list [‘name_of_my_file.nii.gz’]” ). But then gives the following error… Would it be because of my python version?
_python_deprecation_warnings()
2020-07-24 14:43:47,480 py.warnings:WARNING /usr/local/lib/python3.5/dist-packages/nilearn/init.py:68: FutureWarning: Python 3.5 support is deprecated and will be removed in a future release. Consider switching to Python 3.6 or 3.7
_python_deprecation_warnings()

Traceback (most recent call last):
File “/usr/local/bin/mriqc”, line 11, in
load_entry_point(‘mriqc==0.15.2rc1+36.gf6c7066’, ‘console_scripts’, ‘mriqc’)()
File “/usr/local/lib/python3.5/dist-packages/mriqc/bin/mriqc_run.py”, line 256, in main
mriqc_wf.run(**plugin_settings)
File “/usr/local/lib/python3.5/dist-packages/nipype/pipeline/engine/workflows.py”, line 629, in run
self._configure_exec_nodes(execgraph)
File “/usr/local/lib/python3.5/dist-packages/nipype/pipeline/engine/workflows.py”, line 747, in configure_exec_nodes
op.join(edge[0].output_dir(), "result
%s.pklz" % edge[0].name),
File “/usr/local/lib/python3.5/dist-packages/nipype/pipeline/engine/nodes.py”, line 287, in output_dir
outputdir = op.join(outputdir, *self._hierarchy.split("."))
File “/usr/lib/python3.5/posixpath.py”, line 89, in join
genericpath._check_arg_types(‘join’, a, *p)
File “/usr/lib/python3.5/genericpath.py”, line 143, in _check_arg_types
(funcname, s.class.name)) from None
TypeError: join() argument must be str or bytes, not ‘PosixPath’