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

pip3 NOT pip! #8

Open
drswgw opened this issue Mar 24, 2020 · 12 comments
Open

pip3 NOT pip! #8

drswgw opened this issue Mar 24, 2020 · 12 comments

Comments

@drswgw
Copy link

drswgw commented Mar 24, 2020

Ubuntu18 and Mate19 have python 2.7 and python 3.7 running, but python 2.7 is the default.

the install directions need to include (for Ubuntu18 & Mate19)

sudo apt-get install python3-pip
cd ~/HD-BET
pip3 install -e .

the directions as written use pip (which defaults to python 2.7 in ubuntu and generates a "there is no python3.5 or greater" error when trying to install HD-BET)

which then prompts one to one either try and alias out the python2.7 in ubuntu, which works poorly...or uninstall python 2.7, and for ubuntu, that leads to a truly epic fail/disaster.

existing install directions are TOO GENERAL...need to be more specific as stated above if the install is to work smoothlyfor Ubuntu18 or MATE19

@FabianIsensee
Copy link
Member

Hi,
I will add a notification that users should also try pip3 if they run into problems. This should however not be the default recommendation, because what pip points to depends on your system. For me and many others, pip is python3 as it should be (Python2 is end of life).
Best,
Fabian

@drswgw
Copy link
Author

drswgw commented Mar 24, 2020 via email

@FabianIsensee
Copy link
Member

FabianIsensee commented Mar 24, 2020

Hi Scott,
pip is really the best and easiest tool to install anything in python. I am surprised that you have so many problems.
My recommendation is to create a virtual environment. On Ubuntu this is really easy:

virtualenv -p python3 my_venv # creates a folder my_venv with the virtual environment files
source my_venv/bin/activate # activates the virtual environment. You nee to do this every time you intend to run hd-bet
pip install --upgrade pip # this will update pip and it won't complain anymore. And yes it's pip, not pip3. The virtual environment will make it point to the correct one
# now proceed to install hd-bet from here

Best,
Fabian

@drswgw
Copy link
Author

drswgw commented Mar 24, 2020 via email

@drswgw
Copy link
Author

drswgw commented Mar 24, 2020 via email

@FabianIsensee
Copy link
Member

Hi Scott,
have you tried running hd-bet with -device cpu -mode fast -tta 0
Best,
Fabian

@drswgw
Copy link
Author

drswgw commented Mar 24, 2020 via email

@drswgw
Copy link
Author

drswgw commented Mar 24, 2020 via email

@drswgw
Copy link
Author

drswgw commented Mar 24, 2020 via email

@drswgw
Copy link
Author

drswgw commented Mar 24, 2020 via email

@drswgw
Copy link
Author

drswgw commented Mar 24, 2020 via email

@FabianIsensee
Copy link
Member

Have you been able to run hd-bet in the meantime?

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

No branches or pull requests

2 participants