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

Wheel file not possible to instal in 2.7 #122

Closed
Awesterberg opened this issue Dec 19, 2017 · 5 comments
Closed

Wheel file not possible to instal in 2.7 #122

Awesterberg opened this issue Dec 19, 2017 · 5 comments

Comments

@Awesterberg
Copy link

mdfread is said to be compatible with both python 2.7 and 3.4+ however the wheel file seems only to work in 3.4x

@ratal
Copy link
Owner

ratal commented Dec 19, 2017

It is compatible with python 2.7 but you might need a wheel only if you want to use the cython module for speed up. You should be able to run mdfreader without it.
The cython module can be compiled as long as you have compiler installed on your machine (advised solution). What is your OS, windows, mac, (no need for linux), 32/64 bit ?
Honestly, there are too many combinations along with python version, sorry I cannot compile a wheel for all of them, I only release one for what I consider main stream, windows 64bit 3.4-6 python.

@Awesterberg
Copy link
Author

Yes, I have no problem running mdfreader in python 2.7, Windows 10, 64 bit, but I got some difficulties when trying to update to the newest version. I am very new to python so I just thought the wheel installation seems easy and I somewhere read this info: "If your project is python 2 and 3 compatible you can create a universal wheel distribution" .................. but as I said I am new in this game. In any case mdfreader seems like a great sw!

@cristi-neagu
Copy link
Contributor

If you're very new to Python, I have to ask: is there any reason why you're using Python 2 instead of 3?

@ratal
Copy link
Owner

ratal commented Dec 20, 2017

Universal wheel can be applied if cython part is not considered/installed
Cython is a hybrid of python and C language. During install, C code is generated and compiled --> need for wheels.
What is your issue to update to newest version (from which on to which one) ?

@Awesterberg
Copy link
Author

Problem is solved. Had to do with my numpy installation after uninstalled and installed it again I could update to the newest version of mdfreader. And after learning that pip works as well with "pip install mdfreader-2.7.3.tar.gz" as with wheel, there is no real need for the wheel.

Python 2.7 instead of 3.x well actually no idea just following my colleagues.

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

3 participants