Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Problem found on Linux, but most probably will replicate also on Windows.
-
Sprint 1.0.7
Description
python -m tvb.interfaces.web.run
seems to prefer tvb.interfaces.web.run.py found in current folder, regardless of what we set as PYTHONHOME.
On Mac this works correctly because the folder where python executable is, differs from the one where tvb/interfaces/.... is.
reload() doesn't seem to work, as being done from run.py also considers curent file as priority source. If we do reload(tvb.interfaces) from a different tvb package (e.g. abcDisplayer.py) it seems to load correctly (from GIT clone), but that is too late, and we can not easily enforce that.
To fix the Linux/Windows package, we could reorganize tvb_data folder:
tvb_data/tvb..
tvb_data/numpy....
tvb_data/EXE/python
OR:
tvb_data/LIBS/tvb..
tvb_data/LIBS/numpy....
tvb_data/python
OR:
convince python -m tvb.interfaces.web.run to use a different search method.