Spyder start: the "pydicom" distribution was not found and is required by spyder

3,462 views
Skip to first unread message

matthew...@daf.qld.gov.au

unread,
Aug 24, 2015, 8:25:00 PM8/24/15
to spyder
Hi All Spyder Gurus,

I wiped my Win7 machine a little while ago and had to re-install pythonxy.

Spyder will no longer start. trying to run it from Python27\Scripts\spyder
yields the following:

c:\>\Python27\Scripts\spyder
Traceback (most recent call last):
  File "c:\Python27\Scripts\spyder-script.py", line 5, in <module>
    from pkg_resources import load_entry_point
  File "c:\Python27\lib\site-packages\pkg_resources\__init__.py", line 3084, in
<module>
    @_call_aside
  File "c:\Python27\lib\site-packages\pkg_resources\__init__.py", line 3070, in
_call_aside
    f(*args, **kwargs)
  File "c:\Python27\lib\site-packages\pkg_resources\__init__.py", line 3097, in
_initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "c:\Python27\lib\site-packages\pkg_resources\__init__.py", line 651, in _
build_master
    ws.require(__requires__)
  File "c:\Python27\lib\site-packages\pkg_resources\__init__.py", line 952, in r
equire
    needed = self.resolve(parse_requirements(requirements))
  File "c:\Python27\lib\site-packages\pkg_resources\__init__.py", line 839, in r
esolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'pydicom' distribution was not found and
 is required by spyder

Any ideas how to fix this behaviour and get spyder running?

Thanks


Matt

Beth Cimini

unread,
Sep 3, 2015, 11:07:47 PM9/3/15
to spyder
Just want to +1 this, I'm having the same problem on Windows 8.1.  Very frustrating!

Beth Cimini

unread,
Sep 3, 2015, 11:08:58 PM9/3/15
to spyder
I actually managed to fix this, by using easy_install to reinstall pydicom; it then wanted me to install sympy; after that, it seems to be working!


On Monday, August 24, 2015 at 5:25:00 PM UTC-7, matthew...@daf.qld.gov.au wrote:

Daniel Rodriguez Duque

unread,
Sep 17, 2015, 12:45:03 AM9/17/15
to spyder
Hi Beth, I'm having the exact same problem, but I don't understand wha tyou mean by using easy_install to install pydicom?? ANY help would be great!!

Beth Cimini

unread,
Sep 17, 2015, 8:44:42 AM9/17/15
to spyd...@googlegroups.com

Download and install this, then (on Windows at least) all you need to do is open the command prompt and type (without quotes) "easy_install pydicom" or "easy_install sympy" and it'll download and install just about any python package. Pip is another python installer that may work for your purposes.

https://pypi.python.org/pypi/setuptools

Good luck!


--
You received this message because you are subscribed to a topic in the Google Groups "spyder" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/spyderlib/SG5SqVm5gj0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to spyderlib+...@googlegroups.com.
To post to this group, send email to spyd...@googlegroups.com.
Visit this group at http://groups.google.com/group/spyderlib.
For more options, visit https://groups.google.com/d/optout.

Divya Sivasankaran

unread,
Oct 23, 2015, 8:47:09 AM10/23/15
to spyder
I had the same issue on Windows 8.1, and this solution worked without a glitch :D 

Thank you Beth!

Robyn

unread,
Jun 5, 2018, 9:26:46 AM6/5/18
to spyder
BRILLIANT! Thank you Beth! Worked perfectly (after running "easy_install sympy" not just pydicom)
Reply all
Reply to author
Forward
0 new messages