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.
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.
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.When I ran
pipenv run python manage.py initialize_shop_demo
, I got:Running
pipenv install djangoshop_stripe
solved the issue.