daler/pybedtools

import error on bedtools from pybedtools

Closed this issue · 4 comments

Hi,

I am getting the following error. Do you have any suggestions? I would appreciate it.

from pybedtools import BedTool
Traceback (most recent call last):
File "", line 1, in
ImportError: cannot import name 'BedTool' from 'pybedtools' (unknown location)

My guess is that your pybedtools installation is incomplete. How did you install it? Try to uninstall and re-install.

daler commented

@rthapa26 if you're still having issues with this, please re-open with some more info on how you installed and I'll take a look.

Hi, old issue, but I am also getting this error.

I have installed according to the instructions here:

https://daler.github.io/pybedtools/main.html#install-development-version-via-github

because pip install pybedtools gave me an error (ERROR: Failed building wheel for pybedtools).

Do you know if I was meant to do anything else to make the installation complete?

Thanks,

Rachel

@raerose01 There were probably more error messages or warnings than just "Failed building wheel for pybedtools".
Maybe this can help identifying more precisely what the problem is.