No module named past error

243 views
Skip to first unread message

Pranav Shah

unread,
May 10, 2021, 6:21:43 AM5/10/21
to em...@googlegroups.com
Hi Steve and Muyuan,

I have updated my version of eman2, upon activation of the environment
I get a the following error message when I try to run any of the eman2
CLI utils. In this case e2proc3d.py -

Traceback (most recent call last):
File "/Users/ps/software/eman2/bin/e2proc3d.py", line 35, in <module>
from past.utils import old_div
ModuleNotFoundError: No module named 'past'

Output of e2version.py is as follows -
EMAN 2.91 final ( GITHUB: 2021-03-08 12:05 - commit: 81caed2 )
Your EMAN2 is running on: Mac OS 10.16 x86_64
Your Python version is: 3.7.10

Could you help me get past this issue?
Best,
Pranav
--
Pranav Shah
Postdoctoral Research Fellow.

Division of Structural Biology,
Wellcome Trust Centre for Human Genetics,
University of Oxford,
Roosevelt Drive, Oxford OX3 7BN,
UK

Grigory Sharov

unread,
May 10, 2021, 9:19:49 AM5/10/21
to eman2
Hi Pranav,

this happened to me when I used the following option during install:

-s           skip running pre/post-link/install scripts

If you don't use it eman installs properly.

Best regards,
Grigory

--------------------------------------------------------------------------------
Grigory Sharov, Ph.D.

MRC Laboratory of Molecular Biology,
Francis Crick Avenue,
Cambridge Biomedical Campus,
Cambridge CB2 0QH, UK.
tel. +44 (0) 1223 267228


--
--
----------------------------------------------------------------------------------------------
You received this message because you are subscribed to the Google
Groups "EMAN2" group.
To post to this group, send email to em...@googlegroups.com
To unsubscribe from this group, send email to eman2+un...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/eman2

---
You received this message because you are subscribed to the Google Groups "EMAN2" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eman2+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAHNYQ5qiQFNwcWJp6s_gBRcohwXBUsQYhZ%3DqWJRefzvQQNBmBA%40mail.gmail.com.

Pranav Shah

unread,
May 10, 2021, 12:38:59 PM5/10/21
to em...@googlegroups.com
Oh I see! OK, will reinstall without that flag.
Thanks Grigory!
Best,
Pranav
--
Pranav Shah
Postdoctoral Research Fellow.

Division of Structural Biology,
Wellcome Trust Centre for Human Genetics,
University of Oxford,
Roosevelt Drive, Oxford OX3 7BN,
UK

> To view this discussion on the web visit https://groups.google.com/d/msgid/eman2/CAJZ7w0db0fhAfogSj2QzW3%3DdVbZgAWB6fORmAgrq8ToJeiX%3D_w%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages