-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ImportError on OS X install #14
Comments
Do you have your PYTHONPATH environment variable set to the pipe2py directory? In Linux this would be something like:
But perhaps |
Thanks, but no luck so far, |
Ah - yes. the pipe2py directory with the
|
Yeah, I did that too, no luck, it's stuck ... On Sun, Nov 6, 2011 at 9:35 PM, Greg Gaughan <
|
What do you get when you
|
I get: On Mon, Nov 7, 2011 at 6:08 PM, Greg Gaughan <
|
Hmm. Well presumably one of those paths should have the package files in it. Though I wonder what the difference is between the contents of I don't use a Mac, so I'm not sure if you need any extra steps. What happens if you try to access the package
|
On Mon, Nov 7, 2011 at 8:54 PM, Greg Gaughan <
|
So the files seem to be there but they need to be in a package directory named |
Right! It works now. I think I misunderstood this phrase in README: Setting up the environmentIf using a Python version before 2.6 then simplejson is needed:
At first I put simplejson source code in pipeline/pipe2py and pipe2py in FIXED! On Mon, Nov 7, 2011 at 11:06 PM, Greg Gaughan <
|
Ok, I can compile but I cannot execute it. My compiled pipe throws: Traceback (most recent call last): It's not the real pipe cause I want to keep it private for now. There's no argument in this pipe, everything is hardcoded within it, Thanks for your help, again ;-) On Tue, Nov 8, 2011 at 7:56 AM, j2l [email protected] wrote:
|
I'll make a note to improve the README text - I can see how it could be confusing. Sounds like there could something strange with the pipe definition. I can't seem to access it via pipes or pipe2py for some reason - could you send me the definition please? Either a link that works, or using Thanks, |
Sorry - just saw the bit about it being private. It sounds like a regex module parameter is missing - perhaps the loop failed to pass it something to work with. I'll need the .json file to investigate further though. |
When trying to compile with Json: Not sure if it's related but this pipe is heavy on computing, it takes On Wed, Nov 9, 2011 at 1:37 PM, Greg Gaughan <
|
Sorry for my simple question: I tracked another problem with a fetch page loop in the same pipe ( I I don't get what it means. In Yahoo pipes, result of this fetch page loop section is in the form: Thanks again, On Fri, Nov 11, 2011 at 2:59 PM, j2l [email protected] wrote:
|
Use the
(Your earlier |
ok, thanks. I can produce .json file. On Fri, Nov 11, 2011 at 5:27 PM, Greg Gaughan <
|
Could you find out the value of My guess is that the regular expression is missing for some reason. What is the loop module looping over? |
how to do that? |
would be better. Or trace into the exception and and inspect the value of rule. I'm not sure how far we'll get with this indirect debugging ;) |
I just made a bunch of updates, can you check and see if the issue is still there? |
Hi,
After pipe2py install (feedparser and simplejson are already installed), testing or compiling throws:
python testbasics.py
Traceback (most recent call last):
File "testbasics.py", line 9, in
from pipe2py import Context
ImportError: No module named pipe2py
on Mac OS X 10.5
Any ideas?
The text was updated successfully, but these errors were encountered: