Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob.buildout bob.buildout
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bob
  • bob.buildoutbob.buildout
  • Issues
  • #21
Closed
Open
Created Oct 04, 2017 by Amir MOHAMMADI@amohammadiOwner

Cannot import modules without entering the interactive mode

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 Oct 04, 2017 by Amir MOHAMMADI
Assignee
Assign to
Time tracking