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

Error in importing yampy #22

Open
DonalRafferty opened this issue Feb 12, 2015 · 4 comments
Open

Error in importing yampy #22

DonalRafferty opened this issue Feb 12, 2015 · 4 comments

Comments

@DonalRafferty
Copy link

When trying to import yampy in a python script I get an internal import error from Yampy.

Here is the error:

Traceback (most recent call last):
 File "C:\Users\raffertd\Desktop\Gamification\yammer_parser.py", line 1, in <mo
dule>
    import yampy
  File "C:\Python34\lib\site-packages\yampy\__init__.py", line 22, in <module>
    from authenticator import Authenticator
 ImportError: No module named 'authenticator'

This occurs when simply trying to import yampy

import yampy
@tonybaloney
Copy link
Contributor

this is because you are using Python 3, I'm getting the same issue.

try pip install --upgrade -e 'git+https://github.com/yammer/yam-python@master#egg=yampy'

The maintainers of this project need to publish a new version

@jonburge1
Copy link

@tonybaloney
Copy link
Contributor

I actually published another package, 'yampy3' because this project looks stale as just a direct clone. 
Try that out. Then I will probably change it to use from future import relative, which is the best way to handle both versions IMO (or just use absolute throughout) 

Get Outlook for iOS

On Thu, Jun 30, 2016 at 3:21 AM +1000, "jonburge1" [email protected] wrote:

Ah. Me too: http://stackoverflow.com/q/38101382/6519905


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@jonburge1
Copy link

Awesome! Thanks. Updated SO question

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

No branches or pull requests

3 participants