aitjcize / cppman

C++ 98/11/14 manual pages for Linux/MacOS
GNU General Public License v3.0
1.27k stars 79 forks source link

can't open it #80

Closed ghost closed 6 years ago

ghost commented 6 years ago
Traceback (most recent call last):
  File "/usr/local/bin/cppman", line 40, in <module>
    from cppman.main import Cppman
  File "/usr/local/lib/python2.7/dist-packages/cppman/main.py", line 33, in <module>
    import urllib.request
ImportError: No module named request

can you tell me how to solve this problem? I try:

sudo pip install urllib
pip install urllib
sudo pip install request
pip install request

and when I try type"import urllib“and"inport request"in the python command Interpreter,the result is true.

createwindow commented 6 years ago

I met the same problem like u, have u solved it? @BearJean @aitjcize

ghost commented 6 years ago

I try pip3,still can't let it done

deibit commented 6 years ago
pip uninstall mancpp
pip3 install mancpp

It worked for me on MacOS

aitjcize commented 6 years ago

Correct, cppman is written in python3, you seemed to be using python2.