Closed byteshiva closed 4 years ago
hmm I'm not sure why you're seeing this issue, I've just tested installer working myself.
Can you give me more information about your version of ubuntu?
Additionally can you try running with python 3.6
I am also having the same issue but with different output. Python3.5 and python3.6 are installed on my system (ubuntu 16.04 lts) pip is only setup with python3.5 so that seems to be the one that JobFunnel gets run with.
When I try install jobfunnel manually from github I encounter the same issue.
Can you both confirm for me the results of running which pip
are python 3?
Same on Arch Linux.
➜ / which pip
/usr/bin/pip
➜ / python --version
Python 3.8.1
➜ / pip --version
pip 19.2.3 from /usr/lib/python3.8/site-packages/pip (python 3.8)
uname -a
Linux desktop 5.3.0-26-generic #28-Ubuntu SMP 2019 x86_64 x86_64 x86_64 GNU/Linux
➜ which pip3
/home/xyz/.asdf/shims/pip3
➜ python --version
Python 3.8.0
➜ pip --version
pip 19.3.1 from /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages/pip (python 3.8)
Ok, I've replicated this issue. Its an issue with the version of scikit learn and python.
If you use python 3.7.6 it should work fine.
Alternatively, wait until v 2.0 is merged, which fixes this issue.
edit, its been released, updating should fix this for latest python.
The installation went fine with v 2.0. Now Its works fine for me.
➜ pip3 install git+https://github.com/PaulMcInnis/JobFunnel.git
Collecting git+https://github.com/PaulMcInnis/JobFunnel.git
Cloning https://github.com/PaulMcInnis/JobFunnel.git to ./pip-req-build-bmm7ykj6
Running command git clone -q https://github.com/PaulMcInnis/JobFunnel.git /tmp/pip-req-build-bmm7ykj6
Requirement already satisfied: beautifulsoup4>=4.6.3 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from JobFunnel==2.0.0) (4.8.1)
Requirement already satisfied: lxml>=4.2.4 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from JobFunnel==2.0.0) (4.4.2)
Requirement already satisfied: requests>=2.19.1 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from JobFunnel==2.0.0) (2.22.0)
Requirement already satisfied: python-dateutil>=2.8.0 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from JobFunnel==2.0.0) (2.8.1)
Requirement already satisfied: PyYAML>=5.1 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from JobFunnel==2.0.0) (5.2)
Collecting scikit-learn>=0.21.2
Downloading https://files.pythonhosted.org/packages/db/5d/dddb8b82ee573df2ccaacb210e1df56daec33dd62aa637005dbc7b889eea/scikit_learn-0.22.1-cp38-cp38-manylinux1_x86_64.whl (7.0MB)
|████████████████████████████████| 7.0MB 142kB/s
Collecting nltk>=3.4.1
Downloading https://files.pythonhosted.org/packages/f6/1d/d925cfb4f324ede997f6d47bea4d9babba51b49e87a767c170b77005889d/nltk-3.4.5.zip (1.5MB)
|████████████████████████████████| 1.5MB 27kB/s
Requirement already satisfied: scipy>=1.4.1 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from JobFunnel==2.0.0) (1.4.1)
Requirement already satisfied: soupsieve>=1.2 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from beautifulsoup4>=4.6.3->JobFunnel==2.0.0) (1.9.4)
Requirement already satisfied: idna<2.9,>=2.5 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from requests>=2.19.1->JobFunnel==2.0.0) (2.8)
Requirement already satisfied: certifi>=2017.4.17 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from requests>=2.19.1->JobFunnel==2.0.0) (2019.9.11)
Requirement already satisfied: chardet<3.1.0,>=3.0.2 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from requests>=2.19.1->JobFunnel==2.0.0) (3.0.4)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from requests>=2.19.1->JobFunnel==2.0.0) (1.25.7)
Requirement already satisfied: six>=1.5 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from python-dateutil>=2.8.0->JobFunnel==2.0.0) (1.12.0)
Requirement already satisfied: numpy>=1.11.0 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from scikit-learn>=0.21.2->JobFunnel==2.0.0) (1.18.0)
Requirement already satisfied: joblib>=0.11 in /home/xyz/.asdf/installs/python/3.8.0/lib/python3.8/site-packages (from scikit-learn>=0.21.2->JobFunnel==2.0.0) (0.14.1)
Installing collected packages: scikit-learn, nltk, JobFunnel
Running setup.py install for nltk ... done
Running setup.py install for JobFunnel ... done
Successfully installed JobFunnel-2.0.0 nltk-3.4.5 scikit-learn-0.22.1
/tmp took 1m34s
➜ funnel --help
usage: CLI options take precedence over settings in the yaml fileempty arguments are replaced by settings in the default yaml file
[-h] [-s SETTINGS] [-o OUTPUT_PATH] [-kw [KEYWORDS [KEYWORDS ...]]] [-r] [-c] [-d DELAY] [-md MIN_DELAY] [--fun {constant,linear,sigmoid}]
[--log_level {critical,error,warning,info,debug,notset}] [--similar] [--no_scrape] [--no_delay] [--recover] [--save_dup]
Failed to install funnel on ubuntu 19.10. Am I missing something? Are there any prerequisite for funnel installation.
Error logs