Could not find a version that satisfies the requirement PIL>=1.1.6

1,792 views
Skip to first unread message

Timothy Fry

unread,
May 7, 2017, 9:19:31 PM5/7/17
to CrossMgrSoftware
I get the following error while installing CrossMgr in Fedora 25:

Collecting PIL>=1.1.6 (from CrossMgr==2.8.5)
  Could not find a version that satisfies the requirement PIL>=1.1.6 (from CrossMgr==2.8.5) (from versions: )
No matching distribution found for PIL>=1.1.6 (from CrossMgr==2.8.5)

I realize I can manually download and install PIL, but I currently have pillow-3.4.2-1 installed and 40 other packages that rely on pillow, so I don't want to remove it; from what I understand pillow and PIL cause conflicts when installed in the same environment.

I've searched StackOverflow for a workaround, but I'm coming up short.

What can I be doing better here? Thanks in advance!

Edward Sitarski

unread,
May 8, 2017, 4:55:19 PM5/8/17
to crossmgr...@googlegroups.com
Hi Tim,

According to the docs, Pillow is a superset of PIL and supports "include PIL" and the "Image" object (see here).  This is all that CrossMgr needs.

So, if you have Pillow installed, PIL should not be necessary.

I will take a look at the CrossMgr dependencies.
There a way to make it work with either PIL or Pillow.


--
You received this message because you are subscribed to the Google Groups "CrossMgrSoftware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crossmgrsoftware+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Edward Sitarski
Provincial Chief Commissaire of Ontario, Track Cycling

Timothy Fry

unread,
May 8, 2017, 7:56:49 PM5/8/17
to crossmgr...@googlegroups.com
Thanks Edward!
 
Yeah, I saw the same thing in the docs and I've been going around and around with this thing, but pip / CrossMgr keeps wanting to pull PIL in as a dependency. I tried running pip with --no-deps but then it just fails to build altogether.
 
<code>
Python 2.7.13 (default, Jan 12 2017, 17:59:37) 
[GCC 6.3.1 20161221 (Red Hat 6.3.1-1)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PIL
>>> print PIL.PILLOW_VERSION
3.4.2
>>> 
</code>
 
So I'm looking through your source seeing if anything stands out (I'm not the best with Python); I'm down to CameraTest.py now. Thank you for writing clear, well commented code! :-) I'll let you know if I come across anything.
 
Tim
 
08.05.2017, 13:55, "Edward Sitarski" <edward....@gmail.com>:
Hi Tim,
 
According to the docs, Pillow is a superset of PIL and supports "include PIL" and the "Image" object (see here).  This is all that CrossMgr needs.
 
So, if you have Pillow installed, PIL should not be necessary.
 
I will take a look at the CrossMgr dependencies.
There a way to make it work with either PIL or Pillow.
 
On Sun, May 7, 2017 at 9:19 PM, Timothy Fry <t...@frydaho.com> wrote:
I get the following error while installing CrossMgr in Fedora 25:
 
Collecting PIL>=1.1.6 (from CrossMgr==2.8.5)
  Could not find a version that satisfies the requirement PIL>=1.1.6 (from CrossMgr==2.8.5) (from versions: )
No matching distribution found for PIL>=1.1.6 (from CrossMgr==2.8.5)
 
I realize I can manually download and install PIL, but I currently have pillow-3.4.2-1 installed and 40 other packages that rely on pillow, so I don't want to remove it; from what I understand pillow and PIL cause conflicts when installed in the same environment.
 
I've searched StackOverflow for a workaround, but I'm coming up short.
 
What can I be doing better here? Thanks in advance!

 

--
You received this message because you are subscribed to the Google Groups "CrossMgrSoftware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crossmgrsoftwa...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
 
 
--
 
Edward Sitarski
Provincial Chief Commissaire of Ontario, Track Cycling
 

 

--
You received this message because you are subscribed to a topic in the Google Groups "CrossMgrSoftware" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/crossmgrsoftware/pngoh4BIpS8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to crossmgrsoftwa...@googlegroups.com.

Edward Sitarski

unread,
May 8, 2017, 9:00:16 PM5/8/17
to crossmgr...@googlegroups.com
I think there is a simpler solution.
In setup.py, look for the line containing "PIL >= 1.1.6" and remove it.
Then run the setup.py again.

To unsubscribe from this group and stop receiving emails from it, send an email to crossmgrsoftware+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
 
 
--
 
Edward Sitarski
Provincial Chief Commissaire of Ontario, Track Cycling
 

 

--
You received this message because you are subscribed to a topic in the Google Groups "CrossMgrSoftware" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/crossmgrsoftware/pngoh4BIpS8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to crossmgrsoftware+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "CrossMgrSoftware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crossmgrsoftware+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Edward Sitarski

unread,
May 8, 2017, 9:02:17 PM5/8/17
to crossmgr...@googlegroups.com
Sorry - just remove the dependency 'PIL >= 1.1.6' (it may not be on its own line).

Timothy Fry

unread,
May 8, 2017, 9:46:19 PM5/8/17
to CrossMgrSoftware
LOL! Just did that. 

The same requirement is listed under CrossMgr/pypi.py and I took care of that one too. 

Now I'm getting a different build error, but I'll dig through that and see if it's something with my setup.

Thanks for the help! :-)

Tim
To unsubscribe from this group and stop receiving emails from it, send an email to crossmgrsoftwa...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
 
 
--
 
Edward Sitarski
Provincial Chief Commissaire of Ontario, Track Cycling
 

 

--
You received this message because you are subscribed to a topic in the Google Groups "CrossMgrSoftware" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/crossmgrsoftware/pngoh4BIpS8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to crossmgrsoftwa...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "CrossMgrSoftware" group.
To unsubscribe from this group and stop receiving emails from it, send an email to crossmgrsoftwa...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Timothy Fry

unread,
May 8, 2017, 9:54:34 PM5/8/17
to CrossMgrSoftware
That other build error was 'CrossMgrImages/flags' listed among the data_files in setup.py (there's no file 'CrossMgrImages/flags'). I'm being lazy now, so I just touched an empty file and tarballed the whole thing.

After fixing that it built with no issues! :-)

Thanks again for the help!!! :-D

Tim

Edward Sitarski

unread,
May 9, 2017, 7:03:03 AM5/9/17
to crossmgr...@googlegroups.com
It's been a while since I looked at that build.
When I get a chance, I will add the flags.

To unsubscribe from this group and stop receiving emails from it, send an email to crossmgrsoftware+unsubscribe@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Edward Sitarski

unread,
May 9, 2017, 7:22:04 AM5/9/17
to crossmgr...@googlegroups.com
Quick question - are you running on Linux or Mac?
The latest version of CrossMgr has no dependency on PIL as all the camera stuff was moved to CrossMgrVideo.
I will see if I can run a new build later today.

Timothy Fry

unread,
May 9, 2017, 10:54:31 AM5/9/17
to crossmgr...@googlegroups.com
I'm running both (lol).
 
Thank you for building and maintaining this! I want you to know how amazing this contribution is; we're a nonprofit and we rely upon this wonderful tool.
 
I'm not the best with Python, but if you ever decide you need help maintaining it, I'd be happy to help. :-)
 
Tim
 
09.05.2017, 04:22, "Edward Sitarski" <edward....@gmail.com>:
Reply all
Reply to author
Forward
0 new messages