Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot install pynrrd via conda #93

Closed
prakharprakash opened this issue Apr 5, 2019 · 3 comments
Closed

Cannot install pynrrd via conda #93

prakharprakash opened this issue Apr 5, 2019 · 3 comments

Comments

@prakharprakash
Copy link

prakharprakash commented Apr 5, 2019

Executing the following command:
conda install -c kayarre pynrrd
results in the error message:

Solving environment: failed

CondaHTTPError: HTTP 404 NOT FOUND for url <https://conda.anaconda.org/kararre/noarch/repodata.json>
Elapsed: 00:00.195405
CF-RAY: 4c2cf5e01ad87197-ORD

The remote server could not find the noarch directory for the
requested channel with url: https://conda.anaconda.org/kararre

As of conda 4.3, a valid channel must contain a `noarch/repodata.json` and
associated `noarch/repodata.json.bz2` file, even if `noarch/repodata.json` is
empty. please request that the channel administrator create
`noarch/repodata.json` and associated `noarch/repodata.json.bz2` files.
$ mkdir noarch
$ echo '{}' > noarch/repodata.json
$ bzip2 -k noarch/repodata.json

The solution appears to be creating the noarch directory per the error message

@addisonElliott
Copy link
Collaborator

addisonElliott commented Apr 5, 2019

On phone right now, will investigate later.

Initial question, why are you using conda? I don't maintain any releases on conda.

Try pip install pynrrd instead

Edit: Conda package seems to be latest version of pynrrd.

@prakharprakash
Copy link
Author

prakharprakash commented Apr 5, 2019

I prefer conda over pip. No other reason.
It appears https://anaconda.org/kayarre/pynrrd is maintained by someone else. I'll see if I can ask them directly.

Edit: I was able to install pynrrd by first installing pip within my conda environment and then issuing pip install pynrrd within the same environment.

@addisonElliott
Copy link
Collaborator

I understand. I'll go ahead and close this issue.

Personally, I think conda and pip are good when used in conjunction. For a source-only library like pynrrd that has no C bindings, I think pip is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants