Reputation: 45
I'm trying to install wptools in my python 3 Anaconda environment to use in Jupyter. Since it is a non-conda package, I used pip. But I get this error:
(py3) C:\Users\owner>pip install wptools
Collecting wptools
Requirement already satisfied: certifi in c:\anaconda2\envs\py3\lib\site-packages (from wptools) (2018.10.15)
Collecting lxml (from wptools)
Downloading https://files.pythonhosted.org/packages/43/c7/e088bf0f4f81e6b366cc2de12939c559b588b9525ad76215d122e69151ed/lxml-4.2.5-cp37-cp37m-win32.whl (3.2MB)
100% |████████████████████████████████| 3.2MB 1.2MB/s
Collecting html2text (from wptools)
Collecting pycurl (from wptools)
Complete output from command python setup.py egg_info:
Please specify --curl-dir=/path/to/built/libcurl
Command "python setup.py egg_info" failed with error code 10 in C:\Users\owner\AppData\Local\Temp\pip-install-39cbrz2h\pycurl\
Upvotes: 2
Views: 1721
Reputation: 5015
This error is probably related to setuptools
. Upgrade setuptools
and reinstall wptools.
pip install setuptools --upgrade
pip install wptools --ignore-installed
Upvotes: 0
Reputation: 1
I had this same problem, and pycurl was the main cause in my case. To fix it, I started by installing pycurl before installing wptools
conda install pycurl
pip install wptools
Upvotes: 0
Reputation: 1
here's what you'll do
Upvotes: 0
Reputation: 433
pip install wptools
.Update: I see that I misread your question and that my solution did not work for you :).
(base) C:\Users\Biest>conda install wptools
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- wptools
Current channels:
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/msys2/win-64
- https://repo.anaconda.com/pkgs/msys2/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
(The "black" window is the Anaconda Prompt
.)
Upvotes: 0