Comments (10)
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.
I'm finding your original post hard to read. Can you edit it so that it is formatted consistently?
from latexindent.pl.
It should now have more consistent formatting
from latexindent.pl.
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.
@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.
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.
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.
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.
Summary of things we need from you, @eZSnake
- minimal YAML
- confirmation of the platform you're working on
- confirmation of the output from following the steps that @tdegeus has given
from latexindent.pl.
Closing for now, let us know if you can provide any further information.
from latexindent.pl.
Related Issues (20)
- `CommaFinishesWithLineBreaks` in nested environments HOT 4
- Erroneous Indentation at Paragraph Start and Failure to Wrap First Sentence after `\item` HOT 3
- Add linebreak after `\par` HOT 2
- Could latexindent.pl provide appropriate spaces and text wraps before or after math operators? (sounds like many formatters doing for Python or C language) HOT 3
- Indentation in tabular* HOT 3
- Contextual `sentencesBeginWith`, semicolons, lowercase and `\paragraph` HOT 2
- Unknown error "���" HOT 21
- [Feature] More friendly support for CJK words (characters) HOT 18
- [latexindent.exe] -GCString switch cannot run normally HOT 2
- Exclude `table` and `tabular` from indentation HOT 3
- Feature Request: Support spreadtab block HOT 4
- can't run it, neither after `tlmgr` nor as a Perl script HOT 4
- Error "Can't open file" when using `-g` key with nontrivial path HOT 3
- [windows] conda installation fail due to perl version HOT 6
- Format tabular for fullwidth fonts HOT 2
- [Bug] Incorrect indentation amount when have a long config with tabualrray package HOT 4
- Can't find string terminator '"' error - bug? HOT 7
- the future of multirows in _tabularray_ package would let latexindent format the code incorrectly HOT 8
- Indenting of tikz arrow specification HOT 4
- Incorrect encoding (possiblely due to #505) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from latexindent.pl.