Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: pdfminer package: module isn't found
Post: RE: pdfminer package: module isn't found

Quote: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....
Pavel_47 General Coding Help 25 648 Sep-18-2022, 01:34 PM
    Thread: pdfminer package: module isn't found
Post: RE: pdfminer package: module isn't found

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...
Pavel_47 General Coding Help 25 648 Sep-17-2022, 08:41 AM
    Thread: pdfminer package: module isn't found
Post: RE: pdfminer package: module isn't found

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 ex...
Pavel_47 General Coding Help 25 648 Sep-17-2022, 08:35 AM
    Thread: pdfminer package: module isn't found
Post: RE: pdfminer package: module isn't found

Ok Output:[email protected]:~$ python3 -V Python 3.10.7But it seems that there no pip: Output:[email protected]:~$ pip uninstal pdfminer Traceback (most recent call last): File "/home/pavel/.local/bin/pip", l...
Pavel_47 General Coding Help 25 648 Sep-15-2022, 06:17 PM
    Thread: pdfminer package: module isn't found
Post: RE: pdfminer package: module isn't found

Well ... I tried to repair python staff. I removed python, but it also removed GUI. I reinstall GUI and see that version 3.6.9 is still installed (the version that I had before purging). It's seems im...
Pavel_47 General Coding Help 25 648 Sep-15-2022, 09:31 AM
    Thread: pdfminer package: module isn't found
Post: RE: pdfminer package: module isn't found

(Sep-14-2022, 01:46 PM)snippsat Wrote: There is something wrong with package uninstall. pip uninstall pdfminerAlso now should use pdfminer.six as PDFMiner is not actively maintained. Quote:Warning...
Pavel_47 General Coding Help 25 648 Sep-14-2022, 02:06 PM
    Thread: pdfminer package: module isn't found
Post: RE: pdfminer package: module isn't found

(Sep-14-2022, 12:03 PM)deanhystad Wrote: When you type "pip list" what shows up for pdfminer? I'm not sure how, but I do not believe you are importing pdfminer. What you are importing looks comple...
Pavel_47 General Coding Help 25 648 Sep-14-2022, 12:11 PM
    Thread: pdfminer package: module isn't found
Post: RE: pdfminer package: module isn't found

(Sep-13-2022, 07:57 PM)snippsat Wrote: Look if have named a file pdfminer.py or folder,is a common mistake in these cases. Do this. ..... Output:>>> import pdfminer >>> dir(pdfmine...
Pavel_47 General Coding Help 25 648 Sep-14-2022, 07:56 AM
    Thread: pdfminer package: module isn't found
Post: RE: pdfminer package: module isn't found

(Sep-13-2022, 07:30 PM)deanhystad Wrote: How are you running this code? What Python are you using? Which OS? How do you run Python?Using Python IDLE. Python 3.6.9. Ubuntu 18.04. Using Python IDLE.
Pavel_47 General Coding Help 25 648 Sep-14-2022, 07:51 AM
    Thread: pdfminer package: module isn't found
Post: RE: pdfminer package: module isn't found

(Sep-13-2022, 06:45 PM)deanhystad Wrote: You are not importing pdfminer. What do you see when you run this? import pdfminer print(pdfminer.__file__) Output:>>> import pdfminer >>>...
Pavel_47 General Coding Help 25 648 Sep-13-2022, 06:51 PM
    Thread: pdfminer package: module isn't found
Post: RE: pdfminer package: module isn't found

(Sep-13-2022, 05:53 PM)deanhystad Wrote: I am using pdfminer 20191125 with Python 3.9.0. What does this print? import pkgutil, pdfminer for a, modname, c in pkgutil.walk_packages(path=pdfminer.__pat...
Pavel_47 General Coding Help 25 648 Sep-13-2022, 06:36 PM
    Thread: pdfminer package: module isn't found
Post: RE: pdfminer package: module isn't found

(Sep-13-2022, 03:08 PM)deanhystad Wrote: When I run the posted code I don't get any error messages. I also looked at the project page and saw there is a pdfinterp submodule. What is the error mess...
Pavel_47 General Coding Help 25 648 Sep-13-2022, 04:57 PM
    Thread: pdfminer package: module isn't found
Post: pdfminer package: module isn't found

Hello, In many examples of using of pdfminer, there are imports like this: from pdfminer.pdfinterp import PDFResourceManager, PDFPageInterpreterI installed pdfminer (version 20191125according to pip l...
Pavel_47 General Coding Help 25 648 Sep-13-2022, 02:01 PM
    Thread: Selenium suddenly fails to find element
Post: RE: Selenium suddenly fails to find element

(Sep-02-2022, 05:05 PM)snippsat Wrote: Amazon has some best protection against scraper,bot...ect. So it natural that it fails sometime,also if element is not loaded on page then scrape to early will...
Pavel_47 Web Scraping & Web Development 3 397 Sep-04-2022, 11:06 AM
    Thread: Selenium suddenly fails to find element
Post: Selenium suddenly fails to find element

Hello, A strange phenomenon occurred when using Selenium: after several successful executions, the command that searches for a particular element fails. Before Selenium I worked wit BeautifulSoap and...
Pavel_47 Web Scraping & Web Development 3 397 Sep-02-2022, 04:20 PM
    Thread: Substitue multiple substrings in one command
Post: Substitue multiple substrings in one command

Hello, I have been looking for a solution to replace several different string fragments with different other fragments. Here's a solution I found, which seems a bit cumbersome. There may be other sol...
Pavel_47 General Coding Help 0 261 Jul-18-2022, 01:24 PM
    Thread: Match substring using regex
Post: RE: Match substring using regex

BTW, here is a solution how to solve problem using ordinary Python staff (sure, I'm aware that is probably far from optimal **rolleyes** ) video_info = 'Réalisation :\nPierre Lazarus\nScénario :\nEmm...
Pavel_47 General Coding Help 6 402 Jul-18-2022, 07:46 AM
    Thread: Match substring using regex
Post: RE: Match substring using regex

Thanks, I've tried your suggestion with Python. Works ... altough it doesn't match original request, i.e. scenario should return only Emmanuelle Moreau, Noémie Parreaux (without Production). BTW 2nd r...
Pavel_47 General Coding Help 6 402 Jul-18-2022, 07:40 AM
    Thread: Match substring using regex
Post: RE: Match substring using regex

Quote:scenario = re.search(r"Scénario :\n(.*?)\n", video_info).group(1) No. What I'm looking for is to get Emmanuelle Moreau, Noémie Parreaux ... i.e. what is located between Scénario : and next templ...
Pavel_47 General Coding Help 6 402 Jul-17-2022, 10:45 PM
    Thread: Match substring using regex
Post: RE: Match substring using regex

I've just tried to test regex on https://regex101.com/ with this (although non-ideal) expression I can select what I want [Image: https://i.postimg.cc/YCRKbRd7/Screenshot...-23-37.png] Surprisingly ...
Pavel_47 General Coding Help 6 402 Jul-17-2022, 03:25 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020