Skip to content
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

does not seem to install on Ubuntu 16.04 x64 #54

Closed
oditorium opened this issue May 16, 2016 · 3 comments
Closed

does not seem to install on Ubuntu 16.04 x64 #54

oditorium opened this issue May 16, 2016 · 3 comments
Labels

Comments

@oditorium
Copy link

Hi.

Below commands that I run on a clean install of Ubuntu 16.04 / x64 (on DigitialOcean)

Preparation:

root@delme:~# python3 --version
Python 3.5.1+

apt -y install python3-pip

root@delme:~# pip3 --version
pip 8.1.1 from /usr/lib/python3/dist-packages (python 3.5)

Pip3 install (note 'Killed')

root@delme:~# pip3 install mlxtend
Collecting mlxtend
  Downloading mlxtend-0.4.1.tar.gz (1.1MB)
    100% |████████████████████████████████| 1.1MB 451kB/s 
Building wheels for collected packages: mlxtend
  Running setup.py bdist_wheel for mlxtend ... done
  Stored in directory: /root/.cache/pip/wheels/fb/59/f3/284c574e254e2e619a93e76ec9644def550940c13ac9fe8576
Successfully built mlxtend
Installing collected packages: mlxtend
Killed
root@delme:~# 

Install from github

pip3 install git+git://github.com/rasbt/mlxtend.git#egg=mlxtend

root@delme:~# pip3 install git+git://github.com/rasbt/mlxtend.git#egg=mlxtend
Collecting mlxtend from git+git://github.com/rasbt/mlxtend.git#egg=mlxtend
  Cloning git://github.com/rasbt/mlxtend.git to /tmp/pip-build-f0aeav6_/mlxtend
Installing collected packages: mlxtend
  Running setup.py install for mlxtend ... error

Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-f0aeav6_/mlxtend/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-22e_cbrj-record/install-record.txt --single-version-externally-managed --compile" failed with error code -9 in /tmp/pip-build-f0aeav6_/mlxtend/
@rasbt
Copy link
Owner

rasbt commented May 16, 2016

Hi, Stefan,
I am sorry about the trouble, and I don't know what the issues could be (yet).

Personally, I am not testing on Ubuntu locally (only have a few Macs, and a few RedHat and CentOS machines, but I am only testing locally on a Mac). However, as far as I know, the continuous integration tests (via Travis) are running on Ubuntu 14.04 LTS Server Edition 64 bit as described here. So, it should technically work on Ubuntu as well ... or that's what I thought. I am currently attending a conference in Toronto and can't test it on any of my other linux machines locally, but on my MacBook it installs fine using the .egg via pip (see screenshot).

I'll try it locally on my other linux machines next week when I am back; meanwhile, if you have any ideas about what could cause this error, please let me know, I am more than happy to fix this (if I can) :).

PS: Have you tried to fork the repo (or download the zip) and install it via python setup.py install from its root directory? One thing that I could spontaneously think of would be the 5k MNIST dataset, which is quite large, maybe there's a problem in the new Ubuntu version with parsing this relatively large .py file, which may cause the "Killed" result when it takes too long?

screen shot 2016-05-16 at 2 33 50 am

@rasbt
Copy link
Owner

rasbt commented May 29, 2016

Hi, Stefan,
I just created conda packages for Mac, Linux, and Windows. Maybe this could help with the problem? You can install it via

conda install -c rasbt mlxtend

Please let me know if this is helpful and solves this issue :)

@rasbt rasbt added the Question label Jul 4, 2016
@rasbt
Copy link
Owner

rasbt commented Aug 23, 2016

I recently installed it on an ubuntu machine using the conda dist and it worked fine for me. I am closing this issue now (in hope it is resolved?), but in case you still have troubles, please let me know, and I'd be happy to look into it further!

@rasbt rasbt closed this as completed Aug 23, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants