google-code-export / appengine-devappserver2-experiment

Automatically exported from code.google.com/p/appengine-devappserver2-experiment
0 stars 0 forks source link

No appropriate directory monitor is available on my platform (homebrew-installed python2.7.3, OSX 10.7) #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run '/path/to/dev_appserver2.py .'
2. look at logs
3. see the message "WARNING  2012-11-27 09:05:34,816 file_watcher.py:67] No 
appropriate directory monitor is available on your platform. Please file a bug."

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
v0.1 release (download zip). OSX 10.7, python 2.7.3

Please provide any additional information below.
Making changes to my python code aren't being reflected on reload. I use python 
installed via HomeBrew,  'import FSEvents' and 'import AppKit' in a python 
shell gives an ImportError. I do have the MacFSEvents python package installed 
(imports as fsevents): http://pypi.python.org/pypi/MacFSEvents which could 
provide the same functionality.
Running with /usr/bin/python (2.7.1) doesn't show the warning

Original issue reported on code.google.com by greg.jo...@psycle.com on 27 Nov 2012 at 9:38

GoogleCodeExporter commented 9 years ago
For future people searching:
missing package is pyobjc
Installing this independently on 10.7 doesn't seem to be supported, but by 
following the steps in this gist:
https://gist.github.com/721214 but with the path of the right version of python 
(i.e. 2.7.3 instead of 2.7.1)
I seem to be able to import AppKit and FSEvents, and dev_appserver2.py runs 
without the warning.

Original comment by greg.jo...@psycle.com on 27 Nov 2012 at 10:15

GoogleCodeExporter commented 9 years ago
Hi Greg, OS X 10.7 ships with its own version of Python 2.7. Is there any 
reason why you installed your own version via HomeBrew?

I want to understand your use case to prioritize fixing this.

Original comment by bquin...@google.com on 27 Nov 2012 at 8:54

GoogleCodeExporter commented 9 years ago
In this case, the computer had snow leopard on it and homebrew was by far the 
easiest way of getting a copy of 2.7 that allowed for installing other 
'difficult' packages (numpy, PIL, lxml for example). I don't know if getting 
those packages is any easier with the built-in version now, but maybe I need to 
re-investigate.

Original comment by greg.jo...@psycle.com on 28 Nov 2012 at 9:16

GoogleCodeExporter commented 9 years ago
Greg, it's actually pretty easy to do with the shipped version. All you need is 
the latest Xcode installed. Then do "easy_install <package_name>" or "pip 
install <package_name>". 

I used to use homebrew for that too but I found it being very difficult to 
maintain stuff up-to-date in a long term.

Original comment by a...@cloudware.it on 4 Dec 2012 at 9:10

GoogleCodeExporter commented 9 years ago
Issue 7 has been merged into this issue.

Original comment by bquin...@google.com on 6 Dec 2012 at 10:32

GoogleCodeExporter commented 9 years ago

Original comment by sa...@google.com on 14 Feb 2013 at 6:02