On Sunday, December 10, 2017 at 11:17:35 AM UTC, Dima Pasechnik wrote: > > On my installation, thes files don't exist: > > $ ls local/lib/python2.7/site-packages/ldap/ > __init__.py __init__.pyc mock.py mock.pyc server.py server.pyc > > Confusingly, pip also has a package called python-ldap; if I do > ./sage --pip install python-ldap > then I get that ldap/filter.py files indeed. > But do we need it? > > How do I reproduce your error? Perhaps it could be some problem related to absolute imports, something we switched to in the recent sagenb.
> > > On Sunday, December 10, 2017 at 9:25:21 AM UTC, Jori Mäntysalo wrote: >> >> On Sun, 10 Dec 2017, Dima Pasechnik wrote: >> >> > Could you locate the python file this command is in? >> >> $ fgrep 'import strf_secs' -R . >> ./local/lib/python2.7/site-packages/ldap/filter.py:from ldap.functions >> import strf_secs >> ./local/lib/python3.6/site-packages/python_ldap-3.0.0b1-py3.6-linux-x86_64.egg/ldap/filter.py:from >> >> ldap.functions import strf_secs >> ./local/lib64/python2.7/site-packages/ldap/filter.py:from ldap.functions >> import strf_secs >> ./local/lib64/python3.6/site-packages/python_ldap-3.0.0b1-py3.6-linux-x86_64.egg/ldap/filter.py:from >> >> ldap.functions import strf_secs >> >> -- >> Jori Mäntysalo >> > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.