When you execute this:
You get "six" module not found error. So it is either you "pip install" or "conda install" the "six" module.
It it often that "conda" has packages that conflict those from "pip install" - assuming that "pip" is under the "conda" base install directory ($HOME/ana350):
First this is the location of conda:
which conda
/home/tthtlc/ana350/condabin/conda (or $HOME/ana350/condabin/conda)
And so under its bin directory you can find the pip and python command:
ls -al ~/ana350/bin/pip
/home/tthtlc/ana350/bin/pip
But after creating an environment called "tf36" you get the "pip" and "python" in a subdirectory of its own under conda base directory:
which pip
/home/tthtlc/ana350/envs/tf36/bin/pip
First when you "pip install" you get the "conflict error":
So next you will try "conda install":
SUCCESS.
This means that "six" module does indeed exists inside conda base installation, which is not always the case, and if you try to pip install it will have conflict.
This means that "six" module does indeed exists inside conda base installation, which is not always the case, and if you try to pip install it will have conflict.
And running the bash shell again:
No more error.
No comments:
Post a Comment