Bug 1737165 - "conda shell.bash hook" command fails
Summary: "conda shell.bash hook" command fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: conda
Version: 30
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-08-03 00:04 UTC by Hannes Riebl
Modified: 2020-01-05 00:39 UTC (History)
2 users (show)

Fixed In Version: conda-4.6.14-1.fc30 conda-4.8.0-1.fc31
Clone Of:
Environment:
Last Closed: 2020-01-04 22:14:46 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Hannes Riebl 2019-08-03 00:04:39 UTC
Description of problem:
The command "conda shell.bash hook" fails with the following error message:
FileNotFoundError: [Errno 2] No such file or directory: '/usr/lib/python3.7/site-packages/conda/shell/etc/profile.d/conda.sh'

Version-Release number of selected component (if applicable):
conda-4.6.13-1.fc30.noarch.rpm

How reproducible:
Always

Steps to Reproduce:
1. Install package
2. Run "conda shell.bash hook"
3. Observe error

Actual results:
Error

Expected results:
No error

Additional info:
Relevant because of https://github.com/conda/conda/issues/7980.

On a related note, I think this package should reintroduce the activate command, because Miniconda still has it. Missing the activate command causes trouble with a lot of third-party software, e.g. https://github.com/rstudio/reticulate/issues/522.

Comment 1 Orion Poplawski 2019-12-15 16:35:38 UTC
I'm working on this, though along with an update to 4.8.0 that's taking longer than I hoped. 

I'm not inclined to re-introduce the activate command though.  It's way too generic a name and it really is just a wrapper for "conda activate".

Comment 2 Fedora Update System 2019-12-15 18:29:08 UTC
FEDORA-2019-82b7cea798 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-82b7cea798

Comment 3 Fedora Update System 2019-12-16 01:10:43 UTC
conda-4.8.0-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-82b7cea798

Comment 4 Fedora Update System 2019-12-16 03:39:16 UTC
FEDORA-2019-e2b89d8da8 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-e2b89d8da8

Comment 5 Fedora Update System 2019-12-17 01:06:37 UTC
conda-4.6.14-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-e2b89d8da8

Comment 6 Fedora Update System 2020-01-04 22:14:46 UTC
conda-4.6.14-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 7 Fedora Update System 2020-01-05 00:39:52 UTC
conda-4.8.0-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.