Warning: No suitable VIRTUAL_ENV environmental variable detected.
In order to ensure consistency / reproducibility between runs, you might want to
consider always running this package from within a suitable python virtual
environment, containing the python package versions specified in the package's
requirements.txt file.
Press ENTER if you'd like to continue regardless (or Ctrl-C to abort)
__init__: Setting PKGROOT to /home/junior/Documents/Projetos/Python/self-contained-runnable-python-package-template/packagename
__init__: Setting INPUTS_PATH to /home/junior/Documents/Projetos/Python/self-contained-runnable-python-package-template/packagename/inputs
__init__: Setting OUTPUTS_PATH to /home/junior/Documents/Projetos/Python/self-contained-runnable-python-package-template/packagename/outputs
__init__: Setting MCMC_ENGINE to <class 'packagename.config.CONFIG.Stan'>
Traceback (most recent call last):
File "/usr/lib64/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib64/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/junior/Documents/Projetos/Python/self-contained-runnable-python-package-template/packagename/tests/__main__.py", line 41, in <module>
if __name__ == '__main__': main()
File "/home/junior/Documents/Projetos/Python/self-contained-runnable-python-package-template/packagename/tests/__main__.py", line 33, in main
Tests = unittest.defaultTestLoader.discover( start_dir = TestDir )
File "/usr/lib64/python3.10/unittest/loader.py", line 306, in discover
os.path.dirname((the_module.__file__)))
File "/usr/lib64/python3.10/posixpath.py", line 152, in dirname
p = os.fspath(p)
TypeError: expected str, bytes or os.PathLike object, not NoneType