chrisjbillington / desktop-app

OS menu shortcuts, correct taskbar behaviour, and environment activation for Python GUI apps
BSD 2-Clause "Simplified" License
6 stars 5 forks source link

Failing to find modules in a conda env #10

Closed chrisjbillington closed 4 years ago

chrisjbillington commented 4 years ago

Getting the following when trying to install desktop launchers for an app from a conda env:

$ desktop-app install lyse
Traceback (most recent call last):
  File "/home/bilbo/miniconda3/envs/foo/bin/desktop-app", line 11, in <module>
    sys.exit(main())
  File "/home/bilbo/miniconda3/envs/foo/lib/python3.7/site-packages/desktop_app/__main__.py", line 41, in main
    install(module, path=args.path, verbose=not args.quiet)
  File "/home/bilbo/miniconda3/envs/foo/lib/python3.7/site-packages/desktop_app/shell.py", line 223, in install
    raise EnvironmentError(' '.join(msg.split()))
OSError: The package providing the module lyse is not installed to the current Python environment, so its entry_points scripts do not exist, and desktop-app cannot create shortcuts to them. Install the package to the Python environment before continuing. If you are in a development setup you may make an editable install with `pip install -e`.