pyqtgraph Installation

62 views
Skip to first unread message

Alex Blaya

unread,
Apr 17, 2019, 3:32:17 PM4/17/19
to pyqtgraph
My problem is very simple, but I have no idea why it happens or how to fix it. When I open python 2.7 in my anaconda window, everything looks ok. Then I type the line 'import pyqtgraph', and the python window just automatically closes itself. The text below is an example.

(base) C:\Users\ablaya>python
Python 2.7.16 |Anaconda custom (64-bit)| (default, Mar 14 2019, 15:42:17) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyqtgraph

(base) C:\Users\ablaya>

Other than this import statement, the python window functions entirely as expected. Please help!

vas...@gmail.com

unread,
Apr 17, 2019, 5:19:37 PM4/17/19
to pyqt...@googlegroups.com
You probably could see the type of an error and arguments with:

try:
    import pyqtgraph
except Exception as ex:
    print type(ex), ex.args




--
You received this message because you are subscribed to the Google Groups "pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyqtgraph+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/8da5492a-c82a-4b0f-bc6a-7e49ed337c82%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Blaya

unread,
Apr 17, 2019, 5:24:28 PM4/17/19
to pyqtgraph
Even when I do that the script just closes with no errors printed to the screen.


On Wednesday, April 17, 2019 at 2:19:37 PM UTC-7, vas...@gmail.com wrote:
You probably could see the type of an error and arguments with:

try:
    import pyqtgraph
except Exception as ex:
    print type(ex), ex.args




On Wed, Apr 17, 2019 at 12:32 PM Alex Blaya <alex...@gmail.com> wrote:
My problem is very simple, but I have no idea why it happens or how to fix it. When I open python 2.7 in my anaconda window, everything looks ok. Then I type the line 'import pyqtgraph', and the python window just automatically closes itself. The text below is an example.

(base) C:\Users\ablaya>python
Python 2.7.16 |Anaconda custom (64-bit)| (default, Mar 14 2019, 15:42:17) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import pyqtgraph

(base) C:\Users\ablaya>

Other than this import statement, the python window functions entirely as expected. Please help!

--
You received this message because you are subscribed to the Google Groups "pyqtgraph" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pyqt...@googlegroups.com.

vas...@gmail.com

unread,
Apr 17, 2019, 5:32:35 PM4/17/19
to pyqt...@googlegroups.com
Maybe for some reason pyqtgraph isn't installed properly.
Try to do next (I guess that pip is installed) from command prompt:

pip uninstall pyqtgraph
pip install pyqtgraph


To unsubscribe from this group and stop receiving emails from it, send an email to pyqtgraph+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/821a60c0-96a4-41d3-a98d-d5fab86525dd%40googlegroups.com.

Alex Blaya

unread,
Apr 17, 2019, 5:50:11 PM4/17/19
to pyqtgraph
Nope, still doesnt work. Thanks for the help btw, this is strange.
Reply all
Reply to author
Forward
0 new messages