Comments (4)
Hi, updating pyparsing worked. Thanks !
from jira2markdown.
Hello @PydImmodvisor!
Thanks for starting using jira2markdown
!
I tried to reproduce your problem, but I wasn't successful with that:
> pyenv install 3.8.10
> mkdir jira2markdown-attribute-error
> cd jira2markdown-attribute-error
> poetry init
> poetry env use ~/.pyenv/versions/3.8.10/bin/python
> poetry install
> poetry add jira2markdown
> poetry shell
(jira2markdown-attribute-error-py3.8) > python
Python 3.8.10 (default, Nov 23 2023, 09:01:35)
[GCC 13.2.1 20231011 (Red Hat 13.2.1-4)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from jira2markdown import convert
>>> print(convert("Some *Jira text* formatting [example|https://example.com]."))
Some **Jira text** formatting [example](https://example.com).
AttributeError: type object 'ParserElement' has no attribute 'set_default_whitespace_chars'
This line looks suspicious to me. It seems that pyparsing
library, which jira2markdown
uses under the hood, is version 2.x instead of 3.x. How did you install jira2markdown
? Did you use pip
or poetry
?
from jira2markdown.
Hi,
Yes you are right pyparsing is 2.x and I'm using pip.
What python version would you recommend for using jira2markdown ?
from jira2markdown.
What python version would you recommend for using jira2markdown ?
jira2markdown
supports Python version from 3.7 and higher. I personally prefer to use one of the latest Python versions to get access to the latest language features. For now, it's 3.11. But if Python 3.8 is enough for you, then just use it.
Yes you are right pyparsing is 2.x and I'm using pip.
You can run pip install -U pyparsing
to upgrade pyparsing
to the latest version. Or maybe the better option will be to start using some of the dependency managers (e.g. https://python-poetry.org/docs/). It resolves dependency conflicts for you and does a lot of other useful things, like creating a virtual environment for each project.
from jira2markdown.
Related Issues (15)
- Allow new version of pyparsing HOT 6
- Add underline support HOT 3
- Examples of overriding various markup to "plain text"? HOT 2
- Add github image support HOT 2
- Add conversion for sub/super-script HOT 6
- license HOT 1
- Can't convert a link in a table in markup language. HOT 4
- Ordered lists always use "1." HOT 1
- Add {panel} translation as block quote HOT 4
- Add ??citation?? conversion as <q> tag
- `{noformat}` should accept the same parameters as `{panel}` HOT 3
- Example usage does not execute HOT 2
- ListIndent missing abstract method _generateDefaultName HOT 5
- Indentation breaks list recognition HOT 4
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 jira2markdown.