Python Forum
" No module named 'msvcrt' " for mac - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: " No module named 'msvcrt' " for mac (/thread-446.html)

Pages: 1 2


RE: " No module named 'msvcrt' " for mac - harmanjotuppal - Oct-11-2016

(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.


RE: " No module named 'msvcrt' " for mac - metulburr - Oct-12-2016

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?


RE: " No module named 'msvcrt' " for mac - sparkz_alot - Oct-12-2016

If you are having trouble installing pip, you can try this command

python -m ensurepip --upgrade
The documentation is here ensurepip