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
#9
(Oct-11-2016, 11:28 PM)metulburr Wrote: Did you click my link at all?

Yeah so I tried it, I replaced
def cls():
    os.system(['clear','cls'][os.name == 'nt'])
import msvcrt as m
def pause():
    m.getch()
with what you gave me and I ended up the following:
[Image: tumblr_oewpbwGPoj1sam22xo1_1280.png]
I think in order what you gave me to work, I have to modify the entire script. 

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. A friend of mine was able to run it on his mac but due to him breaking it, he wanted me to run it on my computer instead but he can't quite get it to work or remember the steps he used to get it to run on his mac.
Reply


Messages In This Thread
RE: " No module named 'msvcrt' " for mac - by wavic - Oct-11-2016, 11:06 PM
RE: " No module named 'msvcrt' " for mac - by wavic - Oct-11-2016, 11:18 PM
RE: " No module named 'msvcrt' " for mac - by harmanjotuppal - Oct-11-2016, 11:34 PM
RE: " No module named 'msvcrt' " for mac - by wavic - Oct-11-2016, 11:37 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  no module named 'docx' when importing docx MaartenRo 1 1,000 Dec-31-2023, 11:21 AM
Last Post: deanhystad
  Problem with pymodbus - ModuleNotFoundError: No module named 'pymodbus.client.sync' stsxbel 2 24,149 Nov-02-2023, 08:20 AM
Last Post: South_east
  ModuleNotFoundError: No module named 'requests' Serg 18 2,781 Oct-29-2023, 11:33 PM
Last Post: Serg
  Resolving ImportError: No module named gdb (Python in C++) mandaxyz 3 1,541 Oct-04-2023, 02:43 PM
Last Post: mandaxyz
  ModuleNotFoundError: No module named 'PyPDF2' Benitta2525 1 1,634 Aug-07-2023, 05:32 AM
Last Post: DPaul
  ModuleNotFoundError: No module named 'eyed3' Wimpy_Wellington 2 1,413 Jul-10-2023, 03:37 AM
Last Post: Wimpy_Wellington
  How to fix this error: ModuleNotFoundError: No module named 'notears' yaoyao22 2 1,086 Jul-09-2023, 11:24 AM
Last Post: yaoyao22
  Help with pyinstaller "No module named" korenron 9 9,498 Jun-15-2023, 12:20 PM
Last Post: snippsat
  Problem with Pyinstaller. No module named '_tkinter' tonynapoli2309 0 1,062 May-15-2023, 02:38 PM
Last Post: tonynapoli2309
  ModuleNotFoundError: No module named 'omsdk.sdkproto' donvito7 4 1,921 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