python - pip says modules "weren't found" to uninstall, but pip list shows them -
with pip list
i'm shown listing of installed modules, includes scipy, numpy, , pandas.
if pip install -u...
of those, checks it, sees up-to-date, , returns prompt. if pip uninstall pandas
or of items can see in list, says
can't uninstall numpy. no files found uninstall
i installed has python through enthought's canopy stack.
apparently there care required when installing/package managing canopy - example, devs/staff @ enthought (eg https://support.enthought.com/entries/22914233-using-non-epd-package-installers-such-as-pip)
"the best practice, when wish install epd package source, first uninstall (enpkg --remove some_package
), install using whatever technique prefer" such (pip install some_package
)
it's worth noting 'sklearn' module letting me import datasets
after having used canopy package manager update (33) out-of-date packages. note: these packages pip said up-to-date!
to sum up: if installed canopy, use package manager (imho, always, though there work-around listed in link above) keep updated , work prompt if choose. for reason pip cannot see (?) packages being managed canopy!!!
Comments
Post a Comment