-
Notifications
You must be signed in to change notification settings - Fork 32
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
yahmm not importing correctly on python 3.4 #41
Comments
That's odd. Can you provide the logs of what happens when you try to use it with python 3.4? |
I am having the same issue: Aras-MacBook-Air:yahmm-master arakooser$ python3
|
Here is the log from the sudo pip3 install yahmm Aras-MacBook-Air:yahmm-master arakooser$ sudo pip3 install yahmm Requirement already satisfied (use --upgrade to upgrade): cython>=0.20.1 in /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages (from yahmm)
Successfully installed yahmm |
I am getting the same behavior and errors I am running OS X 10.9 with the latest X-code and command line tools. |
Alright, I need to look into this. Thanks for providing the logs. Can you see if it works on Python 3.2? |
Let me see if I can get Python 3.2 going tonight! And I'll give it a try. |
Does this have something to do with how Cython, yahmm, and clang interact? I just realized gcc is gone from the latest X-Codes. |
My initial hypotheses are either (1) that, or (2) I did not upload YAHMM to PyPI in a manner that pip3 can download. Let me know what the results are, because Travis says it works on 3.2, which will narrow down the problem. |
Weirdly it's working under 2.7 just fine now. I am having some trouble getting pip 3.2 to install and point to the python 3.2 directories. It keeps installing in the 3.4. I'll let you know if I get it working. |
I get basically the same log as above when pip3 installing yahmm. FWIW I had gcc installed via brew (4.9.2) |
As an additional test, can you try manually installing yahmm by cloning the repo or downloading the zip, and putting the files in whatever your Python path is? That will let me know if there's an issue with getting the files to you or the files themselves. |
I failed to get pip-3.2 working correctly so I can't test that out. Sorry. I'll try and move the yahmm files into my python path once I figure out where everything is installing to. |
Fix issue #41: yahmm not importing correctly on python 3.4
Did this change have an effect on your ability to install? |
I tried and didn't see a change but I may have the wrong python path. I still need to check on that. |
I got extremely busy and have not had time to focus on this issue. Can anyone comment on if this is still a problem? |
I can successfully install yahmm using pip3, but none of the modules are loaded on import. The install works for python2.
osx 10.10.1
Cython (0.21.1)
numpy (1.9.1)
scipy (0.14.0)
networkx (1.9.1)
matplotlib (1.4.0)
yahmm (1.1.1)
The text was updated successfully, but these errors were encountered: