Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
holeung opened this issue Apr 12, 2020 · 4 comments
Open

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

holeung opened this issue Apr 12, 2020 · 4 comments

Comments

@holeung
Copy link

holeung commented Apr 12, 2020

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'

@mwojcikowski
Copy link
Contributor

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.

@Jooyun1983
Copy link

Jooyun1983 commented Nov 16, 2020

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

@Jooyun1983
Copy link

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.

@de-maas
Copy link

de-maas commented Dec 14, 2022

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants