rfscorevs_binary icon indicating copy to clipboard operation
rfscorevs_binary copied to clipboard

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

Open holeung opened this issue 5 years ago • 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'

holeung avatar Apr 12 '20 23:04 holeung

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.

mwojcikowski avatar Nov 12 '20 20:11 mwojcikowski

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

Jooyun1983 avatar Nov 16 '20 07:11 Jooyun1983

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.

Jooyun1983 avatar Nov 23 '20 04:11 Jooyun1983

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?

de-maas avatar Dec 14 '22 10:12 de-maas