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*


On Wed, Apr 17, 2019 at 2:24 PM Alex Blaya <[email protected]> wrote:

> 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, [email protected] 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 <[email protected]> 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 [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/pyqtgraph/8da5492a-c82a-4b0f-bc6a-7e49ed337c82%40googlegroups.com
>>> <https://groups.google.com/d/msgid/pyqtgraph/8da5492a-c82a-4b0f-bc6a-7e49ed337c82%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/pyqtgraph/821a60c0-96a4-41d3-a98d-d5fab86525dd%40googlegroups.com
> <https://groups.google.com/d/msgid/pyqtgraph/821a60c0-96a4-41d3-a98d-d5fab86525dd%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pyqtgraph/CAD_qyJo3C%2BNMdUX8q3z%2BcnMKmEYVDVqadm09Er%3D4M1R0e_6nvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to