This issue persists for me using Spire.PDF 12.6.2 on Python 3.11.6 running on Fedora Linux.
I installed Spire.PDF successfully using the command
pip install spire-pdf
.
However when I run a Python script containing code such as
from spire.pdf import *
I get an error message
ModuleNotFoundError: No module named 'spire'
.
I have tried downloading and installing the .whl file directly and also installing an earlier version of Spire.PDF - the outcome is the same each time.
I can't find any file named
spire.py - was that a project file created by the original poster rather than part of the package/module installation?