PyPDF2 won't import

后端 未结 3 1549
孤独总比滥情好
孤独总比滥情好 2021-01-18 09:04

Hi I\'m just getting started with python and trying to get some requisite libraries installed. Using Python 3.4.1 on OS X. I have installed PyPDF2 (with supposed success), y

3条回答
  •  有刺的猬
    2021-01-18 09:37

    In my case: pip3 install PyPDF2 with python in /usr/local/bin

    [tim@axelrod utils] (hotfix/2.3.2)$ ls -l /usr/local/bin/python*
    lrwxr-xr-x  1 root  admin    22 10 May  2017 /usr/local/bin/python -> /usr/local/bin/python3
    lrwxr-xr-x  1 tim   admin    35  3 May  2017 /usr/local/bin/python3 -> ../Cellar/python3/3.6.1/bin/python3
    lrwxr-xr-x  1 tim   admin    42  3 May  2017 /usr/local/bin/python3-config -> ../Cellar/python3/3.6.1/bin/python3-config
    lrwxr-xr-x  1 tim   admin    37  3 May  2017 /usr/local/bin/python3.6 -> ../Cellar/python3/3.6.1/bin/python3.6
    lrwxr-xr-x  1 tim   admin    44  3 May  2017 /usr/local/bin/python3.6-config -> ../Cellar/python3/3.6.1/bin/python3.6-config
    lrwxr-xr-x  1 tim   admin    38  3 May  2017 /usr/local/bin/python3.6m -> ../Cellar/python3/3.6.1/bin/python3.6m
    lrwxr-xr-x  1 tim   admin    45  3 May  2017 /usr/local/bin/python3.6m-config -> ../Cellar/python3/3.6.1/bin/python3.6m-config
    -rwxr-xr-x  1 tim   wheel  4119  7 Jan  2012 /usr/local/bin/python_count
    

提交回复
热议问题