-
Notifications
You must be signed in to change notification settings - Fork 12
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
No module named stripe #3
Comments
For wintergear demo there is certain version of shoop inside this project. The older version includes stripe module. For correct use of wintergear demo: You should not have shoop or shoop-stripe installed in virtualenv (uninstall those from demo virtualenv). Also to get correct shoop version for wintergear you should run "git submodule update --init" inside wintergear folder. Also you can see "Getting started" instructions at readme. If you have to use newest version of shoop with wintergear demo you can't have "shoop.stripe" in your INSTALLED_APPS. |
I deleted shoop-stripe from INSTALLED_APPS and executed the command npm build run. This is the traceback:: Environment: Request Method: GET Django Version: 1.8.2 Traceback:
Exception Type: IOError at / |
Either PIL not installed or incorrect version of PIL installed. Install requirements after submodule update or check your PIL installation. |
I install PIL using |
Ok, that version should be fine. Here http://stackoverflow.com/questions/12555831/decoder-jpeg-not-available-error-when-following-django-photo-app-tutorial is similiar issue with Django. Perhaps you are missing libjpeg-dev. |
I install libjpeg-dev in root by using sudo apt-get install libjpeg-dev. I searched but couldn't find a way to use it in my virtualenv. Can you help me on this? |
If this is all what you did you should pip uninstall PIL and reinstall it. Like it says in the stackoverflow post i would suggest that you install zlib1g-dev and libpng12-dev also before reinstalling PIL to your virtualenv. |
Hi I tried the link you mentioned but still no luck. I am not able to get it in my virtual environment. Also I read in several forums that i can use Pillow instead of PIL. So why Both are installed simultaneously? Can I Install shoop and wintergear demo in system instead of a virtualenv? |
Hi I used the instructions given to install this wintergear demo in a virtual env but gave me this error :
NO MODULE NAMED STRIPE
I am using Linuxmint 17.1
Detailed steps:
Result of pip freeze
Babel==1.3
Django==1.8.2
django-bootstrap3==6.1.0
django-countries==3.3
django-enumfields==0.7.3
django-filer==0.9.11
django-jinja==1.4.1
django-mptt==0.7.4
django-parler==1.4
django-polymorphic==0.7.1
django-registration-redux==1.2
django-timezone-field==1.2
djangorestframework==3.1.3
easy-thumbnails==2.2
enum34==1.0.4
factory-boy==2.5.2
fake-factory==0.5.2
Jinja2==2.7.3
jsonfield==1.0.3
Markdown==2.6.2
MarkupSafe==0.23
Pillow==2.9.0
pytz==2015.4
PyYAML==3.11
requests==2.7.0
shoop==1.1.0.post0.dev0
shoop-stripe==0.1
six==1.9.0
Unidecode==0.4.18
wheel==0.24.0
Complete Traceback:
/home/manish/Projects/demo/shoop/shoop/utils/importing.py:9: RemovedInDjango19Warning: django.utils.importlib will be removed in Django 1.9.
from django.utils import importlib
Traceback (most recent call last):
File "manage.py", line 14, in
execute_from_command_line(sys.argv)
File "/home/manish/Projects/demo/local/lib/python2.7/site-packages/django/core/management/init.py", line 338, in execute_from_command_line
utility.execute()
File "/home/manish/Projects/demo/local/lib/python2.7/site-packages/django/core/management/init.py", line 312, in execute
django.setup()
File "/home/manish/Projects/demo/local/lib/python2.7/site-packages/django/init.py", line 18, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/manish/Projects/demo/local/lib/python2.7/site-packages/django/apps/registry.py", line 85, in populate
app_config = AppConfig.create(entry)
File "/home/manish/Projects/demo/local/lib/python2.7/site-packages/django/apps/config.py", line 119, in create
import_module(entry)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
ImportError: No module named stripe
The text was updated successfully, but these errors were encountered: