hello dear Community
running into issues while installing beautiful soup version 4 via terninal on a leap 42.3
martin@linux-3645:~> pip install beautifulsoup4
Collecting beautifulsoup4
Downloading beautifulsoup4-4.6.0-py3-none-any.whl (86kB)
100% |████████████████████████████████| 90kB 405kB/s
Installing collected packages: beautifulsoup4
Exception:
Traceback (most recent call last):
File "/usr/lib/python3.4/site-packages/pip/basecommand.py", line 211, in main
status = self.run(options, args)
File "/usr/lib/python3.4/site-packages/pip/commands/install.py", line 311, in run
root=options.root_path,
File "/usr/lib/python3.4/site-packages/pip/req/req_set.py", line 646, in install
**kwargs
File "/usr/lib/python3.4/site-packages/pip/req/req_install.py", line 803, in install
self.move_wheel_files(self.source_dir, root=root)
File "/usr/lib/python3.4/site-packages/pip/req/req_install.py", line 998, in move_wheel_files
isolated=self.isolated,
File "/usr/lib/python3.4/site-packages/pip/wheel.py", line 339, in move_wheel_files
clobber(source, lib_dir, True)
File "/usr/lib/python3.4/site-packages/pip/wheel.py", line 310, in clobber
ensure_dir(destdir)
File "/usr/lib/python3.4/site-packages/pip/utils/__init__.py", line 71, in ensure_dir
os.makedirs(path)
File "/usr/lib64/python3.4/os.py", line 237, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/usr/lib/python3.4/site-packages/bs4'
You are using pip version 7.1.2, however version 9.0.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
martin@linux-3645:~>
what would you do ?
by the way - see the arrangement of the notebook - especially the hard drive
martin@linux-3645:~> zypper lr -uP
# | Alias | Name | Aktiviert | GPG-Überprüfung | Aktualisierung | Priorität | URI
---+---------------------------+-----------------------------------------+-----------+-----------------+----------------+-----------+---------------------------------------------------------------------------
1 | ecsos | ecsos | Ja | (r ) Ja | Ja | 99 | https://download.opensuse.org/repositories/home:/ecsos/openSUSE_Leap_42.3/
2 | openSUSE-Leap-42.3-0 | openSUSE-Leap-42.3-0 | Ja | (r ) Ja | Nein | 99 | cd:///?devices=/dev/disk/by-id/ata-hp_DVDRAM_GU90N_KMNZ8C81556
3 | repo-debug | openSUSE-Leap-42.3-Debug | Nein | ---- | ---- | 99 | http://download.opensuse.org/debug/distribution/leap/42.3/repo/oss/
4 | repo-debug-non-oss | openSUSE-Leap-42.3-Debug-Non-Oss | Nein | ---- | ---- | 99 | http://download.opensuse.org/debug/distribution/leap/42.3/repo/non-oss/
5 | repo-debug-update | openSUSE-Leap-42.3-Update-Debug | Nein | ---- | ---- | 99 | http://download.opensuse.org/debug/update/leap/42.3/oss/
6 | repo-debug-update-non-oss | openSUSE-Leap-42.3-Update-Debug-Non-Oss | Nein | ---- | ---- | 99 | http://download.opensuse.org/debug/update/leap/42.3/non-oss/
7 | repo-non-oss | openSUSE-Leap-42.3-Non-Oss | Ja | (r ) Ja | Ja | 99 | http://download.opensuse.org/distribution/leap/42.3/repo/non-oss/
8 | repo-oss | openSUSE-Leap-42.3-Oss | Ja | (r ) Ja | Ja | 99 | http://download.opensuse.org/distribution/leap/42.3/repo/oss/
9 | repo-source | openSUSE-Leap-42.3-Source | Nein | ---- | ---- | 99 | http://download.opensuse.org/source/distribution/leap/42.3/repo/oss/
10 | repo-source-non-oss | openSUSE-Leap-42.3-Source-Non-Oss | Nein | ---- | ---- | 99 | http://download.opensuse.org/source/distribution/leap/42.3/repo/non-oss/
11 | repo-update | openSUSE-Leap-42.3-Update | Ja | (r ) Ja | Ja | 99 | http://download.opensuse.org/update/leap/42.3/oss/
12 | repo-update-non-oss | openSUSE-Leap-42.3-Update-Non-Oss | Ja | (r ) Ja | Ja | 99 | http://download.opensuse.org/update/leap/42.3/non-oss/
martin@linux-3645:~> sudo fdisk -l
Wir gehen davon aus, dass der lokale Systemadministrator Ihnen die
Regeln erklärt hat. Normalerweise läuft es auf drei Regeln hinaus:
#1) Respektieren Sie die Privatsphäre anderer.
#2) Denken Sie nach, bevor Sie tippen.
#3) Mit großer Macht kommt große Verantwortung.
[sudo] Passwort für root:
Festplatte /dev/sda: 465,8 GiB, 500107862016 Bytes, 976773168 Sektoren
Einheiten: Sektoren von 1 * 512 = 512 Bytes
Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes
E/A-Größe (minimal/optimal): 4096 Bytes / 4096 Bytes
Festplattenbezeichnungstyp: gpt
Festplattenbezeichner: 6229C7C4-758C-450E-9D59-F59E2AE3CB11
Gerät Anfang Ende Sektoren Größe Typ
/dev/sda1 2048 321535 319488 156M EFI-System
/dev/sda2 321536 4530175 4208640 2G Microsoft Basisdaten
/dev/sda3 4530176 46475263 41945088 20G Microsoft Basisdaten
/dev/sda4 46475264 976773119 930297856 443,6G Microsoft Basisdaten
martin@linux-3645:~> sudo sfdisk -l -uM
sfdisk: nicht unterstützte Einheit „M“
martin@linux-3645:~> sudo parted -l
Model: ATA TOSHIBA MQ01ABF0 (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 1049kB 165MB 164MB fat16 primary boot
2 165MB 2319MB 2155MB linux-swap(v1) primary
3 2319MB 23,8GB 21,5GB btrfs primary
4 23,8GB 500GB 476GB xfs primary