[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

My environment doesn't load

Well, Beautifulsoup is not 
On Wed, Oct 10, 2018 at 02:installed on my system, just in the
environment, so how could apache run correctly my app without accessing my environment?
I thought that venv or virtualenv point was only to create some folder
which was simply sourced. What other things they do?

34:10AM +1100, Chris Angelico wrote:
> On Wed, Oct 10, 2018 at 2:32 AM <ftg at lutix.org> wrote:
> >
> > I rsynced the full local project directory (which contains the virtualenv dir) to a remote server.
> > And there I couldn't enter into it.
> > However, obviously apache2 achieved to...
> Not so obvious. It's possible Apache is ignoring the venv and just
> running the app in its own environment.
> As others have said, you should maintain a requirements.txt and then
> create a virtual environment on the target system. Since you're on a
> recent Python, ignore the old "virtualenv" package, and use "venv"
> from the stdlib.
> ChrisA
> -- 
> https://mail.python.org/mailman/listinfo/python-list