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

Installation Error Ubuntu/Windows #52

Open
KMoulin opened this issue May 8, 2022 · 7 comments
Open

Installation Error Ubuntu/Windows #52

KMoulin opened this issue May 8, 2022 · 7 comments

Comments

@KMoulin
Copy link

KMoulin commented May 8, 2022

Hi there,

I'm running into an issue trying to install ismrmrd-python into my anaconda. I've tried both on Windows and Ubuntu and got the same error twice. Apparently the package ismrmrdschema is missing from the repository (see bellow).

Sorry if it is an obvious fix, I'm pretty new with Python.

Thank you,

Kevin.

 >>python setup.py install
running install
running bdist_egg
running egg_info
writing ismrmrd.egg-info\PKG-INFO
writing dependency_links to ismrmrd.egg-info\dependency_links.txt
writing requirements to ismrmrd.egg-info\requires.txt
writing top-level names to ismrmrd.egg-info\top_level.txt
reading manifest file 'ismrmrd.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
adding license file 'LICENSE'
writing manifest file 'ismrmrd.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
Install cli requirements "pip install xsdata[cli]"
error: [Errno 2] No such file or directory: 'ismrmrdschema/__init__.py'
@hansenms
Copy link
Member

hansenms commented May 9, 2022

Try to install xsdata before actually running python setup.py install. Also it might be easier to just do pip install ismrmrd and pull the pre-packaged version.

@Le2Hu
Copy link

Le2Hu commented Jun 27, 2022

I also got the same error as below:

running bdist_egg  
running egg_info  
writing ismrmrd.egg-info/PKG-INFO  
writing dependency_links to ismrmrd.egg-info/dependency_links.txt  
writing requirements to ismrmrd.egg-info/requires.txt  
writing top-level names to ismrmrd.egg-info/top_level.txt  
reading manifest file 'ismrmrd.egg-info/SOURCES.txt'  
reading manifest template 'MANIFEST.in'  
adding license file 'LICENSE'  
writing manifest file 'ismrmrd.egg-info/SOURCES.txt'  
installing library code to build/bdist.linux-x86_64/egg  
running install_lib  
running build_py  
Install cli requirements "pip install xsdata[cli]"  
error: [Errno 2] No such file or directory: 'ismrmrdschema/__init__.py'    

and when I run demo.py provided in the examples folder after pip install ismrmrd, i just got

Traceback (most recent call last):  
  File "demo.py", line 1, in <module>  
    import ismrmrd  
ModuleNotFoundError: No module named 'ismrmrd'  

@hansenms
Copy link
Member

@Le2Hu have you tried installing xsdata first as suggested above. pip install xsdata>=22.2

@Le2Hu
Copy link

Le2Hu commented Jun 29, 2022

Yes, I have tried and installed xsdata successfully.

@dchansen
Copy link
Contributor

Try installing it with
pip install .

@MNagtegaal
Copy link

On Windows I installed the package in a clean Python 3.10 environment after first install xsdata and then using pip install.. Did not work either, as other reported before me. Installing via linux subsystem for windows worked, after which I copied the ismrmrd directory to windows and used it...
Can it be that the pip install is just incompatible with Windows?

@aop
Copy link

aop commented May 21, 2024

On Mac I also had the same error (error: [Errno 2] No such file or directory: 'ismrmrdschema/init.py')

But installing with pip install . succeeded.

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

6 participants