[Tutor] I need help please

Alan Gauld alan.gauld at yahoo.co.uk
Fri Dec 17 03:45:12 EST 2021


On 16/12/2021 12:52, Henry Mfaume wrote:
> HI There.
> i installed anaconda on my pc, and through anaconda installed python,
> pandas and other programs. i created an environment, but if i want to
> import from the environment i created, i get the module not found error.

Caveat:
I've never used anaconda and rarely use environments but...

I think that's the correct behaviour. The whole point of
virtual environments is to isolate the user from other
installations on the computer. So you need to install
everything into each environment.
It would defeat the purpose of having an environment
if they could see and use each others modules.

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list