oddt/rfscorevs_binary

AttributeError: module 'sys' has no attribute 'frozen'

holeung opened this issue · 4 comments

Hello,

I am trying to run the binary using the latest version of oddt, anaconda, and relevant packages (rdkit, openbabel). I am receiving the following error:

File "/local_programs/rfscorevs/rf-score-vs", line 117, in
score_file = path_join(sys._MEIPASS if sys.frozen else dirname(abspath(file)), 'RFScoreVS_v2_vina.pickle')
AttributeError: module 'sys' has no attribute 'frozen'

Hi @holeung,
I somehow managed to overlook your issue, sorry for that. I will be conducting a Python 3 refresh of the repos, which seem to be the problem here. If you still are able to provide versions of packages that you had problems with that would be ideal.

Hi @mwojcikowski
I also have this problem when I run the rfscorevs in python 3.6. How can I solve this problem?

Hi @mwojcikowski
I also have this problem when I run the rfscorevs in python 3.6. How can I solve this problem?

I solved this problem when I set the python 2.7 // the pyinstaller, sklearn-compiledtrees, oddt descrived in the binary implementation details and licensing. Further, I run the rf-score-vs_linux.sh.

Having the same problems here on windows and CentOS.
It seems it hasn't been fixed yet.
So where do I have to set python 2.7 ?

On the other hand, it seems this hasn't been touched since 6 years. Does this mean this method has been implemented somewhere else?