Re: My environment doesn't load

2018-10-09 Thread Fabien LUCE
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

Re: My environment doesn't load

2018-10-09 Thread Fabien LUCE
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... October 9 2018 5:21 PM, "Chris Warrick" wrote: > On Tue, 9 Oct 2018 at 11:18, wrote: > >> Here are the ouput during

Re: My environment doesn't load

2018-10-09 Thread Fabien LUCE
Here are the ouput during sourcing: [ftg @ localhost] [/var/www/ffablob] % source env-p3/bin/activate [ftg @ localhost]

Re: My environment doesn't load

2018-10-09 Thread Chris Angelico
On Wed, Oct 10, 2018 at 2:32 AM 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

Re: My environment doesn't load

2018-10-09 Thread ftg
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... > October 9 2018 5:21 PM, "Chris Warrick" wrote: > >> On Tue, 9 Oct 2018 at 11:18, wrote: >> >>> Here are the

Re: My environment doesn't load

2018-10-09 Thread Chris Warrick
On Tue, 9 Oct 2018 at 11:18, wrote: > > Here are the ouput during sourcing: > > > [ftg @ localhost] [/var/www/ffablob] > > % source env-p3/bin/activate > > [ftg @ localhost] [/var/www/ffablob] > > % which python > > /usr/bin/python > > and if I run some of my code that import beautyfulsoup it

Re: My environment doesn't load

2018-10-09 Thread ftg
Here are the ouput during sourcing: > [ftg @ localhost] [/var/www/ffablob] > % source env-p3/bin/activate > [ftg @ localhost] [/var/www/ffablob] > % which python > /usr/bin/python and if I run some of my code that import beautyfulsoup it fails (python mycode.py), althoug running directly

Re: My environment doesn't load

2018-10-09 Thread Thomas Jollans
On 2018-10-09 10:36, f...@lutix.org wrote: > Thx, > > initially the env was created with virtualenv yes, and then I copied the > folder of the project on a remote server. I am using zsh (both locally and > remotely). > My PATH env variable does includes well the path of my env bin. In this >

Re: My environment doesn't load

2018-10-09 Thread ftg
Thx, initially the env was created with virtualenv yes, and then I copied the folder of the project on a remote server. I am using zsh (both locally and remotely). My PATH env variable does includes well the path of my env bin. In this folder there are symbolic links. And yes there is well an

Re: My environment doesn't load

2018-10-09 Thread Thomas Jollans
On 09/10/2018 09:20, f...@lutix.org wrote: Hello, I have rsynced a folder on my distant server. Now I try to source my environment: source ./env/bin/activate and nothing happens. When type > which python, /usr/bin/python is still printed. What could be the issue? Thanks What shell are you

My environment doesn't load

2018-10-09 Thread ftg
Hello, I have rsynced a folder on my distant server. Now I try to source my environment: source ./env/bin/activate and nothing happens. When type > which python, /usr/bin/python is still printed. What could be the issue? Thanks -- https://mail.python.org/mailman/listinfo/python-list