Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sublime text 3 and lxml
#1
I have been trying to get lxml working on sublime text 3.
I tried all the different standard import methods, and none worked, the main being:
from lxml import etree
failing with an error of:
Error:
ImportError: cannot import name 'etree' from 'lxml'
I then found out that ST3 has its own version of lxml, which is visible here.
However, on the actual package control website, lxml does not exist, and so I can't install it on ST3.
The last comment on this GitHub thread:
Quote:Yeah, I agree. It might not be worth putting a lot of effort into updating lxml until a stable version of ST3 with Python 3.8 is out.

I am using python3.8 and ST3 so is there no lxml out then?
If so, is there any similar alternatives?
Reply


Messages In This Thread
Sublime text 3 and lxml - by DreamingInsanity - Dec-21-2019, 04:26 PM
RE: Sublime text 3 and lxml - by DreamingInsanity - Dec-21-2019, 06:21 PM
RE: Sublime text 3 and lxml - by DreamingInsanity - Dec-22-2019, 01:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  while loop not working-I am using sublime text editor mma_python 4 2,332 Feb-05-2023, 06:26 PM
Last Post: deanhystad
  Sublime Text Editor not recognizing Python elroberto 5 4,855 Jun-13-2022, 04:00 PM
Last Post: rob101
  Code folding in Sublime Text Mondata 2 3,685 Mar-12-2021, 04:16 PM
Last Post: Mondata
  How to link Sublime Text 3 Build system to Python 3.9 Using Windows 10 Fanman001 2 5,764 Mar-04-2021, 03:09 PM
Last Post: martpogs
  Sublime Text TechNitium 4 3,965 Jan-23-2021, 08:41 AM
Last Post: TechNitium
  sublime & intellisence luke83 0 2,176 Nov-20-2020, 08:26 PM
Last Post: luke83
  Sublime Text + Anaconda not indenting Python code correctly Maxximiliann 0 2,490 Jun-13-2020, 06:09 PM
Last Post: Maxximiliann
  switching from pycharm to sublime issue Drifter 2 2,947 Jun-09-2020, 09:19 PM
Last Post: Drifter
  Contextual pop-up menus in Sublime Text Mondata 4 3,568 Apr-08-2020, 06:32 PM
Last Post: buran
  Sublime Text 3 WinError 2 File Specified HelloWorld17 0 3,443 Apr-02-2020, 09:03 AM
Last Post: HelloWorld17

Forum Jump:

User Panel Messages

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