Hi,
Spyder has a plugin to automatically read dicom files when pydicom is
installed:
https://github.com/spyder-ide/spyder/blob/3.x/spyder_io_dcm/dcm.py
So I think that's causing the error you reported.
Please remove the egg you installed and run these commands:
conda install numpy
conda install -c conda-forge --no-deps pydicom
That should solve your problem.
Cheers,
Carlos
El 17/10/17 a las 15:18, Soren Christensen escribió:
Hi,
I am using anaconda2 with spyder 3.2.3.
This works fine - until I install pydicom 0.9.9. I am installing
pydicom using python setup.py install (pip does not hold newest
version, so I am getting it from github and installing this way).
When I then start spyder I get the below error. I see a spyder gui
after that, but a warning about a javascript error and then a segfault.
If I delete the pydicom package
(anaconda2/lib/python2.7/site-packages/pydicom-1.0.0a1-py2.7.egg) then
spyder works again.
Why is spyder reading anything from the pydicom folder? It seems to
be a library conflict, but I don't understand how it takes place.
Thanks!
Soren
SC@SC-RW:~$ spyder
libpng error: bad parameters to zlib
couldn't create image from
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfQAAAD6CAYAAABXq7VOAAAABHNCSVQICAgIfAhkiAAAIABJREFU
eJxkvcuvbVuS3vWLGHOux97n3JvpzKqsqqx3mUwZC5CRLIzLJduIBi3ACGiBkGj6r6iWRQ+6SAhk
Okg0aSHRgQZlbCwwmLTLZQoQVZlZN1+V93X2XnOOEUEjIsacOzlX555z1l5rzfGIEfHFF48hf+u/
/ksO4MMwG2x7Z987+z7om9P3zrYNts3pj8HrozO2jj8Gshl0Y/SB7Q479G5YF/YdrCv77oxd6Ltg
Jrg57uCAG3QHM2WYYe4MU8xguNMH7EOwMXBzABxBFETityOIgCIgYAKiQL4OPv8NIBqvC46r5Kvg
Un8TxA1EqCfigojgYvEOr5+BuMff3RmAmyHx7eCOW4wr35R/5s9Pv/JlxGsUOReHGppLzVvrE/FG
URQQkVqh+V4QRGW+Nd5/DCnWMF5TvD6NIbg7NVoBzEFFUQXRhqpi5qjHM4YP3MDdwJyBxb4ZmJ9m
XALAMV87rYW8+b/g6jk2UIERG4giqICL41Jj1VyH+l
...
...
..
libpng error: bad parameters to zlib
libpng error: bad parameters to zlib
Segmentation fault (core dumped)
--
You received this message because you are subscribed to the Google
Groups "spyder" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
To post to this group, send email to [email protected]
<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.