-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Install Monai with all dependencies on windows following the documentation #6118
Comments
Hi there, I got the same error when I use command: |
For the second question,
After I use command |
Hi there, I found the way install MONAI with all dependencies on Windows.
So, maybe we can mark the differences between installation on Linux and Windows in the documentation https://docs.monai.io/en/stable/installation.html#from-github. And the second question, we can add package 'pydantic' in [options.extras_require] section in the setup.cfg file. (Line 48) Hope the above method helps you! |
thanks @ytl0623, for the ModuleNotFoundError, could you please share the full error log by any chance? the project's tests currently couldn't detect this error. |
Hi, @wyli, the error log is like below when running command
And I found that the way install MONAI with all dependencies should run Finally, maybe we can mark the differences between installation on Linux and Windows in the documentation . And maybe this still deserves a PR for Windows users. #7234 Thanks! |
… MONAI with all dependencies on Windows Fixes Project-MONAI#6118
… MONAI with all dependencies on Windows Fixes Project-MONAI#6118 Signed-off-by: ytl0623 <david89062388@gmail.com>
… MONAI with all dependencies on Windows Fixes Project-MONAI#6118 Signed-off-by: ytl0623 <david89062388@gmail.com>
#7234) … MONAI with all dependencies on Windows Fixes #6118 ### Description The Windows shell doesn't recognize single quotes to delimit a string at all, so on Windows you'll need to use double quotes. It's the same command no matter which type of quotes you use; after the shell does its processing, the argument is passed to pip with the quotation marks already removed. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: ytl0623 <david89062388@gmail.com>
Project-MONAI#7234) … MONAI with all dependencies on Windows Fixes Project-MONAI#6118 ### Description The Windows shell doesn't recognize single quotes to delimit a string at all, so on Windows you'll need to use double quotes. It's the same command no matter which type of quotes you use; after the shell does its processing, the argument is passed to pip with the quotation marks already removed. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: ytl0623 <david89062388@gmail.com> Signed-off-by: Mark Graham <markgraham539@gmail.com>
Project-MONAI#7234) … MONAI with all dependencies on Windows Fixes Project-MONAI#6118 ### Description The Windows shell doesn't recognize single quotes to delimit a string at all, so on Windows you'll need to use double quotes. It's the same command no matter which type of quotes you use; after the shell does its processing, the argument is passed to pip with the quotation marks already removed. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: ytl0623 <david89062388@gmail.com> Signed-off-by: Juan Pablo de la Cruz Gutiérrez <juampatronics@gmail.com>
Project-MONAI#7234) … MONAI with all dependencies on Windows Fixes Project-MONAI#6118 ### Description The Windows shell doesn't recognize single quotes to delimit a string at all, so on Windows you'll need to use double quotes. It's the same command no matter which type of quotes you use; after the shell does its processing, the argument is passed to pip with the quotation marks already removed. ### Types of changes <!--- Put an `x` in all the boxes that apply, and remove the not applicable items --> - [x] Non-breaking change (fix or new feature that would not break existing functionality). - [ ] Breaking change (fix or new feature that would cause existing functionality to change). - [ ] New tests added to cover the changes. - [ ] Integration tests passed locally by running `./runtests.sh -f -u --net --coverage`. - [ ] Quick tests passed locally by running `./runtests.sh --quick --unittests --disttests`. - [ ] In-line docstrings updated. - [ ] Documentation updated, tested `make html` command in the `docs/` folder. Signed-off-by: ytl0623 <david89062388@gmail.com> Signed-off-by: Yu0610 <612410030@alum.ccu.edu.tw>
Describe the bug
The installation of Monai with all dependecies does not work following the documentation
https://docs.monai.io/en/stable/installation.html#from-github
To Reproduce
Get the following error:
ERROR: '.[all]' is not a valid editable requirement. It should either be a path to a local project or a VCS URL (beginning with bzr+http, bzr+https, bzr+ssh, bzr+sftp, bzr+ftp, bzr+lp, bzr+file, git+http, git+https, git+ssh, git+git, git+file, hg+file, hg+http, hg+https, hg+ssh, hg+static-http, svn+ssh, svn+http, svn+https, svn+svn, svn+file).
How it should be run on windows
pip install -e .[all]
However, on windows 10, I still get an error:
The text was updated successfully, but these errors were encountered: