dmlc / minpy

NumPy interface with mixed backend execution
https://minpy.readthedocs.io/en/latest/
Other
1.11k stars 112 forks source link

windows support or bash on ubuntu on windows? #141

Closed anxingle closed 7 years ago

anxingle commented 7 years ago

I wonder do you have plan to support windows or bash on ubuntu on windows?

jermainewang commented 7 years ago

We haven't looked into windows support yet. But I think if you could install mxnet in windows (which is supported), then minpy should also be fine since it is only python package. Welcome any contributions here!

What do you mean by bash support?

anxingle commented 7 years ago

Thank you so much. I install minpy successfully on my windows 10.
Windows 10 have enable " Subsystem for Linux " ,so we can use bash in windows just like in ubuntu. But I try to install minpy by the way install on ubuntu (pip install minpy),it just say: ''' Requirement already satisfied: minpy in /mnt/d/workspace/ubuntu/anaconda2/lib/python2.7/site-packages/minpy-0.3.1-py2.7.egg Requirement already satisfied: numpy in /mnt/d/workspace/ubuntu/anaconda2/lib/python2.7/site-packages (from minpy) Requirement already satisfied: scipy in /mnt/d/workspace/ubuntu/anaconda2/lib/python2.7/site-packages (from minpy) Requirement already satisfied: pillow in /mnt/d/workspace/ubuntu/anaconda2/lib/python2.7/site-packages (from minpy) Requirement already satisfied: semantic-version in /mnt/d/workspace/ubuntu/anaconda2/lib/python2.7/site-packages (from minpy) Requirement already satisfied: six in /mnt/d/workspace/ubuntu/anaconda2/lib/python2.7/site-packages (from minpy) Requirement already satisfied: h5py in /mnt/d/workspace/ubuntu/anaconda2/lib/python2.7/site-packages (from minpy) Requirement already satisfied: PyYAML in /mnt/d/workspace/ubuntu/anaconda2/lib/python2.7/site-packages (from minpy) Requirement already satisfied: tabulate in /mnt/d/workspace/ubuntu/anaconda2/lib/python2.7/site-packages (from minpy) ''' and when I try to import minpy,it say : ''' OSError: libopencv_imgcodecs.so.3.1: cannot enable executable stack as shared object requires: Invalid argument ''' and I try python setup.py install ''' Installed /mnt/d/workspace/ubuntu/anaconda3/lib/python3.5/site-packages/tabulate-0.7.7-py3.5.egg Searching for semantic-version Reading https://pypi.python.org/simple/semantic-version/ Download error on https://pypi.python.org/simple/semantic-version/: [Errno 101] Network is unreachable -- Some packages may not be found! Couldn't find index page for 'semantic-version' (maybe misspelled?) Scanning index of all packages (this may take a while) Reading https://pypi.python.org/simple/ No local packages or download links found for semantic-version error: Could not find suitable distribution for Requirement.parse('semantic-version') '''

Confuse me. Anyway , it can work on windows and I just use it with mxnet very well.

lryta commented 7 years ago

This error OSError: libopencv_imgcodecs.so.3.1: cannot enable executable stack as shared object requires: Invalid argument looks like some opencv related error.

This one

nstalled /mnt/d/workspace/ubuntu/anaconda3/lib/python3.5/site-packages/tabulate-0.7.7-py3.5.egg
Searching for semantic-version
Reading https://pypi.python.org/simple/semantic-version/ Download error on https://pypi.python.org/simple/semantic-version/: [Errno 101] Network is unreachable -- Some packages may not be found!
Couldn't find index page for 'semantic-version' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading https://pypi.python.org/simple/
No local packages or download links found for semantic-version
error: Could not find suitable distribution for Requirement.parse('semantic-version')

I posit is due to your internet connection. It said it could not download packages from python's repo.

lryta commented 7 years ago

@anxingle By the way, it looks like your pip is from python2 and python is python3.

anxingle commented 7 years ago

@lryta @jermainewang Thank you . The problem solved. Opencv didn't work and I use command "$ sudo execstack -c $HOME/anaconda2/lib/libopencv_*" solved and then minpy works!