Error about parser library and tree builder - Led_Zeppelin - Jun-07-2021
I am trying to run the code shown below. It fails at the line indicated as shown in this error;
FeatureNotFound Traceback (most recent call last)
<ipython-input-9-42bc73e2ba3f> in <module>
----> 1 soup = BeautifulSoup(html, 'lxml')
~\miniconda3\lib\site-packages\bs4\__init__.py in __init__(self, markup, features, builder, parse_only, from_encoding, exclude_encodings, element_classes, **kwargs)
241 builder_class = builder_registry.lookup(*features)
242 if builder_class is None:
--> 243 raise FeatureNotFound(
244 "Couldn't find a tree builder with the features you "
245 "requested: %s. Do you need to install a parser library?"
FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library? I am using beautiful soup 4.9.3 and bs4 0.0.1
I am using python 3.8.10 on Windows 10 64 bit.
The code for the program is as follows:
from bs4 import BeautifulSoup
import requests
import re
import time
import random
import sys
import numpy as np
import pandas as pd
from selenium import webdriver
import chromedriver_binary
link = 'https://finance.yahoo.com/quote/AAPL/financials?p=AAPL'
url = link
user_agent = {'User-agent': 'Mozilla/5.0'}
response = requests.get(url, headers = user_agent)
# !pip install chromedriver-binary==79.0.3945.36
# !pip install selenium
driver = webdriver.Chrome()
driver.get(link)
html = driver.execute_script("return document.body.innerHTML;")
soup = BeautifulSoup(html, 'lxml')
There are alternative inputs for
soup = BeautifulSoup(html,'lxml')
I have tried a few and nothing works.
Please inform a to how to remove error.
Respectfuly,
LZ
RE: Error about parser library and tree builder - Gribouillis - Jun-07-2021
It looks like you need to install the lxml module.
RE: Error about parser library and tree builder - snippsat - Jun-07-2021
Install lxml
pip install lxml Test.
import requests
from bs4 import BeautifulSoup
url = 'http://CNN.com'
response = requests.get(url)
soup = BeautifulSoup(response.content, 'lxml')
print(soup.find('title').text) Output: CNN International - Breaking News, US News, World News and Video
Look at Web-Scraping part-1
RE: Error about parser library and tree builder - Led_Zeppelin - Jun-08-2021
But lxml is already there. I can show your the output of conda list.
Output: # packages in environment at C:\Users\james\miniconda3:
#
# Name Version Build Channel
_tflow_select 2.3.0 eigen
absl-py 0.10.0 pypi_0 pypi
aiohttp 3.7.4 py38h2bbff1b_1
alembic 1.4.1 pypi_0 pypi
aniso8601 9.0.1 pypi_0 pypi
appdirs 1.4.4 pypi_0 pypi
argon2-cffi 20.1.0 py38h2bbff1b_1
astor 0.8.1 py38haa95532_0
astunparse 1.6.3 py_0
async-timeout 3.0.1 py38haa95532_0
async_generator 1.10 pyhd3eb1b0_0
attrs 21.2.0 pyhd3eb1b0_0
autokeras 1.0.12 pypi_0 pypi
autoviml 0.1.680 pypi_0 pypi
azure-core 1.13.0 pypi_0 pypi
azure-storage-blob 12.8.0 pypi_0 pypi
backcall 0.2.0 pyhd3eb1b0_0
beautifulsoup4 4.9.3 pyha847dfd_0
blas 1.0 mkl
bleach 3.3.0 pyhd3eb1b0_0
blinker 1.4 py38haa95532_0
bokeh 2.3.2 py38haa95532_0
boto3 1.17.54 pypi_0 pypi
botocore 1.20.54 pypi_0 pypi
breadability 0.1.20 pypi_0 pypi
brotlipy 0.7.0 py38h2bbff1b_1003
bs4 0.0.1 pypi_0 pypi
ca-certificates 2021.5.25 haa95532_1
cachetools 4.2.1 pypi_0 pypi
catboost 0.24.4 pypi_0 pypi
category-encoders 2.2.2 pypi_0 pypi
certifi 2021.5.30 py38haa95532_0
cffi 1.14.5 py38hcd4344a_0
chardet 3.0.4 py38haa95532_1003
chess 1.4.0 pypi_0 pypi
chromedriver-binary 91.0.4472.19.0 pypi_0 pypi
click 7.1.2 pypi_0 pypi
collective-recipe-grp 1.1.0 pypi_0 pypi
colorama 0.4.4 pyhd3eb1b0_0
conda 4.10.1 py38haa95532_1
conda-package-handling 1.7.3 py38h8cc25b3_1
confuse 1.4.0 pyhd3eb1b0_0
console_shortcut 0.1.1 4
coverage 5.5 py38h2bbff1b_2
cryptography 2.9.2 py38h7a1dbc1_0
cssselect 1.1.0 pypi_0 pypi
cycler 0.10.0 pypi_0 pypi
cython 0.29.22 pypi_0 pypi
databricks-cli 0.14.3 pypi_0 pypi
deap 1.3.1 pypi_0 pypi
decorator 5.0.9 pyhd3eb1b0_0
defusedxml 0.7.1 pyhd3eb1b0_0
dill 0.3.3 pypi_0 pypi
distlib 0.3.1 pypi_0 pypi
dm-tree 0.1.5 pypi_0 pypi
docker 5.0.0 pypi_0 pypi
docopt 0.6.2 pypi_0 pypi
dotmap 1.3.23 pypi_0 pypi
edward 1.3.5 pypi_0 pypi
elastic-apm 6.1.2 pypi_0 pypi
elasticsearch 7.10.0 pypi_0 pypi
emoji 1.2.0 pypi_0 pypi
entrypoints 0.3 py38_0
et-xmlfile 1.0.1 pypi_0 pypi
faiss-cpu 1.7.0 pypi_0 pypi
farm 0.7.1 pypi_0 pypi
farm-haystack 0.8.0 pypi_0 pypi
fastapi 0.63.0 pypi_0 pypi
feather-format 0.4.1 pypi_0 pypi
flask 1.1.1 pypi_0 pypi
flask-cors 3.0.10 pypi_0 pypi
flask-restplus 0.13.0 pypi_0 pypi
flatbuffers 1.12 pypi_0 pypi
freetype 2.10.4 hd328e21_0
gast 0.4.0 py_0
gitdb 4.0.7 pypi_0 pypi
gitpython 3.1.14 pypi_0 pypi
google-api-core 1.26.1 pypi_0 pypi
google-auth 1.27.1 pypi_0 pypi
google-auth-httplib2 0.1.0 pypi_0 pypi
google-auth-oauthlib 0.4.3 pypi_0 pypi
google-cloud-core 1.6.0 pypi_0 pypi
google-crc32c 1.1.2 pypi_0 pypi
google-pasta 0.2.0 py_0
google-resumable-media 1.2.0 pypi_0 pypi
googleapis-common-protos 1.53.0 pypi_0 pypi
greenlet 1.0.0 pypi_0 pypi
grpcio 1.34.1 pypi_0 pypi
grpcio-tools 1.37.0 pypi_0 pypi
gunicorn 20.1.0 pypi_0 pypi
h11 0.12.0 pypi_0 pypi
h5py 3.1.0 pypi_0 pypi
hdf5 1.10.4 h7ebc959_0
helper 2.5.0 pypi_0 pypi
html5lib 1.1 pypi_0 pypi
htmlmin 0.1.12 pyhd3eb1b0_1
httplib2 0.19.0 pypi_0 pypi
httptools 0.1.1 pypi_0 pypi
icc_rt 2019.0.0 h0cc432a_1
icu 58.2 ha925a31_3
idna 2.10 pyhd3eb1b0_0
imagehash 4.2.0 pyhd3eb1b0_0
imbalanced-learn 0.8.0 pypi_0 pypi
importlib-metadata 3.10.0 py38haa95532_0
importlib-resources 5.1.2 pypi_0 pypi
importlib_metadata 3.10.0 hd3eb1b0_0
inflect 5.3.0 py38haa95532_1
intel-openmp 2021.1.2 pypi_0 pypi
ipykernel 5.3.4 py38h5ca1d4c_0
ipython 7.22.0 py38hd4e2768_0
ipython_genutils 0.2.0 pyhd3eb1b0_1
ipywidgets 7.6.3 pyhd3eb1b0_1
isodate 0.6.0 pypi_0 pypi
itsdangerous 1.1.0 pypi_0 pypi
jedi 0.17.0 py38_0
jinja2 3.0.0 pyhd3eb1b0_0
jmespath 0.10.0 pypi_0 pypi
joblib 0.13.2 pypi_0 pypi
jpeg 9b hb83a4c4_2
jsonschema 3.2.0 py_2
jupyter-contrib-core 0.3.3 pypi_0 pypi
jupyter-contrib-nbextensions 0.5.1 pypi_0 pypi
jupyter-highlight-selected-word 0.2.0 pypi_0 pypi
jupyter-latex-envs 1.4.6 pypi_0 pypi
Note: you may need to restart the kernel to use updated packages.jupyter-nbextensions-configurator 0.4.1 pypi_0 pypi
jupyter_client 6.1.12 pyhd3eb1b0_0
jupyter_core 4.7.1 py38haa95532_0
jupyterlab_pygments 0.1.2 py_0
jupyterlab_widgets 1.0.0 pyhd3eb1b0_1
keras 2.4.3 pypi_0 pypi
keras-applications 1.0.8 py_1
keras-nightly 2.5.0.dev2021032900 pypi_0 pypi
keras-preprocessing 1.1.2 pyhd3eb1b0_0
keras-tuner 1.0.2 pypi_0 pypi
kiwisolver 1.3.1 py38hd77b12b_0
langdetect 1.0.8 pypi_0 pypi
libopencv 4.0.1 hbb9e17c_0
libpng 1.6.37 h2a8f88b_0
libprotobuf 3.14.0 h23ce68f_0
libsodium 1.0.18 h62dcd97_0
libtiff 4.2.0 hd0e1b90_0
lightgbm 3.1.1 pypi_0 pypi
llvmlite 0.36.0 pypi_0 pypi
lxml 4.6.2 pypi_0 pypi
lz4-c 1.9.3 h2bbff1b_0
m2w64-gcc-libgfortran 5.3.0 6
m2w64-gcc-libs 5.3.0 7
m2w64-gcc-libs-core 5.3.0 7
m2w64-gmp 6.1.0 2
m2w64-libwinpthread-git 5.0.0.4634.697f757 2
mabalgs 0.6.4 pypi_0 pypi
mako 1.1.4 pypi_0 pypi
markdown 3.3.4 py38haa95532_0
markupsafe 2.0.1 py38h2bbff1b_0
matplotlib 3.3.3 pypi_0 pypi
matplotlib-base 3.3.4 py38h49ac443_0
menuinst 1.4.16 py38he774522_1
missingno 0.4.2 pyhd3eb1b0_1
mistune 0.8.4 py38he774522_1000
mkl 2021.1.1 pypi_0 pypi
mkl-service 2.3.0 py38h2bbff1b_1
mkl_fft 1.3.0 py38h277e83a_2
mkl_random 1.2.1 py38hf11a4ad_2
mlflow 1.13.1 pypi_0 pypi
more-itertools 8.7.0 pypi_0 pypi
msrest 0.6.21 pypi_0 pypi
msys2-conda-epoch 20160418 1
multidict 5.1.0 py38h2bbff1b_2
nbclient 0.5.3 pyhd3eb1b0_0
nbconvert 6.0.7 py38_0
nbformat 5.1.3 pyhd3eb1b0_0
nest-asyncio 1.5.1 pyhd3eb1b0_0
networkx 2.5 py_0
nltk 3.5 pypi_0 pypi
notebook 6.4.0 py38haa95532_0
numba 0.53.0 py38hf11a4ad_0
numpy 1.19.5 pypi_0 pypi
numpy-base 1.20.2 py38hc2deb75_0
oauthlib 3.1.0 py_0
olefile 0.46 py_0
opencv 4.0.1 py38h2a7c758_0
opencv-python 4.5.1.48 pypi_0 pypi
openssl 1.1.1k h2bbff1b_0
opt_einsum 3.3.0 pyhd3eb1b0_1
packaging 20.9 pyhd3eb1b0_0
panda 0.3.1 pypi_0 pypi
pandas 1.2.0 pypi_0 pypi
pandas-profiling 2.9.0 pyhd3eb1b0_0
pandoc 2.12 haa95532_0
pandocfilters 1.4.3 py38haa95532_1
parso 0.8.2 pyhd3eb1b0_0
pdpbox 0.2.0 py_0 conda-forge/label/cf202003
phik 0.11.2 pyhd3eb1b0_1
pickleshare 0.7.5 pyhd3eb1b0_1003
pillow 8.1.0 pypi_0 pypi
pip 21.0.1 pypi_0 pypi
plotly 4.14.3 pypi_0 pypi
powershell_shortcut 0.0.1 3
preprocessor 1.1.3 pypi_0 pypi
prometheus-flask-exporter 0.18.1 pypi_0 pypi
prometheus_client 0.10.1 pyhd3eb1b0_0
promise 2.3 pypi_0 pypi
prompt-toolkit 3.0.17 pyh06a4308_0
proto-plus 1.14.2 pypi_0 pypi
protobuf 3.15.5 pypi_0 pypi
psutil 5.8.0 py38h2bbff1b_1
py-opencv 4.0.1 py38he44ac1e_0
pyarrow 3.0.0 pypi_0 pypi
pyasn1 0.4.8 py_0
pyasn1-modules 0.2.8 pypi_0 pypi
pycosat 0.6.3 py38h2bbff1b_0
pycountry 20.7.3 pypi_0 pypi
pycparser 2.20 py_2
pydantic 1.8.1 pypi_0 pypi
pyforest 1.0.3 pypi_0 pypi
pyfunctional 1.4.3 pypi_0 pypi
pygame 2.0.1 pypi_0 pypi
pygments 2.9.0 pyhd3eb1b0_0
pyjwt 2.1.0 py38haa95532_0
pymilvus 1.0.1 pypi_0 pypi
pyopenssl 20.0.1 pyhd3eb1b0_1
pyparsing 2.4.7 pyhd3eb1b0_0
pyqt 5.9.2 py38ha925a31_4
pyquery 1.4.3 pypi_0 pypi
pyreadline 2.1 py38_1
pyrsistent 0.17.3 py38he774522_0
pysocks 1.7.1 py38haa95532_0
python 3.8.10 hdbf39b2_7
python-chess 1.999 pypi_0 pypi
python-dateutil 2.8.1 pyhd3eb1b0_0
python-docx 0.8.10 pypi_0 pypi
python-editor 1.0.4 pypi_0 pypi
python-graphviz 0.16 pypi_0 pypi
python-multipart 0.0.5 pypi_0 pypi
python-slugify 4.0.1 pypi_0 pypi
pytz 2020.5 pypi_0 pypi
pywavelets 1.1.1 py38he774522_2
pywin32 227 py38he774522_1
pywinpty 0.5.7 py38_0
pyyaml 5.4.1 py38h2bbff1b_1
pyzmq 20.0.0 py38hd77b12b_1
qt 5.9.7 vc14h73c81de_0
querystring-parser 1.2.4 pypi_0 pypi
rarfile 4.0 pypi_0 pypi
rdflib 5.0.0 pypi_0 pypi
regex 2020.11.13 pypi_0 pypi
requests 2.25.1 pyhd3eb1b0_0
requests-futures 1.0.0 pypi_0 pypi
requests-oauthlib 1.3.0 py_0
retrying 1.3.3 pypi_0 pypi
rsa 4.7.2 pyhd3eb1b0_1
ruamel_yaml 0.15.100 py38h2bbff1b_0
runtime 0.1.4 pypi_0 pypi
s3transfer 0.4.0 pypi_0 pypi
sacremoses 0.0.45 pypi_0 pypi
scikit-learn 0.24.2 py38hf11a4ad_1
scipy 1.6.0 pypi_0 pypi
seaborn 0.11.1 pyhd3eb1b0_0
selenium 3.141.0 py38h2bbff1b_1000
send2trash 1.5.0 pyhd3eb1b0_1
sentence-transformers 1.0.4 pypi_0 pypi
sentencepiece 0.1.95 pypi_0 pypi
seqeval 1.2.2 pypi_0 pypi
setuptools 51.3.3 pypi_0 pypi
shap 0.39.0 pypi_0 pypi
sip 4.19.13 py38ha925a31_0
six 1.15.0 py38haa95532_0
sklearn 0.0 pypi_0 pypi
sklearn-utils 0.0.15 pypi_0 pypi
slicer 0.0.7 pypi_0 pypi
smmap 4.0.0 pypi_0 pypi
soupsieve 2.1 pypi_0 pypi
sparqlwrapper 1.8.5 pypi_0 pypi
sportsreference 0.5.2 pypi_0 pypi
sqlalchemy 1.4.9 pypi_0 pypi
sqlalchemy-utils 0.37.0 pypi_0 pypi
sqlite 3.35.4 h2bbff1b_0
sqlparse 0.4.1 pypi_0 pypi
starlette 0.13.6 pypi_0 pypi
statsmodels 0.12.1 pypi_0 pypi
stopit 1.1.2 pypi_0 pypi
sumy 0.8.1 pypi_0 pypi
tabulate 0.8.7 pypi_0 pypi
tangled-up-in-unicode 0.1.0 pyhd3eb1b0_0
tbb 2021.1.1 pypi_0 pypi
tensorboard 2.5.0 py_0
tensorboard-data-server 0.6.1 pypi_0 pypi
tensorboard-plugin-wit 1.8.0 pypi_0 pypi
tensorflow 2.3.0 mkl_py38h8c0d9a2_0
tensorflow-addons 0.12.1 pypi_0 pypi
tensorflow-base 2.3.0 eigen_py38h75a453f_0
tensorflow-datasets 4.2.0 pypi_0 pypi
tensorflow-estimator 2.5.0 pyh7b7c402_0
tensorflow-hub 0.11.0 pypi_0 pypi
tensorflow-metadata 0.28.0 pypi_0 pypi
tensorflow-model-optimization 0.5.0 pypi_0 pypi
tensorflow-text 2.4.3 pypi_0 pypi
termcolor 1.1.0 pypi_0 pypi
terminado 0.9.4 py38haa95532_0
terminaltables 3.1.0 pypi_0 pypi
testpath 0.4.4 pyhd3eb1b0_0
text-unidecode 1.3 pypi_0 pypi
textblob 0.15.3 pypi_0 pypi
tf-slim 1.1.0 pypi_0 pypi
threadpoolctl 2.1.0 pyh5ca1d4c_0
tika 1.19 pypi_0 pypi
tk 8.6.10 he774522_0
tokenizers 0.9.4 pypi_0 pypi
torch 1.7.1 pypi_0 pypi
tornado 6.1 py38h2bbff1b_0
tox 3.23.0 pypi_0 pypi
tpot 0.11.7 pypi_0 pypi
tqdm 4.32.2 pypi_0 pypi
traitlets 5.0.5 pyhd3eb1b0_0
transformers 4.1.1 pypi_0 pypi
typeguard 2.11.1 pypi_0 pypi
typing-extensions 3.7.4.3 hd3eb1b0_0
typing_extensions 3.7.4.3 pyh06a4308_0
update-checker 0.18.0 pypi_0 pypi
uritemplate 3.0.1 pypi_0 pypi
urllib3 1.26.4 pyhd3eb1b0_0
uvicorn 0.13.4 pypi_0 pypi
vadersentiment 3.3.2 pypi_0 pypi
vc 14.2 h21ff451_1
virtualenv 20.4.3 pypi_0 pypi
visions 0.5.0 pyhd3eb1b0_0
vs2015_runtime 14.27.29016 h5e58377_2
waitress 2.0.0 pypi_0 pypi
wcwidth 0.2.5 py_0
webencodings 0.5.1 py38_1
websocket-client 0.58.0 pypi_0 pypi
werkzeug 0.16.1 pypi_0 pypi
wget 3.2 pypi_0 pypi
wheel 0.36.2 pyhd3eb1b0_0
widgetsnbextension 3.5.1 py38_0
win_inet_pton 1.1.0 py38haa95532_0
wincertstore 0.2 py38_0
winpty 0.4.3 4
wordcloud 1.8.1 pypi_0 pypi
wrapt 1.12.1 py38he774522_1
xgboost 1.3.3 pypi_0 pypi
xlrd 2.0.1 pyhd3eb1b0_0
xz 5.2.5 h62dcd97_0
yahooquery 2.2.15 pypi_0 pypi
yaml 0.2.5 he774522_0
yarl 1.6.3 py38h2bbff1b_0
zc-buildout 2.13.4 pypi_0 pypi
zeromq 4.3.3 ha925a31_3
zipp 3.4.1 pyhd3eb1b0_0
zlib 1.2.11 h62dcd97_4
zstd 1.4.9 h19a0ad4_0
1
As you can see lxml is already installed. That was he first thing I did when I got this error.
I also imported lxml. The error was the same.
The error still shows up. What to do next?
Respectfully,
LZ
RE: Error about parser library and tree builder - snippsat - Jun-08-2021
(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.
RE: Error about parser library and tree builder - Led_Zeppelin - Jun-09-2021
It looks like ll is installed but the test as outlined above failed.
import requests
from bs4 import BeautifulSoup
url = 'http://CNN.com'
response = requests.get(url)
soup = BeautifulSoup(response.content, 'lxml')
print(soup.find('title').text) The output is
Output: FeatureNotFound Traceback (most recent call last)
<ipython-input-3-cd8b12a29240> in <module>
4 url = 'http://CNN.com'
5 response = requests.get(url)
----> 6 soup = BeautifulSoup(response.content, 'lxml')
7 print(soup.find('title').text)
~\miniconda3\lib\site-packages\bs4\__init__.py in __init__(self, markup, features, builder, parse_only, from_encoding, exclude_encodings, element_classes, **kwargs)
241 builder_class = builder_registry.lookup(*features)
242 if builder_class is None:
--> 243 raise FeatureNotFound(
244 "Couldn't find a tree builder with the features you "
245 "requested: %s. Do you need to install a parser library?"
FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library
My guess is that lxml is not in the path. It is installed (see above conda list). Now how do I put it in the path? Assuming that is the correct solution?
Respectfully,
LZ
RE: Error about parser library and tree builder - snippsat - Jun-09-2021
Do as i show from command line with base() environment active,never ever troubleshoot from editor/notebook.
All most work first from command line.
The definitive guide to Python virtual environments with conda.
Quote:☠️ Warning: avoid Anaconda Navigator ☠️
Stick to the CLI for managing your conda environments.
RE: Error about parser library and tree builder - Led_Zeppelin - Jun-11-2021
I ran the test program called snippetpy from the command line.
It still gives the same error as you can see:
Output: >python snippet.py
Traceback (most recent call last):
File "snippet.py", line 6, in <module>
soup = BeautifulSoup(response.content, 'lxml')
File "C:\Users\james\miniconda3\lib\site-packages\bs4\__init__.py", line 243, in __init__
raise FeatureNotFound(
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: lxml. Do you need to install a parser library?
So the result is the same either in a jupyter notebook or on the command line.
I believe that the python program is not finding the lxml library.
I am not sure what this code doing in your response.
Output: :\miniconda3
λ cd Scripts\
G:\miniconda3\Scripts
λ activate.bat
# See base()
(base) G:\miniconda3\Scripts
λ cd ..
I just do not know what this means.
Could I just put in the correct path and that would solve the problem?
I work with both windows 10 and Linux. if something is installed and it not in the right path
then that would explain my error.
I would like a more detailed answer that explains what you are doing and why.
Any help appreciated. Thanks in advance.
R,
LZ
RE: Error about parser library and tree builder - snippsat - Jun-11-2021
You most activate base() environment when use Miniconda or Anaconda,i have mention that in my two last post is this so hard to understand?
Look at link i posted you never see any image where base() or other environment ml_env() is not activate.
In earlier version of Anaconda/Miniconda could get away with not using environment that is not the case anymore.
When base() environment is active it will find all packages as did with conda list in your earlier post,
if not there is nor guarantee that will find eg lxml .
One more link you look at environment with Miniconda and Conda-Forge.
|