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

JOSS review - conda installation error #9

Closed
1 of 2 tasks
lheagy opened this issue Jan 9, 2019 · 2 comments
Closed
1 of 2 tasks

JOSS review - conda installation error #9

lheagy opened this issue Jan 9, 2019 · 2 comments

Comments

@lheagy
Copy link

lheagy commented Jan 9, 2019

Related to #2 and openjournals/joss-reviews#990, I was also unsuccessful in trying to install from conda (on my local machine: osx and on binder - e.g. try jupyter, which runs linux 64bit). Here is the error log I got:

Solving environment: failed

CondaHTTPError: HTTP 404 NOT FOUND for url <https://conda.anaconda.org/leampy/noarch/repodata.json>
Elapsed: 00:00.148486
CF-RAY: 4968e3cded3fc56a-ORD

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

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

You will need to adjust your conda configuration to proceed.
Use `conda config --show channels` to view your configuration's current state.
Further configuration help can be found at <https://conda.io/docs/config.html>.

For the JOSS submission, you do not necessarily have to have this resolved, but I would suggest that in the README, you

  • describe the machine specs for which the conda install should work
  • provide alternate installation instructions for installing from source (as @kbevers described in [JOSS-REVIEW] Installation instructions #2):
    • git clone https://github.com/laempy/pyoints.git
    • pip install gdal # is there a reason this is not listed in your requirements.txt?
    • conda install gdal, pyproj, rtree
    • pip install -e .
@laempy
Copy link
Owner

laempy commented Feb 5, 2019

Thank you @lheagy. The installation failed because of a typo in the installation instructions. Many thanks to @reedanders, who has noticed it. I have also added alternative installation instructions to the README file.

Gdal, pyproj, rtree and numpy are not included in the requirements file, because of version clashes during conda installation (pygdal does not recognize the available gdal versions).

Unfortunately I have no glue which machine specs are required. Packages for Windows (64 bit) and Linux (64 bit) have been prepared with conda. I assume, also 32 bit and Mac should work, but in the moment I have no chance to test it. Thus, also a conda recipe is provided to be able to compile a package on your own.

@lheagy
Copy link
Author

lheagy commented Feb 24, 2019

Thanks for clarifying @laempy, this looks good.

@lheagy lheagy closed this as completed Feb 24, 2019
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