Code Monkey home page Code Monkey logo

Comments (12)

wd15 avatar wd15 commented on May 23, 2024

When I remove cif2cell I get this error. Obviously, Jarvis now requires cif2cell.

from jarvis.

wd15 avatar wd15 commented on May 23, 2024

With cif2cell I get this error. cif2cell is very old in conda-forge.

Here is one of the issues:

2021-04-26T14:02:58.0585909Z cif2cell -> python[version='>=2.7,<2.8.0a0']

from jarvis.

wd15 avatar wd15 commented on May 23, 2024

Links to PRs: conda-forge/jarvis-tools-feedstock#20, conda-forge/jarvis-tools-feedstock#19

from jarvis.

knc6 avatar knc6 commented on May 23, 2024

@wd15 I have removed cif2cell hard-dependency now.

from jarvis.

wd15 avatar wd15 commented on May 23, 2024

Great. That merges now so new release should be available soon.

from jarvis.

wd15 avatar wd15 commented on May 23, 2024

I installed with conda install -c jarvis-tools and I'm getting version 2020.11.27 for some reason?!?

If I do conda search -f jarvis-tools, I get

Loading channels: done
# Name                       Version           Build  Channel             
jarvis-tools              2020.10.10    pyh9f0ad1d_0  conda-forge         
jarvis-tools              2020.10.20    pyhd8ed1ab_0  conda-forge         
jarvis-tools               2020.11.9    pyhd8ed1ab_0  conda-forge         
jarvis-tools              2020.11.27    pyhd8ed1ab_0  conda-forge         
jarvis-tools              2020.12.31    pyhd8ed1ab_0  conda-forge         
jarvis-tools                2021.2.1    pyhd8ed1ab_0  conda-forge         
jarvis-tools                2021.2.3    pyhd8ed1ab_0  conda-forge         
jarvis-tools               2021.2.21    pyhd8ed1ab_0  conda-forge         
jarvis-tools               2021.2.22    pyhd8ed1ab_0  conda-forge         
jarvis-tools                2021.3.4    pyhd8ed1ab_0  conda-forge         
jarvis-tools               2021.3.11    pyhd8ed1ab_0  conda-forge         
jarvis-tools               2021.3.13    pyhd8ed1ab_0  conda-forge         
jarvis-tools               2021.4.10    pyhd8ed1ab_0  conda-forge         
jarvis-tools               2021.4.18    pyhd8ed1ab_0  conda-forge

Could it be that the version isn't ordering properly. Maybe can you try using a version number of 2021.04.30 for example so always have two digits for the day and year. For, example, if I do the same for pandas then it's nicely ordered. I'll check the settings as well to see if we can change something to get the version ordering correct.

Edit: Sorry, I'm going crazy, it is correctly ordered. Ignore that.

Edit again: I need to figure out why it's not giving me the latest version by default.

from jarvis.

knc6 avatar knc6 commented on May 23, 2024

Yea, in pypi, it seems to work fine: https://pypi.org/project/jarvis-tools/#history

from jarvis.

wd15 avatar wd15 commented on May 23, 2024

I've seen this with other packages as well when there's an issue with dependencies and precedence. For example, installing sfepy used to change the environment from Python 3 to 2.

A few stackoverflow links 1, 2.

I'm not sure what to do. I suggest changing the install instructions to say do

$ conda install -c conda-forge jarvis-tools=$(conda search -f jarvis-tools | tail -1 | awk '{print $2}')

but that's gruesome. Maybe just say use conda-forge search -f jarvis-tools to find latest version and then specify the latest version.

Conda is such a pain with the way it resolves packages.

from jarvis.

wd15 avatar wd15 commented on May 23, 2024

What happens when you install jarvis-tools. do you get the latest version or same as me?

from jarvis.

knc6 avatar knc6 commented on May 23, 2024

So, I created a new conda environment and ran conda install -c conda-forge jarvis-tools . It does install 2021.4.18 not 2021.4.28 which is weird.

from jarvis.

knc6 avatar knc6 commented on May 23, 2024

Actually I dont see the 2021.4.28 version on the conda search:
conda search -f jarvis-tools -c conda-forge
image

from jarvis.

wd15 avatar wd15 commented on May 23, 2024

from jarvis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.