viisar / brew

⛔️ DEPRECATED brew: Python Ensemble Learning API
MIT License
301 stars 70 forks source link

ImportError: no module named base #22

Open jeanniex opened 7 years ago

jeanniex commented 7 years ago

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 commented 7 years ago

@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 commented 7 years ago

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 notifications@github.com 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 https://github.com/viisar/brew/issues/22#issuecomment-256695856, or mute the thread https://github.com/notifications/unsubscribe-auth/AWCB-MzSqD_LaKNbD3hcjotB8RzIdIzxks5q4NATgaJpZM4KicKt .

jeanniex commented 7 years ago

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 notifications@github.com 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 https://github.com/viisar/brew/issues/22#issuecomment-256695856, or mute the thread https://github.com/notifications/unsubscribe-auth/AWCB-MzSqD_LaKNbD3hcjotB8RzIdIzxks5q4NATgaJpZM4KicKt .

alzami1986 commented 7 years ago

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 commented 7 years ago

Thank you David.

Jeannie Fitzgerald jeannie.fitzgerald@nvmdurance.com

*The information in this email and any attachments is proprietary and confidential. This email is intended to be reviewed by only the individual or organization named above. If you are not the intended recipient or an authorized representative of the intended recipient, you are hereby notified that any review, dissemination or copying of this email and its attachments, if any, or the information contained herein is prohibited. If you have received this email in error, please immediately notify the sender by return email and delete this email from your system.

On Sat, May 13, 2017 at 4:17 AM, alzami1986 notifications@github.com wrote:

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

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/viisar/brew/issues/22#issuecomment-301221832, or mute the thread https://github.com/notifications/unsubscribe-auth/AWCB-C4QIEjUf803bW6KglPQ4MrJx9mEks5r5SDmgaJpZM4KicKt .