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

python plugin is not ready (windows) #23

Open
ghost opened this issue Aug 5, 2019 · 2 comments
Open

python plugin is not ready (windows) #23

ghost opened this issue Aug 5, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Aug 5, 2019

first of all, thank you for the plugin!

i've successfully compiled and built the python plugin (i need to install VS2015 build tools because of the dependency)
i also used python 3.6 and cython 0.28.2 to compile the module
there's some warning (about conversion and possible loss of data), but the code's generated

however, after i load the .pyd file in the python filter gui, there's nothing!
it's just a blank module (i used the spwfinder as an example and expected to see interfaces based on the .pyx file)

@maartensc
Copy link

I experience the exact same problem (also on Windows). Have you already been able to solve it?

@markschatza
Copy link
Contributor

I've had this same problem and have been able to solve it! What are you using for your Python environment? If you are following the readme and creating an Anaconda env this is what I needed to do to make it work:

  1. From Anaconda Navigator go to the environments tab and open a terminal in the your oeEnv using the play button.
  2. Then "cd" to your build files and run open-ephys.exe.

I got annoyed needing to do this every time and created this .bat file which does the same thing.

call C:\Users\<user>\Anaconda3\Scripts\activate.bat oeEnv
cd <path to open-ephys.exe>
call conda run open-ephys.exe

I believe the key is using the conda run command. Otherwise windows will open it with your default env. The anaconda terminal seems to do the conda run command for you.

Hope this helps!

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