Skip to content
This repository has been archived by the owner on Jul 27, 2018. It is now read-only.

ImportError: no module named base #22

Open
jeanniex opened this issue Oct 27, 2016 · 5 comments
Open

ImportError: no module named base #22

jeanniex opened this issue Oct 27, 2016 · 5 comments

Comments

@jeanniex
Copy link

When running the example from here:https://pypi.python.org/pypi/brew/0.1.3
I get the following error on this line: from brew.base import Ensemble, EnsembleClassifier

ImportError: No module named base

Importation of the other brew modules seems to be fine.

thanks.

@dvro
Copy link
Member

dvro commented Oct 27, 2016

@jeanniex, are you sure you're running from the right location? try installing the package and run it from another location.

Also, the example fine on 0.1.4, so, this bug is already solved (at least in my machine).

Let me know how it goes.

@jeanniex
Copy link
Author

hi David,

Thanks for your quick response. It works fine if I put the brew folder in
the local directory where I am using it - but not if it is installed
globally (using setup.py install).
don't worry about it -- I just wanted to try it out and I can make it work
locally.

j

On Thu, Oct 27, 2016 at 5:23 PM, Dayvid Victor [email protected]
wrote:

@jeanniex https://github.com/jeanniex, are you sure you're running from
the right location? try installing the package and run it from another
location.

Also, the example fine on 0.1.4, so, this bug is already solved (at least
in my machine).

Let me know how it goes.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#22 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AWCB-MzSqD_LaKNbD3hcjotB8RzIdIzxks5q4NATgaJpZM4KicKt
.

@jeanniex
Copy link
Author

Hi again David,

If pip is used to install brew, it returns the following error : IOError:
[Errno 2] No such file or directory: 'requirements.txt'

thanks,

j

On Thu, Oct 27, 2016 at 5:23 PM, Dayvid Victor [email protected]
wrote:

@jeanniex https://github.com/jeanniex, are you sure you're running from
the right location? try installing the package and run it from another
location.

Also, the example fine on 0.1.4, so, this bug is already solved (at least
in my machine).

Let me know how it goes.


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#22 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/AWCB-MzSqD_LaKNbD3hcjotB8RzIdIzxks5q4NATgaJpZM4KicKt
.

@alzami1986
Copy link

Hi jeanniex , I found how to fix this, first download the brew-0.1.4, then extract it, open setup.py, after that omit these code:
one: with open('requirements.txt') as fid:
INSTALL_REQUIRES = [l.strip() for l in fid.readlines() if l]
two: install_requires=INSTALL_REQUIRES,

save, then zip the files
after zip the files, open terminal or dos and go to the zip location and put these:
pip install brew-0.1.4.zip

@jeanniex
Copy link
Author

jeanniex commented May 13, 2017 via email

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

No branches or pull requests

3 participants