Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-02 Thread F. Nikita Thomas
Hi Melvyn and yes!!: [user@echo project]$ uwsgi --http :8000 --chdir /home/user/Env/project/ --module project.wsgi --virtualenv /home/user/Env/project/projectenv/ *** Starting uWSGI 2.0.15 (64bit) on [Fri Jun 2 19:54:37 2017] *** compiled with version: 4.8.5 20150623 (Red Hat 4.8.5-11) on 30 M

Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-02 Thread Melvyn Sopacua
On Friday 02 June 2017 12:53:06 F. Nikita Thomas wrote: > Thank you everyone and my apologies for the late reply, a friend > passed. I did as requested and here are the results: > > > [user@echo project]$ which python > /usr/bin/python > [user@echo project]$ python -V > Python 2.7.5 So at this p

Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-02 Thread F. Nikita Thomas
Thank you everyone and my apologies for the late reply, a friend passed. I did as requested and here are the results: [user@echo project]$ which python /usr/bin/python [user@echo project]$ python -V Python 2.7.5 [user@echo project]$ . projectenv/bin/activate (projectenv) [user@echo project]$ whi

Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-02 Thread 'Abraham Varricatt' via Django users
Consider thinking of the problem this way - you are trying to tell uwsgi to run a django project located within a certain directory using a virtualenv located in another directory. What James is asking is, if you have checked that the virtualenv you are using has all the dependencies to run yo

Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-01 Thread Melvyn Sopacua
On Thursday 01 June 2017 15:03:34 F. Nikita Thomas wrote: > Here's the directory listing for my virtual environment: > (projectenv) [user@echo project]$ ls -al projectenv/bin/ More important is projectenv/lib/site-packages. But the test to do as James pointed out is to test if your virtualenv is

Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-01 Thread F. Nikita Thomas
Here's the directory listing for my virtual environment: (projectenv) [user@echo project]$ ls -al projectenv/bin/ total 84 drwxrwxr-x 3 user user 4096 Jun 1 14:28 . drwxrwxr-x 5 user user 4096 Jun 1 14:26 .. -rw-rw-r-- 1 user user 2095 Jun 1 14:26 activate -rw-rw-r-- 1 user user 1037 Jun 1

Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-01 Thread F. Nikita Thomas
No such thing as a dumb question, how do I check? On Thursday, June 1, 2017 at 5:36:23 PM UTC-4, James Schneider wrote: > > *** Operational MODE: single process *** >> Traceback (most recent call last): >> File "./project/wsgi.py", line 12, in >> from django.core.wsgi import get_wsgi_appl

Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-01 Thread James Schneider
> > *** Operational MODE: single process *** > Traceback (most recent call last): > File "./project/wsgi.py", line 12, in > from django.core.wsgi import get_wsgi_application > ModuleNotFoundError: No module named 'django' > unable to load app 0 (mountpoint='') (callable not found or import e

Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-01 Thread F. Nikita Thomas
Hi Melvyn, excuse the late reply. I just tried as you suggested and now I have: (projectenv) [user@echo project]$ uwsgi --http :8000 --chdir /home/user/Env/project/ --module project.wsgi --virtualenv /home/user/Env/projectenv/ *** Starting uWSGI 2.0.15 (64bit) on [Thu Jun 1 17:09:34 2017] *** co

Re: uWSGI ModuleNotFoundError Django 1.11

2017-06-01 Thread Melvyn Sopacua
On Thursday 01 June 2017 10:47:05 F. Nikita Thomas wrote: > Hi! > I'm having a problem with configuring uWSGI with Django, when I run > the development server everything 'seems' okay, except that I am > missing styling on the html, and when I test run uWSGI from the > command line I get: ... > ch

uWSGI ModuleNotFoundError Django 1.11

2017-06-01 Thread F. Nikita Thomas
Hi! I'm having a problem with configuring uWSGI with Django, when I run the development server everything 'seems' okay, except that I am missing styling on the html, and when I test run uWSGI from the command line I get: (projectenv) [user@echo project]$ uwsgi --http :8000 --chdir /home/user/