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

djangoshop_stripe not automatically installed #11

Open
ML-Chen opened this issue Aug 6, 2019 · 0 comments
Open

djangoshop_stripe not automatically installed #11

ML-Chen opened this issue Aug 6, 2019 · 0 comments

Comments

@ML-Chen
Copy link

ML-Chen commented Aug 6, 2019

Using the Cookiecutter template for Django Shop 1.1, it seems that the default Pipfile doesn't include djangoshop_stripe even though I said yes to use_stripe (which is the default). I used the default settings except for saying yes to use_pycharm and saying no to use_sendcloud. I'm using Command Prompt on Windows 10 v1903 with Python 3.6.8.

cookiecutter https://github.com/awesto/cookiecutter-django-shop --checkout releases/1.1
npm install
pipenv install --sequential

When I ran pipenv run python manage.py initialize_shop_demo, I got:

Traceback (most recent call last):
  File "manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "C:\Users\micha\.virtualenvs\my-shop-GPP5EAjA\lib\site-packages\django\core\management\__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "C:\Users\micha\.virtualenvs\my-shop-GPP5EAjA\lib\site-packages\django\core\management\__init__.py", line 338, in execute
    django.setup()
  File "C:\Users\micha\.virtualenvs\my-shop-GPP5EAjA\lib\site-packages\django\__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "C:\Users\micha\.virtualenvs\my-shop-GPP5EAjA\lib\site-packages\django\apps\registry.py", line 85, in populate
    app_config = AppConfig.create(entry)
  File "C:\Users\micha\.virtualenvs\my-shop-GPP5EAjA\lib\site-packages\django\apps\config.py", line 94, in create
    module = import_module(entry)
  File "C:\Users\micha\.virtualenvs\my-shop-GPP5EAjA\lib\importlib\__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'shop_stripe'

Running pipenv install djangoshop_stripe solved the issue.

> pipenv install djangoshop_stripe
Installing djangoshop_stripe…
Adding djangoshop_stripe to Pipfile's [packages]…
Installation Succeeded
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

1 participant