2021年1月16日星期六

I tried everything to set up Web Scraping Libraries (installing requests, lxml and bs4) but just can't get it done

I tried everything to set up Web Scraping Libraries (installing requests, lxml and bs4) but just can't get it done.

My specs -

  • Windows 10 Pro

  • Python version - Python 3.8.3

  • Using Jupyter Notebook - C:\Users\LENOVO\anaconda3\Scripts\jupyter.exe

  • Jupyter version - jupyter core : 4.6.3

jupyter-notebook : 6.0.3

qtconsole : 4.7.5

ipython : 7.16.1

ipykernel : 5.3.2

jupyter client : 6.1.6

jupyter lab : 2.1.5

nbconvert : 5.6.1

ipywidgets : 7.5.1

nbformat : 5.0.7

traitlets : 4.3.3

  • I installed through pip install - It said 'requirements already satisfied'

    (Through Anaconda Prompt and Command Prompt also)

  • I restarted the system. It didn't work with Jupyter.

  • I also tried installing the virtual environment package - It was also installed

    Shows the following error - ModuleNotFoundError

  • I Googled it and found the following details -

    python -m pip install requests - (Said 'requirements already satisfied')

    conda install -c anaconda requests - (Said 'Collecting package metadata

                                                             (current_repodata.json): done                                                             Solving environment: done )  

What Should I do now ? I am totally at a loss..

Please help.

Debasis Sil

https://stackoverflow.com/questions/65746629/i-tried-everything-to-set-up-web-scraping-libraries-installing-requests-lxml-a January 16, 2021 at 12:56PM

没有评论:

发表评论