I installed pydicom through pip but it somehow cannot be found when I try to import the library. Could someone give a suggestion to fix this?
Question: [Please see the screenshot here.](http://i.stack.imgur.com/90HbA.png)

Isn't the package pydicom already installed?

Credit to Igor: It looks like that it's working in Sublime Text 2's build
using "import dicom". However it is still somehow not working in my Eclipse
with PyDev environment.

* * *

***I have solved the problem in Eclipse after adding a path in the Python
Interpreter configuration by hand (Somehow Auto-Config didn't add this path.).

[Please see the screenshot here.](http://i.stack.imgur.com/sRozv.png)


Answer: try:

    
    
    python -m pip freeze
    

Is the package there? If not, you have installed it for the wrong python
environment. I suggest you install it as follows:

In Bash prompt (terminal):

    
    
    python -m pip install pydicom
    

You can change `python` with `python3` or the absolute address of the
executable. If you don't know the absolute address of the executable, you can
obtain it as follows:

In Bash prompt (terminal):

    
    
    which python 
    

(or `python3`). The output would be the absolute path, which you may utilise
like so:

    
    
    /Users/xyz/bin/python -m pip install pydicom
    

Finally, if you want to find out the path to your executable from within
Python, you may do so like this:

    
    
    from sys import executable
    print(executable)
    

The output will be the absolute path to the current environment's interpreter.

