bashplotlib icon indicating copy to clipboard operation
bashplotlib copied to clipboard

ImportError: No module named 'bashplotlib'

Open vincestus opened this issue 9 years ago • 5 comments

Hi,

I'm using Python 3.4.2 and run into the following error when trying to import 'bashplotlib':

ImportError: No module named 'bashplotlib'

It happens when importing it in my project with the example of the README as follows:

from bashplotlib.histogram import plot_hist

I installed the package with the following command:

sudo pip3 install bashplotlib

And it's listed under the installed packaged.

Could you help me with this?

vincestus avatar Dec 03 '15 16:12 vincestus

+1 for Python 2.7. Using Conda environment but installed with pip install bashplotiib.

$ hist --demo
Traceback (most recent call last):
  File "/Users/allan/homeInstalled/anaconda/envs/py27/bin/hist", line 7, in <module>
    from bashplotlib.histogram import main
ImportError: No module named bashplotlib.histogram

AllanLRH avatar Dec 16 '15 08:12 AllanLRH

Likewise with Python 3.5.1 and Python 2.7.11 on OS X 10.10.5 and Ubuntu 12.04.5 LTS.

pjvandehaar avatar Jan 07 '16 22:01 pjvandehaar

Installing from the github repo directly (rather than from pypi) seems to work

pip install git+https://github.com/glamp/bashplotlib.git@master

philngo avatar Feb 06 '16 18:02 philngo

Worked fine for me with Python 3.6.3, pip3 9.0.1, MacOS 10.12.6 .

harrybiddle avatar Dec 19 '17 12:12 harrybiddle

where does pip say its installed for you guys? Where does python say its installed? Do other projects work?

Need some more info, works fine for me.

Mac: ➜ bashplotlib git:(master) $ pip --version pip 9.0.3 from /Users/kennethgoodman/.local/lib/python3.6/site-packages (python 3.6) ➜ bashplotlib git:(master) $ python --version Python 3.6.3 :: Anaconda, Inc.

kennethgoodman avatar Sep 19 '18 02:09 kennethgoodman