Giter Site home page Giter Site logo

Comments (10)

eZSnake avatar eZSnake commented on June 16, 2024

A direct install attempt through the console results in this:

Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed

UnsatisfiableError:

from latexindent.pl.

cmhughes avatar cmhughes commented on June 16, 2024

I'm finding your original post hard to read. Can you edit it so that it is formatted consistently?

from latexindent.pl.

eZSnake avatar eZSnake commented on June 16, 2024

It should now have more consistent formatting

from latexindent.pl.

cmhughes avatar cmhughes commented on June 16, 2024

Thanks for editing.

So this is about pre-commit and conda...? Is your pre-commit yaml file minimal? Please strip it down to the minimum possible.

from latexindent.pl.

tdegeus avatar tdegeus commented on June 16, 2024

@eZSnake I have a hard time understanding what might go wrong. The installation though pre-commit, and your second post "a direct install" seem to suggest that your conda is somehow unhappy of getting on of the dependencies of latexindent.pl. What is crucially missing in you post is therefore: on which platform are you working?

To debug, I would suggest that you try to install the dependencies of latexindent.pl one by one so see which one is the blocker. So please try in an active environment:

conda install -c conda-forge perl
conda install -c conda-forge perl-file-homedir
conda install -c conda-forge perl-yaml-tiny
conda install -c conda-forge latexindent.pl

Furthermore, I would suggest the same as @cmhughes : make a .pre-commit-config.yaml with only latexindent.pl to try (and remove everything that is not needed from the post above).

As a work-around you could try to use latexindent.pl instead of latexindent-conda in your .pre-commit-config.yaml

from latexindent.pl.

eZSnake avatar eZSnake commented on June 16, 2024

I tried creating a new environment in Conda and just installing latexindent as the only package using the conda install commands and it installed perl just fine but I once again got the UnsatisfiableError when trying to install perl-file-homedir

conda install -c conda-forge perl-yaml-tiny
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: |
Found conflicts! Looking for incompatible packages.
This can take several minutes. Press CTRL-C to abort.
failed

UnsatisfiableError:

The same messages popped up when I tried to install perl-yaml-tiny

from latexindent.pl.

cmhughes avatar cmhughes commented on June 16, 2024

It seems that this is really a conda installation issue and not specific to latexindent....?

I came across the following which looks like it had some tips:
merenlab/anvio#1145

from latexindent.pl.

tdegeus avatar tdegeus commented on June 16, 2024

Your post is inconsistent. What is the first (only?) package of the three dependencies there that does not work? What platform are you working on?

from latexindent.pl.

cmhughes avatar cmhughes commented on June 16, 2024

Summary of things we need from you, @eZSnake

  1. minimal YAML
  2. confirmation of the platform you're working on
  3. confirmation of the output from following the steps that @tdegeus has given

from latexindent.pl.

cmhughes avatar cmhughes commented on June 16, 2024

Closing for now, let us know if you can provide any further information.

from latexindent.pl.

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.