Skip to content

python-docx package successfully installed, but I can't find it and can't access it via import docx #520

@rr20eid10

Description

@rr20eid10

I have installed latest version of pip and python-docx on my mac, however, docx module isn't listed in the lib --> site-packages folder. Would someone tell me why I can find the that module? When I try to import the docx module in a file, it's not there. I'm using Python 3.7, Pycharm 2018, mac 10.13.4

pip install python-docx --user
Collecting python-docx Requirement already satisfied: lxml>=2.3.2 in /Library/Python/2.7/site-packages (from python-docx) (4.2.3)
matplotlib 1.3.1 requires nose, which is not installed.
matplotlib 1.3.1 requires tornado, which is not installed.
Installing collected packages: python-docx
Successfully installed python-docx-0.8.6
$ pip --version
pip 10.0.1 from /Library/Python/2.7/site-packages/pip (python 2.7)

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions