Its shares tanked by 25% on May 18, when it reported first-quarter results.Ĭornell also said the company is canceling orders from its vendors in what he described as a “rapidly changing environment.”ĭiscretionary items like home goods will see the deepest discounts, Cornell said, adding that demand for food, household essentials and beauty products remains strong. Shares of the Minneapolis-based retailer were down 9% in pre-market trading on the news. “Since we reported our first quarter results, we have continued to monitor external conditions and have determined the necessary actions to remain nimble in the current environment,” chief executive Brian Cornell said in a statement. Just three weeks after reporting disappointing first-quarter earnings, the big-box retailer warned investors that its profits would drop for the rest of the year as it slashes prices on a variety of items that consumers are not scooping up amid a record-high inflation rate of 8.3%. Target has a boatload of merchandise it can’t sell, the company said on Tuesday. Right on Target: This Apple Watch is cheaper than Amazon’s It belongs with you: Target offers exclusive purple Midnights vinylĬaraway Cookware is now at Target: Shop the collection now from ’s Black Friday deals are already here: 15 best deals to shop now: UPDATED ModuleNotFoundError: No module named 'django' File "/home/brickmane/djangoapp/myserver/backend/core/wsgi.py", line 21, in mod_wsgi (pid=30490): Exception occurred processing WSGI script '/home/brickmane/djangoapp/myserver/backend/core/wsgi.py'. mod_wsgi (pid=30490): Target WSGI script '/home/brickmane/djangoapp/myserver/backend/core/wsgi.py' cannot be loaded as Python module. AH00094: Command line: '/usr/sbin/apache2' AH00163: Apache/2.4.29 (Ubuntu) OpenSSL/1.1.1g mod_wsgi/4.5.17 Python/3.6 configured - resuming normal operations AH01916: Init: (.:443) You configured HTTP(80) on the standard HTTPS(443) port! WSGIDaemonProcess backend python-path=/home/brickmane/djangoapp/pricewatcher/backend/core python-home=/home/brickmane/djangoapp/pricewatcher/venvįull Apache error log from restarting and visiting website: AH00169: caught SIGTERM, shutting down WSGIScriptAlias / /home/brickmane/djangoapp/pricewatcher/backend/core/wsgi.py WSGIPythonPath /home/brickmane/djangoapp/pricewatcher/backendĪlias /static/ /home/brickmane/djangoapp/pricewatcher/backend/static/ My virtualhost settings in /etc/apache2/nf: WSGIPythonHome /home/brickmane/djangoapp/pricewatcher/venv Os.tdefault('DJANGO_SETTINGS_MODULE', 'ttings') ('/home/brickmane/djangoapp/pricewatcher/venv/lib/python3.8/site-packages')įrom import get_wsgi_application ('/home/brickmane/djangoapp/pricewatcher/backend/core/') ('/home/brickmane/djangoapp/pricewatcher/backend/') My wsgi for my Django project (backend/core/wsgi.py): import os, sys I do notice my Apache says it is configured with 3.6, could this be the cause? is there a way to make it use 3.8 which is my python3 default? Is there anything I am missing or any setting that may be off? I have been trying to follow some of the common solutions but can't seem to get it to work. Running pip freeze I see that I do have Django installed in my venv: APScheduler=3.8.1Īnd just in case it might solve it, I installed Django globally but still got the error in Apache. I am using a venv for my Django app with python version 3.8 (I have also compiled and installed mod_wsgi in my venv). I am trying to host my Django app on my Ubuntu server and when trying to access my website, I get this error from the Apache log: ModuleNotFoundError: No module named 'django'
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |