Jump to content

Are we permitted to install modules in polisy?


Kajtek

Recommended Posts

I wrote some code that uses bs4 module (beautifulsoup4) and it works in Jupiter and VSCode after bs4 was installed but I get error at the
line

from bs4 import BeautifulSoup

which indicated that the module is not present

I tried to install the module using pip

pip install beautifulsoup4

but I get error. Here is the response after trial to install

[admin@polisy ~]$ pip install bs4

Collecting bs4

  Downloading https://files.pythonhosted.org/packages/10/ed/7e8b97591f6f456174139ec089c769f89a94a1a4025fe967691de971f314/bs4-0.0.1.tar.gz

Collecting beautifulsoup4 (from bs4)

  Downloading https://files.pythonhosted.org/packages/66/25/ff030e2437265616a1e9b25ccc864e0371a0bc3adb7c5a404fd661c6f4f6/beautifulsoup4-4.9.1-py3-none-any.whl (     |ââââââââââââââââââââââââââââââââ| 122kB 878kB/s

Collecting soupsieve>1.2 (from beautifulsoup4->bs4)

  Downloading https://files.pythonhosted.org/packages/6f/8f/457f4a5390eeae1cc3aeab89deb7724c965be841ffca6cfca9197482e470/soupsieve-2.0.1-py3-none-any.whl

Installing collected packages: soupsieve, beautifulsoup4, bs4

ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/usr/local/lib/python3.7/site-packages/soupsieve'

Consider using the `--user` option or check the permissions.

 

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.


  • Recently Browsing

    • No registered users viewing this page.
  • Forum Statistics

    • Total Topics
      36.6k
    • Total Posts
      367.9k
×
×
  • Create New...