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?
2020-07-24 14:43:47,480 py.warnings:WARNING /usr/local/lib/python3.5/dist-packages/nilearn/ FutureWarning: Python 3.5 support is deprecated and will be removed in a future release. Consider switching to Python 3.6 or 3.7

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/”, line 256, in main**plugin_settings)
File “/usr/local/lib/python3.5/dist-packages/nipype/pipeline/engine/”, line 629, in run
File “/usr/local/lib/python3.5/dist-packages/nipype/pipeline/engine/”, 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/”, line 287, in output_dir
outputdir = op.join(outputdir, *self._hierarchy.split("."))
File “/usr/lib/python3.5/”, line 89, in join
genericpath._check_arg_types(‘join’, a, *p)
File “/usr/lib/python3.5/”, line 143, in _check_arg_types
(funcname, from None
TypeError: join() argument must be str or bytes, not ‘PosixPath’