I am trying to import from lxml.html import fromstring
in VSCode but I am getting the error: ModuleNotFoundError: No module named 'lxml'
I have installed lxml with pip install lxml
I am using a virtual environment and VS code
Version: 1.52.1 (user setup) OS: Windows_NT x64 10.0.18363
My python version is 3.7.4 and I forced a reinstall of the wheel file
This did not fix the error. I tried using the 32bit wheel file but got an error saying that it was not supported in the platfrom.
Please can someone help? I have googled and the only solutions I could find were the install from wheel and also try the 32bit version.
https://stackoverflow.com/questions/65883570/from-lxml-html-import-fromstring-module-not-found-lxml-installed January 25, 2021 at 07:09PM
没有评论:
发表评论