Re: Occasional incomplete installs (from pip)

2019-08-01 Thread Matt Wilkie


Note to self/world for possible future troubleshooting. 
>>
>
> Please create an issue for this, if you haven't done so.  Issues are Leo's 
> permanent memory.
>

yabut too many Opens are demoralizing. If it happens once and seems hard to 
reproduce or too localized I just note it. When I run into it again it's 
time to make a case out of it. ;-)

-matt

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/fb516aa0-7af4-4016-b394-a048f7f003b8%40googlegroups.com.


Re: Occasional incomplete installs (from pip)

2019-07-30 Thread Edward K. Ream
On Tue, Jul 30, 2019 at 10:44 AM Matt Wilkie  wrote:

> Note to self/world for possible future troubleshooting.
>

Please create an issue for this, if you haven't done so.  Issues are Leo's
permanent memory.

Edward

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/CAMF8tS0CZG53qEdEGYZcmiR%2Bk62J1U9E3%2BDV6qUttJNVxTuogQ%40mail.gmail.com.


Occasional incomplete installs (from pip)

2019-07-30 Thread Matt Wilkie
Note to self/world for possible future troubleshooting. Sometimes the 
python environment gets into a state where Leo (or presumably any python 
package) is incompletely (un)installed. The fix is simple, just `pip 
install -e .` again (and then uninstall if that's the true intention). I'm 
unsure of the recipe that lands here but it's happened to me several times. 
I'm bothering to make a note about it now because I've hunch this will crop 
up again later somewhere as a bonafide bug/issue.


$ leo-m
Traceback (most recent call last):
  File "c:\tools\miniconda3\envs\leo-dev\Scripts\leo-m-script.py", line 6, 
in 
from pkg_resources import load_entry_point
  File 
"c:\tools\miniconda3\envs\leo-dev\lib\site-packages\pkg_resources\__init__.py"
, line 3126, in 
@_call_aside
  File 
"c:\tools\miniconda3\envs\leo-dev\lib\site-packages\pkg_resources\__init__.py"
, line 3110, in _call_aside
f(*args, **kwargs)
  File 
"c:\tools\miniconda3\envs\leo-dev\lib\site-packages\pkg_resources\__init__.py"
, line 3139, in _initialize_master_working_set
working_set = WorkingSet._build_master()
  File 
"c:\tools\miniconda3\envs\leo-dev\lib\site-packages\pkg_resources\__init__.py"
, line 581, in _build_master
ws.require(__requires__)
  File 
"c:\tools\miniconda3\envs\leo-dev\lib\site-packages\pkg_resources\__init__.py"
, line 898, in require
needed = self.resolve(parse_requirements(requirements))
  File 
"c:\tools\miniconda3\envs\leo-dev\lib\site-packages\pkg_resources\__init__.py"
, line 784, in resolve
raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'leo' distribution was not found and 
is required by the application

(leo-dev) D:\code-maphew\leo-editor
$ pip show leo

(leo-dev) D:\code-maphew\leo-editor
$ pip uninstall leo
Skipping leo as it is not installed.

-matt

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to leo-editor+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/leo-editor/dbb16133-dd95-4f81-9fb2-5ae0e0a3c8ed%40googlegroups.com.