bashplotlib
bashplotlib copied to clipboard
ImportError: No module named 'bashplotlib'
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?
+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
Likewise with Python 3.5.1
and Python 2.7.11
on OS X 10.10.5 and Ubuntu 12.04.5 LTS.
Installing from the github repo directly (rather than from pypi) seems to work
pip install git+https://github.com/glamp/bashplotlib.git@master
Worked fine for me with Python 3.6.3, pip3 9.0.1, MacOS 10.12.6 .
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.