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

ModuleNotFoundError: No module named 'fcntl' #19

Open
kharanshu2 opened this issue Mar 25, 2023 · 3 comments
Open

ModuleNotFoundError: No module named 'fcntl' #19

kharanshu2 opened this issue Mar 25, 2023 · 3 comments

Comments

@kharanshu2
Copy link

from my research this tool works only on unix based operating systems, so no luck on windows, here is my code for reference:
import pypx

pacs_settings = {
'aet': 'ABC',
'server_ip': '127.0.0.2',
'server_port': '11112',
}

query parameters

query_settings = {
'StudyInstaneUID': "1223"
}

output = pypx.find({**pacs_settings, **query_settings})
print(output)

obvsly i have replaced the original credentials with dummy ones

@rudolphpienaar
Copy link
Member

I'm not sure what issue you are reporting?

@kharanshu2
Copy link
Author

@rudolphpienaar ModuleNotFoundError: No module named 'fcntl'
this is the error when executing the code provided and when u try to install the module it doesn't install, from what i found online that "fcntl" library doesn't work on windows and only on unix based operating systems

@rudolphpienaar
Copy link
Member

Oh, yes. That module is used in the smdb.py (SiMple DataBase) module. It is on the roadmap to overhaul that entire infrastructure, but not anytime too soon, I'm afraid. I don' t use Windows, I'm afraid.

However, you can use pypx and all its features from its dockerized builds on Windows. HTH

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