QianyanTech / Image-Downloader

Download images from Google, Bing, Baidu. 谷歌、百度、必应图片下载.
MIT License
2.19k stars 572 forks source link

Installation on Archlinx x86_64 #11

Closed boban-dj closed 6 years ago

boban-dj commented 6 years ago

Thanks! if you need any help let me know

Installation on Archlinux: Linux archz800 4.9.56-1-lts #1 SMP Thu Oct 12 22:34:15 CEST 2017 x86_64 GNU/Linux phantomjs Version : 2.1.1-8

Change line 9: image_downloader_gui.spec to: datas=[("bin/phantomjs", "bin/")],

Then it works like this:

    git clone https://github.com/sczhengyabin/Image-Downloader
    mkvirtualenv -p python3 Image-Downloader
    cd Image-Downloader

    pip3 install PyQt5
    pip3 install -r requirements.txt 
    pip3 install pyinstaller

    pacman -S phantomjs
    which phantomjs
    cd /usr/bin/phantomjs
    ln -s /usr/bin/phantomjs  ~/Snakepit/Image-Downloader/bin/

    pyinstaller image_downloader_gui.spec