Python Forum
Error about parser library and tree builder
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error about parser library and tree builder
#5
(Jun-08-2021, 06:21 PM)Led_Zeppelin Wrote: But lxml is already there. I can show your the output of conda list.
If use miniconda most active base environment.
Example.
G:\miniconda3
λ cd Scripts\

G:\miniconda3\Scripts
λ activate.bat

# See base()
(base) G:\miniconda3\Scripts
λ cd ..

(base) G:\miniconda3
λ pip show lxml
Name: lxml
Version: 4.6.3
Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
Home-page: https://lxml.de/
Author: lxml dev team
Author-email: [email protected]
License: BSD
Location: g:\miniconda3\lib\site-packages
Requires:
Required-by:

(base) G:\miniconda3
As you see location is miniconda,if not base is active will use OS Python.
I have lxml in both so for it dos not matter.
C:\Users\Tom
λ pip show lxml
Name: lxml
Version: 4.6.2
Summary: Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API.
Home-page: https://lxml.de/
Author: lxml dev team
Author-email: [email protected]
License: BSD
Location: c:\python39\lib\site-packages
Requires:
Required-by: yfinance, Scrapy, python-docx, parsel
Running code with miniconda.
G:\
λ cd miniconda3\Scripts\

G:\miniconda3\Scripts
λ activate.bat

(base) G:\miniconda3\Scripts
λ cd ..

(base) G:\miniconda3
λ python cnn.py
CNN International - Breaking News, US News, World News and Video
I use cmder here commands are same if use cmd/powershell.
Reply


Messages In This Thread
RE: Error about parser library and tree builder - by snippsat - Jun-08-2021, 06:57 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Error in blend_modes library talgreen 6 1,033 Jul-01-2023, 05:32 PM
Last Post: talgreen
  python requests library .JSON() error mHosseinDS86 6 3,500 Dec-19-2022, 08:28 PM
Last Post: deanhystad
  Install any library via pip get an error cannot import name 'SCHEME_KEYS' from 'pip. Anldra12 2 10,728 Jan-04-2022, 01:05 PM
Last Post: Anldra12
  How to get GUI builder Kivy to work with Pycharm? river251 3 2,617 Jan-31-2021, 01:01 PM
Last Post: jefsummers
  error while installing any library using pip in windows AkashKansal 1 4,434 Sep-24-2020, 07:51 AM
Last Post: buran
  libhdf5 library error (opencv-contrib) 1979gian 0 1,972 May-11-2020, 06:10 PM
Last Post: 1979gian
  Syntax Error with Argument Parser aditya_man 1 3,955 Sep-30-2019, 01:21 PM
Last Post: ichabod801
  Error message when importing jsonlines library vakil67 5 7,405 May-16-2018, 08:51 PM
Last Post: vakil67
  Fix Memory Error while installing a library for Qgis alexastorga 0 2,605 Apr-13-2018, 04:54 PM
Last Post: alexastorga
  PyInstaller, how to create library folder instead of library.zip file ? harun2525 2 4,847 May-06-2017, 11:29 AM
Last Post: harun2525

Forum Jump:

User Panel Messages

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