pace-neutrons / pace-python

Python module of the PACE inelastic neutron data analysis suite of programs.
GNU General Public License v3.0
3 stars 4 forks source link

Wheels don't include MCR_license.txt #15

Closed rebeccafair closed 2 years ago

rebeccafair commented 2 years ago

When I try and install from PyPI:

python -mpip install pace_neutrons
pace_neutrons

I get the error:

This is the first time PACE has been run, and we could not find a suitable Matlab Compiler Runtime (MCR) installed.
Do you want to automatically install the MCR? ("y" or "n")y
Traceback (most recent call last):
  File "C:\Users\Miniconda3\envs\py37\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "C:\Users\Miniconda3\envs\py37\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Users\Miniconda3\envs\py37\Scripts\pace_neutrons.exe\__main__.py", line 7, in <module>
  File "C:\Users\Miniconda3\envs\py37\lib\site-packages\pace_neutrons_cli\cli.py", line 87, in main
    _set_env(mlPath, force_reload)
  File "C:\Users\Miniconda3\envs\py37\lib\site-packages\pace_neutrons_cli\cli.py", line 40, in _set_env
    mlPath = install_MCR(interactive=True)
  File "C:\Users\Miniconda3\envs\py37\lib\site-packages\pace_neutrons_cli\utils.py", line 352, in install_MCR
    with open(lic_file, 'r') as lic:
FileNotFoundError: [Errno 2] No such file or directory: 'C:\\Users\\Miniconda3\\envs\\py37\\lib\\site-packages\\pace_neutrons_cli\\MCR_license.txt'

The MCR_license.txt is not in either the pace_neutrons or pace_neutrons_cli directories