hi there
I encountered an error when importing investpi in python3 with Raspberry Pi Zero. Here are the code:
import investpi as inv
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.9/dist-packages/investpy/init.py", line 7, in
from .bonds import (
File "/usr/local/lib/python3.9/dist-packages/investpy/bonds.py", line 13, in
from lxml.html import fromstring
File "/usr/local/lib/python3.9/dist-packages/lxml/html/init.py", line 53, in
from .. import etree
ImportError: libxslt.so.1: cannot open shared object file: No such file or directory
I have installed the investpi module using "sudo apt-get install investpy" and the installation is completed.
Any suggestion will be welcome.
hi there I encountered an error when importing investpi in python3 with Raspberry Pi Zero. Here are the code: