git.net

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

My environment doesn't load


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