-
Notifications
You must be signed in to change notification settings - Fork 39
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
Problems importing _pycat? #2
Comments
Graham Voysey notifications@github.com writes:
Great! I'm really happy that you are trying it out. Greetings from TUM ;)
Thank you for time and the feedback. It's very useful, because there's
I guess that the issue is with 32-bit Python. I compiled and uploaded Quick way to test the package is to run examples/run_zilany2014.py . Please, tell me, if it worked. Thank you! Marek |
Hi Graham, did you manage to run cochlea with 64-bit version of Python? Thanks for your feedback! |
Hi Marek, Using the 64-bit anaconda on windows 7, I'm still getting import errors on
|
_pycat is a binary sub-module implemented in C/Cython, part of cochlea. Try to (re)install it with only 64-bit version of Python (Anaconda): pip install cochlea or perhaps: pip install --ignore-installed cochlea The point is that pip should pull the wheel pre-compiled binary package |
Alright, i'll have another go. Part of what's getting me into trouble here is that i have been attempting to replicate your devel environment, and run cochlea from its source tree under an IDE, rather than actually installing it. This absolutely works in my normal world (c#), but may not be the pythonic way of doing things. |
Okay. I've now set up my usual "installed package" configuration for python on win7/64, which is using WinPython and virtualenv. I copied over the N.B. for other windows users following virtualenv best practices: pypa/virtualenv#93 applies here. I found that adding
to |
Graham Voysey notifications@github.com writes:
Great, I saw, that you managed to install cochlea from the I wrote a few instructions how to reproduce the development environment https://pythonhosted.org/cochlea/installation.html#installation-from-source-code-on-windows Hope that's helpful and thank you for your feedback so far. |
I know I risk waking a zombie here, however I ran into the same issue trying to run |
I know I risk waking a zombie here, however I ran into the same issue trying to run `cochlea` on macOS. I first built from source and received the above error that the `_pycat` could not be found.
Installing from pip didn't resolve the issue.
Digging a bit deeper I found that `_pycat.so` is present in `build/lib.macosx-10.6-x86_64-2.7/`, but somehow the build process doesn't seem to copy it over to the target directory.
It's a bit hard to guess what might be the issue here. You could:
1. Try to find a hint in the log/output generated by pip.
2. Install *cochlea* using “python setup.py develop --user”
https://github.com/mrkrd/cochlea/blob/master/INSTALL.rst#installation-from-source-code
|
There are no hints in the output of |
First, thanks for this! I saw the announcement come across the auditory list, and have gotten the time to check it out. (Greetings from BU!)
I'm running into what is probably a configuration issue, so my apologies for what may be a stupid question.
I've set up anaconda 32-bit on a windows 7 x64 box, running python 2.7.x. I'm running cochlea under the debugger, using PyCharm as my IDE. I've cloned both
cochlea
andthorns
, and they reside inC:/Projects/cochlea
Running
examples\run_zilany2014.py
results in the following:I'm not sure why this may be. Any thoughts?
The text was updated successfully, but these errors were encountered: