dask-gateway-server-jobqueue executable broken in conda-forge package 0.9.0
See original GitHub issueWhat happened:
root@acd2b2d7acc2:/# dask-gateway-jobqueue-launcher
Traceback (most recent call last):
File "/usr/local/envs/asdf/bin/dask-gateway-jobqueue-launcher", line 7, in <module>
from dask_gateway_server.managers.jobqueue.launcher import main
ModuleNotFoundError: No module named 'dask_gateway_server.managers'
root@acd2b2d7acc2:/# cat /usr/local/envs/asdf/bin/dask-gateway-jobqueue-launcher
#!/usr/local/envs/asdf/bin/python
# -*- coding: utf-8 -*-
import re
import sys
from dask_gateway_server.managers.jobqueue.launcher import main
if __name__ == '__main__':
sys.argv[0] = re.sub(r'(-script\.pyw?|\.exe)?$', '', sys.argv[0])
sys.exit(main())
For some reason the execuable has an old module name dask_gateway_server.managers.jobqueue.launcher
Minimal Complete Verifiable Example:
docker run -it conda/miniconda3 /bin/bash
conda create -n asdf -c conda-forge dask-gateway-server-jobqueue==0.9.0
conda activate asdf
dask-gateway-jobqueue-launcher
I’ve checked and a pip install works as expected.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Conda is broken after update. No module named ... - GitHub
After running conda update conda-build conda became unfunctional: Every ... It broke while trying to update the python-libarchive package.
Read more >conda-forge | community driven packaging for conda
A community-led collection of recipes, build infrastructure and distributions for the conda package manager. About conda-forge. conda-forge is a GitHub ...
Read more >Troubleshooting — conda 22.11.1.post16+ce4e810c9 ...
Try moving the DLL files alongside the .exe of the software that broke. ... If you get your Python package from somewhere else...
Read more >MNE, Spyder, and CUPY - Support & Discussions
mamba install --strict-channel-priority --channel=conda-forge spyder-kernels=2.3. I receive the following error: “package ...
Read more >Pytest Executable - :: Anaconda.org
To install this package run one of the following: conda install -c conda-forge pytest-executable conda install -c "conda-forge/label/broken" pytest- ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This has since been fixed in the upstream conda recipe. Closing.
If the code
dask_gateway_server.managers
isn’t anywhere in this repo now, then it must be the remnant of a previous install. Pip should be able to purge previous executable script stubs, but you never know.