Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ImportError tethne.readers as rd #136

Closed
tomvannuenen opened this issue Mar 10, 2016 · 2 comments
Closed

ImportError tethne.readers as rd #136

tomvannuenen opened this issue Mar 10, 2016 · 2 comments

Comments

@tomvannuenen
Copy link

Dear Eric,

I'm trying to run Tethne but am running into trouble when trying to import the module. Running $ pip show tethne yields:

Metadata-Version: 1.0
Name: tethne
Version: 0.7.25
Summary: Bibliographic network and corpus analysis for historians
Home-page: http://diging.github.io/tethne/
Author: Erick Peirson
Author-email: erick [dot] peirson [at] asu [dot] edu
License: GNU GPL 3
Location: /Users/tomvannuenen/anaconda/envs/py34/lib/python3.4/site-packages
Requires: networkx, Unidecode, iso8601, rdflib, chardet, html5lib, isodate, pdfdocument, pdfminer3k, python-magic, slate, Unidecode, nltk

But when trying to importing Tethne in Python 3.x with import tethne.readers as rd, Python tells me:
ImportError: No module named 'tethne.readers'; 'tethne' is not a package

When trying the same in Python 2.7:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "tethne.py", line 3, in <module>
    import tethne.readers as rd
ImportError: No module named readers

I tried uninstalling/reinstalling a number of times, to no avail. Do you have any clue as to what am I doing wrong?

@erickpeirson
Copy link
Collaborator

Hi @tomvannuenen, thanks for trying tethne. Tethne is not yet compatible with Python 3.x, so I'm not surprised on that front. For Python 2.7, I wonder if there is something funky going on with multiple versions of Python -- what happens when you install Tethne the "old-fashioned" way? i.e. download the latest release, and then python setup.py install ?

@erickpeirson
Copy link
Collaborator

erickpeirson commented Jun 20, 2016

I'm going to go ahead and close this for now, on the theory that this is a Python installation issue rather than a bug in Tethne. If anyone has more details, we can reopen it.

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

No branches or pull requests

2 participants