Closed ihh closed 10 months ago
Hmm, I have pretty much the same pip list as you with the dash in the name in pip list, but we import it using the underscore and I do not encounter the ModuleNotFound error on my machine. I'm using Python 3.11.6. It might be that hyphen is a weird choice anyways so we could reconsider, but not sure why you run into this error cause it does work for me
do you know if you have any thing that could sort of complicate the setup like conda or bioconda installed? or multiple python versions installed like homebrew and system python? some of the guides that I have read point to that as being a cause of generally mysterious ModuleNotFound errors
I do have conda on the machine, and conda list
(from the notebook) does not include jbrowse-jupyter. However, I am not sure how to install JBrowse-Jupyter in a way that miniconda3 can see it. conda install jbrowse-jupyter
does not work.
Usually when I'm in a conda environment and I install something with pip, it installs it, so I'm not sure what's going on here
conda info
says no environment is currently activated (but perhaps it is just using the "base" environment)
I'm multitasking a bit here so I can't chase this very effectively
Python version is 3.11.4
no worries. I'll try to brainstorm and maybe try out some different environments to double check. as far as i can tell, on my machine, starting with the blank virtual env works ok with the tutorial but could be some system things...
I swear 20% of my time on Python projects is consumed by this kind of issue. If you can think of anything let me know. In the meantime I will try digging into it myself when I get a chance (maybe one evening at NeurIPS next week...)
as so often seems to be the case, a reboot inexplicably fixed this. closing.
I'm following this tutorial; the following line does not work for me
Error message:
Output of
pip list
:Isn't it a bit odd to have a hyphen in the package name? c.f. https://stackoverflow.com/questions/761519/is-it-ok-to-use-dashes-in-python-files-when-trying-to-import-them