-
Notifications
You must be signed in to change notification settings - Fork 35
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
No module named 'pytest' while executing bidsmapper #193
Comments
Maybe pipx causes troubles. |
Thanks for reporting this, I will look into it when I am back from my
holidays (the 10th of August)...
…_____________________
Sent from my phone
Op do 27 jul. 2023 19:17 schreef Mateusz Pawlik ***@***.***>:
Maybe pipx causes troubles.
—
Reply to this email directly, view it on GitHub
<#193 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADTUGL5JOHQMSZ7CQ4TPA3TXSKPCFANCNFSM6AAAAAA22K7VUM>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
I used pipx to install BIDScoin in a Docker container. This is a recommended way to install Python applications by, for example, Debian 12. pipx creates a virtual environment in which it installs the application and all its Python dependencies. My guess is, pipx didn't know about the pytest dependency. pipx kindly allows to install manually ( |
Mhhh, pytest is no longer used in bidscoin, but only when running bidscoin tests: https://github.com/search?q=repo%3ADonders-Institute%2Fbidscoin%20%22import%20pytest%22&type=code But this line in the dcm2niix2bids plugin has a pytest dependency, for which I now added a work-around (e558982). Does this solve your error? |
It seems to be fine now. I installed BIDScoin with |
Btw. pipx allows for a very quick installation and testing :-) |
Describe the bug
When executing bidsmapper I get
No module named 'pytest'
error. I seepytest
in the optional dependencies.To reproduce
Steps to reproduce the behavior:
bidsmapper.log
:Expected behavior
I guess
pytest
should be installed as a dependency and the error shouldn't then happen.Software version
2899e04
pipx install git+https://github.com/Donders-Institute/bidscoin.git@2899e04
The text was updated successfully, but these errors were encountered: