Comments (5)
This has become something not so relevant to a38's code and more relevant to assistance with local system setup. At a38 level, I cannot do much more than documenting the requirements.
I'm closing the ticket
from python-a38.
It looks like you're using an old version of Python3 that a38 is not supporting: the required
argument to add_subparsers has been added in Python 3.7:
required - Whether or not a subcommand must be provided, by default False (added in 3.7)
Note that Python 3.6 is end-of-life as of 2021-12-23.
from python-a38.
Many thanks, I had Python 3.6 indeed.
Now I have just installed Python 3.7 using the deadsnakes PPA (as described here, but the problem is still there. More info:
$ python --version
Python 2.7.17
$ python3.7 --version
Python 3.7.12
I can guess there is some kind of binding to do, I tried to alias "python" to "python3.7" but still doesn't work, so (obviously), as I am not an expert, I think I would need some more help. Let me know if you can kindly help me, or maybe where I can ask.
Many thanks, again
(running Ubuntu 18.04)
---edit---
I tried to setup update-alternatives according to this page, but still doesn't work, although at the moment I have
$ python --version
Python 3.7.12
from python-a38.
Hello. The only thing I can think of is to replace the first line of a38tool to point to python3.7
instead of python3
from python-a38.
Thank you!
Did it, and it seems something is movin' on, but now:
$ a38tool --help
Traceback (most recent call last):
File "/home/andrea/.local/bin/a38tool", line 9, in
import a38.fattura as a38
ModuleNotFoundError: No module named 'a38'
My previous step was "pip3 install a38", was it correct or is there a better way?
Thanks again
from python-a38.
Related Issues (20)
- README.md: broken links to the fatturapa.gov.it xsl files HOT 4
- download-docs: ERROR uncaught exception HOT 1
- link readme 404 HOT 2
- Run tests as Github actions HOT 4
- Add linters, static code analysis and vulnerability checkers HOT 2
- Invoice with natura=N2.1 (VAT "non soggette ad imposta") HOT 3
- Encoding issue with the XML parser HOT 7
- Import a38tool edit
- Investigate using __slots__ to avoid typos in assignments
- Use defusedxml if available
- Aggiunta riga di dettaglio con aliquota iva a 0 e codice natura HOT 1
- Creating a python package with `setup.py build sdist` fails HOT 2
- Missing ability to list / extract attachments HOT 6
- dati_bollo: dati_beni_servizi.natura: [00429] field is empty while aliquota_iva is zero HOT 4
- XML schema validation
- Rounding in XML HOT 1
- Ready for a release
- Multiple DatiRitenuta tags possible since v1.6
- Skip tests in `tests/test_p7m.py` if the signature is expired
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 python-a38.