Skip to content
This repository has been archived by the owner on Feb 9, 2020. It is now read-only.

windows cannot recognize sudo command #64

Open
olivia930709 opened this issue Jan 24, 2019 · 11 comments
Open

windows cannot recognize sudo command #64

olivia930709 opened this issue Jan 24, 2019 · 11 comments

Comments

@olivia930709
Copy link

Hello,
I'm trying to install wishbone and its dependencies using ' sudo pip3 install . ' following the instruction. However, the prompt says 'sudo is not a external or internal command'. So I may I ask is there any workaround for windows user?

Thanks a lot!
Olivia

@ManuSetty
Copy link
Owner

sudo is specific to Linux / Unix based systems. I believe you should be able to install on Windows without using the sudo: pip3 install . . If you see permissions issue, you can try pip3 install . --user

@olivia930709
Copy link
Author

Thank you so much for your reply ! I typed 'pip3 install . ' but it said pip3 is not recognized. So I changed it into 'pip install .' , is that okay?
Anyway, I still got some error at the end, saying files not found. So I'm wondering if there some details I missed, like do I need to change the directory before I type 'git clone git://github.com/manusetty/wishbone.git'?

Many thanks!
Olivia

@ManuSetty
Copy link
Owner

Wishbone needs python3. So if your pip is pointing to python3, it should work. Otherwise you will need to install python3. You do not need to be in specific directory to clone the repository, but you have to change to the location you have cloned for installation

@olivia930709
Copy link
Author

olivia930709 commented Jan 29, 2019 via email

@ManuSetty
Copy link
Owner

The screenshot did not come through. Can you send it again.

@olivia930709
Copy link
Author

38e44fc2-a89d-47c6-aebd-831146199b42
How about now?

@ManuSetty
Copy link
Owner

Unfortunately, I do not have access to a Windows environment to test this. This looks more an issue with bhtsne_wrapper rather than Wishbone.

@olivia930709
Copy link
Author

olivia930709 commented Feb 15, 2019 via email

@StarXian
Copy link

StarXian commented May 5, 2019

Processing /home/jiaxian/ehbio/wishbone
Collecting Cython (from wishbone==0.4.2)
Downloading https://files.pythonhosted.org/packages/e7/bd/59054534d09830394470c14e4dd4a2e8fa64ac14559095a044208bf34c18/Cython-0.29.7-cp35-cp35m-manylinux1_x86_64.whl (2.0MB)
100% |████████████████████████████████| 2.0MB 514kB/s
Collecting bhtsne (from wishbone==0.4.2)
Downloading https://files.pythonhosted.org/packages/5b/32/3e25093337ab8811e0c3ebd89ad60fd6ca19ef9d7cebb645454f2bc59eaf/bhtsne-0.1.9.tar.gz (86kB)
100% |████████████████████████████████| 92kB 6.6MB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-build-u1nolrp3/bhtsne/setup.py", line 4, in
from Cython.Build import cythonize
ImportError: No module named 'Cython'

----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-u1nolrp3/bhtsne/

@ManuSetty
Copy link
Owner

Please first try to install Cython using (pip3 install Cython) and then install Wishbone. We will update the dependencies.

@ManuSetty
Copy link
Owner

That file is only for the sample data. You don't have to generate that file for your data - you can just specify the number of waypoints (the default option should suffice)

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