My environment doesn't load

Fabien LUCE fabienluce at lutix.org
Tue Oct 9 11:30:17 EDT 2018


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" <kwpolska at gmail.com> wrote:
> On Tue, 9 Oct 2018 at 11:18, <ftg at lutix.org> 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 fails (python mycode.py), althoug running
>> directly ./env-p3/python3.5 mycode.py is working...
> 
> Was the virtualenv copied between machines or directories? If yes: you
> can’t do that, you must create a new virtualenv in the desired
> location and install dependencies to it.
> 
> --
> Chris Warrick <https://chriswarrick.com>
> PGP: 5EAAEA16
> --
> https://mail.python.org/mailman/listinfo/python-list



More information about the Python-list mailing list