My environment doesn't load

Chris Warrick kwpolska at gmail.com
Tue Oct 9 11:20:50 EDT 2018


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



More information about the Python-list mailing list