Sep-15-2022, 08:18 PM
pdfminer package: module isn't found
pdfminer package: module isn't found
|
Sep-17-2022, 08:35 AM
Thanks.
Working on resolving of python mess problem I also upgarded Ubuntu to 20.04. Now everything seems Ok. Puthon3: 3.10.7 pdfminer: pdfminer.six, Version: 20220524 But still doesn't work. Tried example from this link: Extract text from a PDF using Python Here is output:
Sep-17-2022, 08:41 AM
Well, I was a little hasty when I said that the problems with python are solved.
I installed IDLE and it seems that this installation also installed python 3.8 because IDLE uses it But this python 3.8 isn't displayed in the list of alternatives: Any suggestions on how to manage this staff ?Thanks. (Sep-17-2022, 08:35 AM)Pavel_47 Wrote: I also upgarded Ubuntu to 20.04.No IDLE did not install Python 3.8. As you upgrade to Ubuntu to 20.04 then it come with default Python 3.8.2 installed. Then you need to figure if you shall use this version or use your python3.10(recommended). You most make sure that pip -V or pip3- V or python -m pip -V or python3 -m pip -V install to correct Python version test with which python or which python3 .
Sep-18-2022, 01:34 PM
Quote:No IDLE did not install Python 3.8. Thanks. I wonder why there is no Python 3.8 in the list of Python alternatives. Concerning python 3.10 ... I can't use it directly because if 3.10 is pointed as python3, some ubuntu tools (e.g. terminal) don't run. I guess the only solution to use python 3.10 with my actual ubuntu release is to create virtual environment. Otherwise - upgrade ubuntu to 22.0, that comes with python 3.10. Going back to pdfminer.six, is it used the same way as pdfminer? For example, the PDFPageInterpreter module still present in pdfminer.six?
Sep-18-2022, 08:40 PM
I have seen numbers that state there are about 10 million python developers in the world.
A large number of these will be using Ubuntu, without a hint of a python problem. I would suggest that you find a friend or colleague who understands the OS well to help you get your system straightened out. Once they get all working properly, don't mess with the OS at all, ask for help. This will save you much grief. |
|
Users browsing this thread: 1 Guest(s)