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.