Add Pillow to requirements
choosehappy opened this issue · 6 comments
choosehappy commented
sidhomj commented
you mean add pillow as an import?
choosehappy commented
in the requirements.txt should do it?
i didn't modify your code, but received that error
then did a "pip install pillow"
then reran the same code and the error disappeared
i suspect it may be an "optional" dependency for the other libraries so
isn't it automatically installed when doing pip install -r requirements.txt
…On Sat, Nov 16, 2019 at 2:01 PM John-William Sidhom < ***@***.***> wrote:
you mean add pillow as an import?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#21?email_source=notifications&email_token=ACJ3XTALEWWWEW4EWHP7MNLQT7VLFA5CNFSM4JOEEYVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEHRAQY#issuecomment-554635331>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACJ3XTHA4B3ZOLDZAEPTCJDQT7VLFANCNFSM4JOEEYVA>
.
sidhomj commented
got it
sidhomj commented
updated requirements.txt file. Now when you install, pip should also install all dependencies as well except for PhenoGraph which needs to be installed separately.
choosehappy commented
actually, you can add:
git+https://github.com/jacoblevine/phenograph.git
to the requirements.txt list and it will install it as well
btw, currently on line 19:
Line 19 in becc96b
there is an effort to load phenograph, which ends up causing an error:
Could not find a version that satisfies the requirement PhenoGraph==1.5.2 (from -r requirements.txt (line 19)) (from versions: )
No matching distribution found for PhenoGraph==1.5.2 (from -r requirements.txt (line 19))
sidhomj commented
so it turns out when running the setup.py file, it can only install packages on pypi. I'm having difficulty getting the setup.py file to install phenograph with that command in the requirements.txt file