Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Support
    • Submit feedback
    • Contribute to GitLab
  • Sign in
bob.buildout
bob.buildout
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • bob
  • bob.buildoutbob.buildout
  • Issues
  • #21

Closed
Open
Opened Oct 04, 2017 by Amir MOHAMMADI@amohammadi
  • Report abuse
  • New issue
Report abuse New issue

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
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
1
Labels
wontfix
Assign labels
  • View project labels
Reference: bob/bob.buildout#21