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

pypi stripe 2.0 package can not be imported #444

Closed
btel opened this issue Jul 10, 2018 · 7 comments
Closed

pypi stripe 2.0 package can not be imported #444

btel opened this issue Jul 10, 2018 · 7 comments

Comments

@btel
Copy link

btel commented Jul 10, 2018

Installing stripe 2.0 using pip in python 3.5 gives an package that can not be imported:

pip install stripe
python -c 'import stripe'
ImportError: No module named 'stripe'
@ob-stripe
Copy link
Contributor

Huh, weird. I can reproduce, but I'm really not sure what's happening. Installing manually via python setup.py install, or installing the wheel via python setup.py bdist_wheel --universal; pip install dist/stripe-2.0.0-py2.py3-none-any.whl both work as expected. I'll keep looking for the issue.

@ob-stripe
Copy link
Contributor

Looks like something's wrong with the wheel that was uploaded to PyPI.

@btel
Copy link
Author

btel commented Jul 10, 2018

It seems that only the metadata have been packaged, but not the python files.

@ob-stripe
Copy link
Contributor

Yes, looks like our release tooling does not like the changes to setup.py.

@ob-stripe ob-stripe mentioned this issue Jul 10, 2018
@ob-stripe
Copy link
Contributor

Alright, I think I've found the issue and prepared a fix in #445. We should release a fixed version later today. Thanks for the report @btel and sorry for the inconvenience!

@ob-stripe
Copy link
Contributor

Alright, this should be fixed in 2.0.1. Let me know if you're still having trouble!

@btel
Copy link
Author

btel commented Jul 10, 2018

It seems to be working. Thanks for fixing and fast response!

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

2 participants