-
Notifications
You must be signed in to change notification settings - Fork 66
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
Topo Error #18
Comments
GitMate.io thinks possibly related issues are #12 (Brain import error), #13 (Import error: cannot import _cntr), and #17 (Hello I cant open visbrain everytime i get same error ). |
Hi @STREETKILLER007 , the command |
the command pip install matplotlib==2.1.0 doesn't work. |
May be this can help you, but I can't really help as I'v never experienced issues with matplotlib installation... |
i see, i try to read through and try it out. |
Can you try to create a python 3.6 environnement? |
since i am using python 3.7 and my pc can't support visual machine, so i am trying to uninstall python 3.7 and install python 3.6. |
i tried to download python 3.5.2 and deleted python 3.6. and tried the error message still the same |
I'm not sure to understand why you can't have multiple environnement without removing / installing different python versions. You can install a package manager like anaconda and have multiple environnements. Matplotlib installation run smoothly? I guess PyQt5 is not properly installed. It could also be an issue with ipython. Try to download this python source code and then from your terminal run |
i tried to download the python source code that you provided, then from my terminal, i run it pops up an error message, which is I tried to install anaconda. |
i was using python 3.5.2. |
tried to run this program using python 3.6 environment created by anaconda. still show by the way, PyQt5 was already at latest version. |
I tried to post this situation in stack over flow. You can refer to this |
On stack overflow you said you tried to install PyQt using |
i believe pyqt5 and PyQt5 are the same. |
well, yes... But I remember that using conda I had to |
i will try and see. |
Ok you don't use conda? |
i am using conda to set up a python 3.6.0 environment. i am trying to work out on my real environment. |
Ok. I also remember that the PyQt5 import fail if it was using the conda one. May be you could remove PyQt5 and try to install it again using |
i will try to remove PyQt5 from my real environment using |
ok, i tried to remove remove PyQt5 from my real environment using but it still pops out the same error. |
May be this can be interesting if you don't already saw it ! |
but the link that you shared is mostly on visual environment. |
Yes, but some people experienced issues with miktex |
i uninstalled matplotlib by but it still pop out the same error. by the way, i did not install miktex on my machine. |
in my Anaconda3 environment, i am using python 3.6. pip list of the environment.
tried to run
the compatible error occured, forced to me to use matplotlib 2.1.0
|
Install the latest vispy version : |
If I remember correctly, vispy was using
|
When i typed
I try to install vispy latest version, hope it helps. |
|
tried pip list again. it is still the same.
Vispy is in latest version. They are trying to solve VisPy is not yet compatible with matplotlib 2.2+ as you said. PyQt5 is in latest version. I upgraded PyQt5 just now because i downgraded PyQt5 to 5.10.1. Tried
|
Ok, for now, forget about the latest vispy version and compatibility with matplotlib. Vispy example is still working? |
tried this example https://github.com/vispy/vispy/blob/master/examples/basics/gloo/display_lines.py It pops out this error.
|
What do you mean "I tried this example [...] under visbrain"? I thought vipy was working? You still have the same backend issue. If you're still stuck with visbrain, I know that mne-python can also plot topo plot. See this for example |
"I tried this example [...] under visbrain" mean that i tried https://github.com/vispy/vispy/blob/master/examples/basics/gloo/display_lines.py after i installed Visbrain.
https://github.com/vispy/vispy/blob/master/examples/basics/gloo/display_lines.py example result.
|
Update i created another environment, which is also Python 3.6. after i typed what i did was below :
It Seem that Vispy is working fine. === After that, i tried to run following :
the code is
if ignore the vispy error, it seems fine.
the code is
stack trace is below
|
Hi @STREETKILLER007 , Here's some ideas :
from visbrain.objects import BrainObj
BrainObj('B1').preview()
I'm not sure to understand what the I can show you the steps used to configure from scratch the environnement using conda :
from visbrain import Brain
Brain().show() |
according to @ djhoese, I did not look at MNE-Python, because i would like to try out Visbrain. i will try after install PyOpenGL in my environment, below is my
when i tried this commend
it pops out this error stack trace is as below :
i think i will try to do everything from scratch, hope good luck. |
followed your step which is
so this is my current
tried following code
but pops out this error stack trace :
tried below is my
tried
error : stack trace error :
|
Ok, if the GUI is displayed this mean that both vispy and PyQt5 are properly installed. May be dhoese (vispy) was right, you might have a driver issue... Can you try to install PyOpenGL as mentioned earlier? |
after
tried
error occured stack trace :
|
Ok... Well, hence it might be a driver issue... |
I tried to update all my driver. |
BTW, for topoplots the ScoT toolbox is also able to do it. Just in case |
Will look at ScoT toolbox, thank you. |
Tried in a PC in cyber cafe. below is my
this is what i see. and i see a brain stack trace :
|
Nice, it works :) Can I close the issue? |
Leave it open first since i will be trying to work on my pc... |
@EtienneCmb To run Visbrain, except graphic card and processor, would like to know that what else should i consider on running Visbrain in a computer ? Let said i am using Windows. |
Well, RAM is also useful :) But yeah, not so much because I've a very old computer and it works just fine. I've also installed Visbrain at least on 10 systems including OSx, Windows and several Linux versions and never had a big issue (except yours...). On the visbrain's chat, there's also many users that finally got it works |
Below is my spec :
|
hello, developers, i am new in python.
i am trying to run this code in python.
but the error that i got is
after i read through the comment, i tried to install visbrain in developer mode and tried to run
pip install matplotlib == 2.1.0
but it pops out this error
i tried to update my setuptools using
pip install --upgrade setuptools
but it did not solve my problem.
is there any suggestion to solve this error ?
thank you.
The text was updated successfully, but these errors were encountered: