Skip to content

ImportError: No module named bashplotlib.histogram #30

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wernight opened this issue Sep 23, 2015 · 6 comments
Open

ImportError: No module named bashplotlib.histogram #30

wernight opened this issue Sep 23, 2015 · 6 comments

Comments

@wernight
Copy link

In a virtualenv:

$ pip install bashplotlib
$ ... | hist
...
ImportError: No module named bashplotlib.histogram

Here is my environment on a Ubuntu 12.04:

$ python --version
Python 2.7.6
$ pip --version
pip 1.5.6 from /var/local/virtualenvs/ipython/local/lib/python2.7/site-packages (python 2.7)
$ pip uninstall bashplotlib
Uninstalling bashplotlib:
  /var/local/virtualenvs/ipython/bin/hist
  /var/local/virtualenvs/ipython/bin/scatter
  /var/local/virtualenvs/ipython/lib/python2.7/site-packages/bashplotlib-0.6.4-py2.7.egg-info

It looks like there should be directory /var/local/virtualenvs/ipython/lib/python2.7/site-packages/bashplotlib but there isn't.

@Aluriak
Copy link
Contributor

Aluriak commented Sep 29, 2015

Same problem here, with Archlinux and both Python 2 & 3.

Problem solved by installing from sources.

@yoavram
Copy link

yoavram commented Dec 2, 2015

Similar problem an Anaconda3, Py3.4, Win7 64-bit.
I get:

λ hist
Traceback (most recent call last):
  File "D:\Anaconda3\Scripts\hist-script.py", line 9, in <module>
    load_entry_point('bashplotlib==0.6.4', 'console_scripts', 'hist')()
  File "D:\Anaconda3\lib\site-packages\setuptools-18.5-py3.4.egg\pkg_resources\__init__.py", line 565, in load_entry_point
  File "D:\Anaconda3\lib\site-packages\setuptools-18.5-py3.4.egg\pkg_resources\__init__.py", line 2697, in load_entry_point
  File "D:\Anaconda3\lib\site-packages\setuptools-18.5-py3.4.egg\pkg_resources\__init__.py", line 2370, in load
  File "D:\Anaconda3\lib\site-packages\setuptools-18.5-py3.4.egg\pkg_resources\__init__.py", line 2376, in resolve
ImportError: No module named 'bashplotlib'

@jadijadi
Copy link

jadijadi commented Jan 6, 2016

Same here, debian sid.

[jadi@funlife ~]$ hist
Traceback (most recent call last):
  File "/usr/local/bin/hist", line 9, in <module>
    load_entry_point('bashplotlib==0.6.4', 'console_scripts', 'hist')()
  File "/home/jadi/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 568, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/home/jadi/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2720, in load_entry_point
    return ep.load()
  File "/home/jadi/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2380, in load
    return self.resolve()
  File "/home/jadi/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2386, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
ImportError: No module named bashplotlib.histogram
[jadi@funlife ~]$ python --version 
Python 2.7.11

@keevee09
Copy link

keevee09 commented Feb 1, 2016

Same with OSX El Capitan and homebrew's Python 2.76 and 3.51.
pip install bashplotlib
does not work
but installing from source as per the README.md
git clone ...
cd bashplotlib
python setup.py install
works fine.

@elijahfhopp
Copy link

Same here on Mavericks and Python 3.6.1 with pip:
Traceback (most recent call last): File "/Users/MrZeus/Desktop/SPIF_image_encryption/testy.py", line 90, in <module> print(bpl.histogram.__name__) AttributeError: module 'bashplotlib' has no attribute 'histogram'
What's up @glamp?

@elijahfhopp
Copy link

Installed from source, that fixed the issue, but the download almost 80MB! It took me over 10 minutes to download.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants