Skip to content
Snippets Groups Projects
Open Cannot import modules without entering the interactive mode
  • View options
  • Cannot import modules without entering the interactive mode

  • View options
  • Open Issue created

    I have an environment created with conda create -n bob3py35 python=3.5 bob-devel=2017.09.04 bob-extras=2017.10.03 and then I run buidlout in one of the packages. I have tested this with bob.learn.tensorflow and bob.dap.base. Buildout finishes fine but I cannot import the module with entering interactive mode:

    $ git clean -ffdx
    $ buildout
    $ bin/python -c 'import bob.learn.tensorflow'
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
    ImportError: No module named 'bob.learn.tensorflow'
    $ bin/python
    Python 3.5.4 |Continuum Analytics, Inc.| (default, Aug 14 2017, 13:26:58) 
    [GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import bob.learn.tensorflow
    >>> # the import worked fine here.
    $

    I have no idea why am I getting this error. This does not happen with Python 2.7.

    Edited
    • Merge request
    • Branch

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading