Closed mrgransky closed 4 years ago
Hi @mrgransky,
You should actually install colour-demosaicing
, colour-science
is one of the base package required by colour-demosaicing
.
Cheers,
Thomas
I can't find this package:
I only find these packages in Anaconda:
Is there something I am missing in here? Cheers,
Oh sorry, this one is not on Conda! Pip only!
is there any workaround for this ?
I can't use pip install colour-demosaicing
cuz it's a univ computer and I don't have sudo
priviledge!
Oh, I see now!
pip install colour-demosaicing
should workpip install --user colour-demosaicing
and it will pull it down locally for your user$PYTHONPATH
tnx dude! This is what I did as u suggested:
$ conda activate my_env
$ pip install colour-demosaicing
$ python
Python 2.7.17 |Anaconda, Inc.| (default, Oct 21 2019, 19:04:46)
[GCC 7.3.0] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from colour_demosaicing import demosaicing_CFA_Bayer_bilinear as demosaic
Appreciate ur help!
Can you double-check that the package is effectively being installed in my_env
, by the look of it, it seems that it is not the case!
let's say my_env
is py27_gpu
and I do the followings:
which says, I have installed colour_demosaicing
from pypi
!
I can also successfully import colour_demosaicing
from my python script!
So it is working, right?
yes :+1:
Glad to hear! :) Closing this one then!
I would like to use
colour_demosaicing
in my python script as follows:from colour_demosaicing import demosaicing_CFA_Bayer_bilinear as demosaic
I installedcolour-science
withconda install -c conda-forge colour-science
but I get the following error:Is there any other package library I should install in conda env to import
colour_demosaicing
?