Skip to content

ImportError: No module named tblib #5

Description

@gfairchild

I installed pypar on a cluster I use at work, but when I went to run it, I got this:

> python
Python 2.7.8 (default, Oct  9 2014, 13:11:01) 
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import pypar
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "PATH/packages/lib/python2.7/site-packages/pypar/__init__.py", line 9, in <module>
    import test
  File "PATH/packages/lib/python2.7/site-packages/pypar/test.py", line 15, in <module>
    from tblib import pickling_support
ImportError: No module named tblib

As the trace states, __init__.py imports test.py, which in turn imports tblib. There's no mention anywhere (that I can find) that tblib is a dependency of pypar.

Why is test.py imported in __init__.py? If I just comment out the import, pypar seems to work just fine without me needing to install tblib.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions