**When I try to install the pyBigWig package to read the dataset, I fail to install the package.**
**The command I run are following, and all of them failed:**
conda install pybigwig -c bioconda
conda install -c bioconda pybigwig
conda install -c bioconda/label/cf201901 pybigwig
pip install pybigwig
**And the error message are:**
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- pybigwig
Current channels:
- https://conda.anaconda.org/bioconda/win-64
- https://conda.anaconda.org/bioconda/noarch
- https://conda.anaconda.org/conda-forge/win-64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/win-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/win-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/win-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/pro/win-64
- https://repo.anaconda.com/pkgs/pro/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.
Can anyone help me to solve this problem?
Created by Ziyan Wang ziywang Thank you so much ! I solved it. Please try with this:
```
$ conda create -n test_env_pybigwig pybigwig -c bioconda
$ source activate test_env_pybigwig
$ python -c "import pyBigWig"
```
If that doesn't work either, remove your local conda and install miniconda3 https://docs.conda.io/en/latest/miniconda.html and then try again. Howdy.
Can you be a bit more clear about what happens when you say "When I try to install the pyBigWig package to read the dataset, I fail to install the package."? Can you also provide more details about your environment, e.g., python version, OS, etc.
When I try `pip install pyBigWig` using Python 2.7 I get an error message that starts off as follows:
```
DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
Collecting pyBigWig
Using cached https://files.pythonhosted.org/packages/5c/9c/2e01d04b6fd31c1e09537c8f51410123c087da4974bdb0fcdb7ec25dab62/pyBigWig-0.3.13.tar.gz
Building wheels for collected packages: pyBigWig
Building wheel for pyBigWig (setup.py) ... error
Complete output from command /home/jmschr/anaconda2/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-BUjfO_/pyBigWig/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-N9ejkB --python-tag cp27:
/home/jmschr/anaconda2/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'classifier'
warnings.warn(msg)
```
When I try `conda install pybigwig` I get the same message you wrote.
```
Solving environment: failed
PackagesNotFoundError: The following packages are not available from current channels:
- pybigwig
Current channels:
- https://repo.anaconda.com/pkgs/main/linux-64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/free/linux-64
- https://repo.anaconda.com/pkgs/free/noarch
- https://repo.anaconda.com/pkgs/r/linux-64
- https://repo.anaconda.com/pkgs/r/noarch
- https://repo.anaconda.com/pkgs/pro/linux-64
- https://repo.anaconda.com/pkgs/pro/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.
```
However, when I try `conda install pybigwig -c bioconda` it's successful, with the message starting as follows.
```
Solving environment: done
## Package Plan ##
environment location: /home/jmschr/anaconda2
added / updated specs:
- pybigwig
The following packages will be downloaded:
package | build
---------------------------|-----------------
pybigwig-0.3.13 | py27h92ddc84_1 77 KB bioconda
python-2.7.15 | h9bab390_6 12.8 MB
pycurl-7.43.0.2 | py27h1ba5d50_0 184 KB
openssl-1.1.1b | h7b6447c_0 4.0 MB
mkl_random-1.0.2 | py27hd81dba3_0 383 KB
libcurl-7.63.0 | h20c2e04_1000 550 KB
mkl-2019.1 | 144 204.6 MB
cryptography-2.5 | py27h1ba5d50_0 626 KB
mkl_fft-1.0.10 | py27ha843d7b_0 161 KB
certifi-2018.11.29 | py27_0 146 KB
curl-7.63.0 | hbc83047_1000 145 KB
krb5-1.16.1 | h173b8e3_7 1.4 MB
qt-5.9.7 | h5867ecd_1 85.9 MB
libssh2-1.8.0 | h1ba5d50_4 233 KB
libpng-1.6.36 | hbc83047_0 346 KB
numpy-1.16.2 | py27h7e9f1db_0 49 KB
numpy-base-1.16.2 | py27hde5b4d6_0 4.3 MB
conda-4.6.7 | py27_0 1.7 MB
------------------------------------------------------------
Total: 317.4 MB
```
Drop files to upload
Cannot install pyBigWig package via pip or conda page is loading…