Closed BingWangUS closed 4 years ago
Currently, python files are not copied correctly to the BHoM folder.
We have an open pr that solves that - https://github.com/BHoM/BHoM_Installer/pull/82 - keep an eye for that to be merged!
Currently, python files are not copied correctly to the BHoM folder.
We have an open pr that solves that - BHoM/BHoM_Installer#82 - keep an eye for that to be merged!
Hi Eduardo, after installer I also compile so those files are there. I guess this is not the cause but will keep an eye on the installer and test and report back.
I followed your procedure and added a restart of Rhinoceros as a point 5b. All working ok:
Di you restart the UI after installing the ML Toolkit?
Retesting this, confirm the script can work in Rhino 5 but not Rhino 6.
Ok, thanks Bing - so I'll close this as duplicate of #31
I can confirm the issue is caused by pandas - even though the previous scripts is not using pandas, it is importing all python files when initialising python, which will import pandas and then cause issue in Rhino 6.
Removing the following lines in Compute__init__.py will make the previous script back to work, but of course, will cause trouble to python charts functionality. from .ClimateCharts import Diurnal from .ClimateCharts import UTCI from .ClimateCharts import Frequency from .ClimateCharts import Heatmap
So maybe only import the py scripts when needed could be a solution?
Description:
Having this issue after a clean install from installer.
Steps to reproduce:
Expected behaviour:
Test file(s):