Python Forum
Adding a node into an xml tree
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Adding a node into an xml tree
#7
Quote:My new concern now, is the way to have «/usr/lib/python3/dist-packages» in sys.path at Python's launch, without to have to
sys.path.append('/usr/lib/python3/dist-packages')
You shall never have to this,if so you have messes up installation.
I guess you have install Python 3.8 yourself?
I do recommend pyenv Simple Python Version Management.

So i see when you type python it start python 3.8.
When you try to install you see what happens because normal site-packages is not writeable
Then it tell that is satisfied in /usr/lib/python3/dist-packages this is default Python 3 installation and not 3.8.
remi@remi-Vostro-3550:~$ pip install beautifulsoup4
Defaulting to user installation because normal site-packages is not writeable
Requirement already satisfied: beautifulsoup4 in /usr/lib/python3/dist-packages (4.6.0)
Here some option to try
pip -V # Should point to Python 3.8,if not use pip3

python -m pip install beautifulsoup4

pip install --user beautifulsoup4

# Not recommend,but this is what many do unfortunately
sudo pip install beautifulsoup4
Now type python again and test if bs4 work in Python 3.8.
Reply


Messages In This Thread
Adding a node into an xml tree - by arbiel - May-02-2020, 08:04 PM
RE: Adding a node into an xml tree - by snippsat - May-02-2020, 08:24 PM
RE: Adding a node into an xml tree - by arbiel - May-03-2020, 02:24 PM
RE: Adding a node into an xml tree - by wavic - May-04-2020, 04:44 PM
RE: Adding a node into an xml tree - by arbiel - May-04-2020, 08:08 PM
RE: Adding a node into an xml tree - by wavic - May-05-2020, 08:51 AM
RE: Adding a node into an xml tree - by snippsat - May-05-2020, 10:59 AM
RE: Adding a node into an xml tree - by arbiel - May-05-2020, 09:55 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How we prune Alphabeta Tree Node Using BST concept Anldra12 4 2,485 May-18-2021, 09:17 AM
Last Post: Anldra12
  Adding markers to Folium map only adding last element. tantony 0 2,172 Oct-16-2019, 03:28 PM
Last Post: tantony

Forum Jump:

User Panel Messages

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