A crawler for project of CSC1001
Operating system: Mac OS 10
Python version: Python 3.7
IDE: Pycharm
Package used:
- webbrowser
- os
- sys
- re
- warinings
- requests
- pandas
- pyquery
- sklearn
- matplotlib
- scipy
- numpy
- pyecharts
pip3 install requests pip3 install pandas pip3 install pyquery pip3 install sklearn pip3 install matplotlib pip3 install scipy pip3 install numpy pip3 install wheel pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple pyecharts==0.1.9.4 pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple echarts-countries-pypkg
For pyecharts package, users should successfullly install the package if follow the instruction. If still fail, please check your package installation path and project configuration path. E.g. pip under anaconda, but run with python shell outside anaconda may cause error: "No module named 'pyecharts'".
How to run?
-
Open your terminal and 'cd' to this file folder. Then input command "Python3 main.py"
-
If you are using IDE, then create an project and run "main.py"
If you have any question in regarding to this project, please contact WeChat 15258855988 for support.