Interesting. I didn't know about that approach. My procedure has always been
# I haven't bothered to track down what I need to do to avoid the --insecure now. hg pull --insecure hg update ./setup install This installs it in ~/homebrew/bin/. I just tried 'pip3 install .', and that didn't help, but 'pip3 install . --upgrade' did. Now I'm running again. Thanks. On Thursday, February 2, 2017 at 9:22:12 PM UTC-8, Martin Blais wrote: > > Wait, how do you install it? > Send me all the details. > I have a macOS box here, I just tested this, it works for me. > pip3 install . , from the beancount directory. > It installs the script under /usr/local/bin > > > > > On Fri, Feb 3, 2017 at 12:16 AM, Matthew Harris <[email protected] > <javascript:>> wrote: > >> Well, now I get a different error: >> >> $ bean-web finances.beancount >> >> Traceback (most recent call last): >> >> File "/Users/mharris/homebrew/bin/bean-web", line 4, in <module> >> >> __import__('pkg_resources').run_script('beancount==2.0b13', >> 'bean-web') >> >> File >> "/Users/mharris/homebrew/lib/python3.6/site-packages/pkg_resources/__init__.py", >> >> line 739, in run_script >> >> self.require(requires)[0].run_script(script_name, ns) >> >> File >> "/Users/mharris/homebrew/lib/python3.6/site-packages/pkg_resources/__init__.py", >> >> line 1486, in run_script >> >> raise ResolutionError("No script named %r" % script_name) >> >> pkg_resources.ResolutionError: No script named 'bean-web' >> >> On Thursday, February 2, 2017 at 8:50:23 PM UTC-8, Martin Blais wrote: >>> >>> I made a change to the installation: >>> >>> https://bitbucket.org/blais/beancount/commits/e1c97f1afadc969a5a128e3efe4cc113aef7c9b1?at=default >>> The scripts apparently weren't appearing under Windows. >>> When I tested under Linux, it failed, so I made the change condition on >>> platform = Windows & not setuptools. >>> >>> Oh! I forgot to remove the old test options. >>> Here: >>> >>> https://bitbucket.org/blais/beancount/commits/bd3f97caca3def9577a220c73cf0943310f2fe76?at=default >>> >>> Update and try again. >>> LMK if it doesn't fix it. >>> Thanks for reporting, >>> >>> >>> >>> >>> On Thu, Feb 2, 2017 at 11:21 PM, Matthew Harris <[email protected]> >>> wrote: >>> >>>> At some point in the past few weeks, I ceased to be able to run >>>> beancount. When I run bean-web, for example, I get >>>> >>>> $ bean-web finances.beancount >>>> Traceback (most recent call last): >>>> File "/Users/mharris/homebrew/bin/bean-web", line 11, in <module> >>>> load_entry_point('beancount==2.0b13', 'console_scripts', >>>> 'bean-web')() >>>> File >>>> "/Users/mharris/homebrew/lib/python3.6/site-packages/pkg_resources/__init__.py", >>>> >>>> line 561, in load_entry_point >>>> return get_distribution(dist).load_entry_point(group, name) >>>> File >>>> "/Users/mharris/homebrew/lib/python3.6/site-packages/pkg_resources/__init__.py", >>>> >>>> line 2630, in load_entry_point >>>> raise ImportError("Entry point %r not found" % ((group, name),)) >>>> ImportError: Entry point ('console_scripts', 'bean-web') not found >>>> >>>> I don't know if this was a beancount change or a change of my machine. >>>> FWIW, I'm running OS X with homebrew. You probably can't solve my problem >>>> for me, but can you point me in the right direction? >>>> >>>> Thanks. >>>> >>>> >>>> Matthew >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Beancount" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> To post to this group, send email to [email protected]. >>>> To view this discussion on the web visit >>>> https://groups.google.com/d/msgid/beancount/707b0b9f-555e-4c71-a4fc-b6ed11807e1b%40googlegroups.com >>>> >>>> <https://groups.google.com/d/msgid/beancount/707b0b9f-555e-4c71-a4fc-b6ed11807e1b%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- >> You received this message because you are subscribed to the Google Groups >> "Beancount" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> To post to this group, send email to [email protected] >> <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beancount/ddabdf3f-897d-4740-94a1-8fc315cfd638%40googlegroups.com >> >> <https://groups.google.com/d/msgid/beancount/ddabdf3f-897d-4740-94a1-8fc315cfd638%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- You received this message because you are subscribed to the Google Groups "Beancount" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/450d15d8-5381-44a3-9ccc-99fc7f01463c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
