Python Forum
" No module named 'msvcrt' " for mac
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
" No module named 'msvcrt' " for mac
#11
(Oct-11-2016, 11:37 PM)wavic Wrote: First of, check the python version. Python3.4+ and Python2.7.9+ come with pip in it.

python3 -V or python -V

As I can see the uploaded date is 21 may 2016. Can't tell if it outdated

it's 3.5.1, my friend who ran the script says that this is the version he used when it was working on his computer.
Reply
#12
Your still posting your tracebacks as pictures :rollingeyes: This too can be in code tags/output/error tags. Or even plain text...anything but an image.



Quote:I think in order what you gave me to work, I have to modify the entire script.
Im not even sure what your even doing due to the fact your trying to import a windows module on mac?


Quote:my friend who ran the script says that this is the version he used when it was working on his computer.
So is your answer the output of 
python -V
or what your friend said you have?

Quote:The purpose of the script itself is to check whether certain URLS on social medial pages (ie twitter handles, instagram usernames) are available or have been deleted.
you dont need the msvcrt module to do this. What is the rest of the code...as it looks like you have not much of it there?
Recommended Tutorials:
Reply
#13
If you are having trouble installing pip, you can try this command

python -m ensurepip --upgrade
The documentation is here ensurepip
If it ain't broke, I just haven't gotten to it yet.
OS: Windows 10, openSuse 42.3, freeBSD 11, Raspian "Stretch"
Python 3.6.5, IDE: PyCharm 2018 Community Edition
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  no module named 'docx' when importing docx MaartenRo 1 847 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 23,615 Nov-02-2023, 08:20 AM
Last Post: South_east
  ModuleNotFoundError: No module named 'requests' Serg 18 2,509 Oct-29-2023, 11:33 PM
Last Post: Serg
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 1,417 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 1,483 Aug-07-2023, 05:32 AM
Last Post: DPaul
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 1,311 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington
  How to fix this error: ModuleNotFoundError: No module named 'notears' yaoyao22 2 1,020 Jul-09-2023, 11:24 AM
Last Post: yaoyao22
  Help with pyinstaller "No module named" korenron 9 8,886 Jun-15-2023, 12:20 PM
Last Post: snippsat
  Problem with Pyinstaller. No module named '_tkinter' tonynapoli2309 0 994 May-15-2023, 02:38 PM
Last Post: tonynapoli2309
  ModuleNotFoundError: No module named 'omsdk.sdkproto' donvito7 4 1,820 Oct-20-2022, 02:56 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020