This question already has answers here:
error: Unable to find vcvarsall.bat
(42 answers)
Closed 6 years ago.
pip install wordcloud
This gives me the error "Can't find vcvarsall.bat".
I also tried to install the whl version but everyone I tried gave me the error "not a supported whl on this platform".
Let me know if I need to explain something better.
You need to install:
https://www.microsoft.com/en-us/download/details.aspx?id=44266
Then pip should work fine!
Related
This question already has answers here:
Can't install time module
(12 answers)
Closed 3 months ago.
My python wont install Time Module it was asking me to update my pip to newest, and I did.
I receive this error:
ERROR: Could not find a version that satisfies the requirement time (from versions: none) ERROR: No matching distribution found for time
My python verstion is the latest. Python 3.11.0
Pip version : 22.3.1
It's all to date..
any ideias why?
Tried installing via CMD and pycharm packages additions.
Also updated python and pip. no sucess.
The time module is part of Python's standard library. It's installed along with the rest of Python, and you don't need to (nor can you!) install it with pip.
This question already has answers here:
Why does "pip install" inside Python raise a SyntaxError?
(7 answers)
Closed 5 years ago.
I am trying to install PIL. I have tried going through the settings and do it that way. When that didn't work, I tried to do it through the terminal. I got an error message:
C:\Users\Chris\Desktop\Paul's stuff\Paul\CpmpProject\venv\Scripts\python.exe" "C:/Users/Chris/Desktop/Paul's stuff/Paul/CpmpProject/Game.py"
File "C:/Users/Chris/Desktop/Paul's stuff/Paul/CpmpProject/Game.py", line 3
pip install PIL
^
SyntaxError: invalid syntax`
I have no idea how to install PIL now and am hoping someone can help me. I am working with python 3 and have updated pip and set up tools.
You'll have to enter pip install on your command line, it's not valid Python code.
Also, as others have mentioned, install pillow instead of PIL, the interface is identical.
This question already has answers here:
What does "SyntaxError: Missing parentheses in call to 'print'" mean in Python?
(11 answers)
Closed 6 years ago.
(1) I need to install pyzipcode. But whenever I execute command
conda install pyzipcode it gives
Syntax Error: Missing parenthesis in call to 'print'.
I am using Python3. I downloaded file from http://pypi.python.org/pypi/pyzipcod, but that didn't work either.
(2) I tried using pip command as well from https://anaconda.org/search?q=pyzipcode
Firstly it asked *is sphinx installed? If not try, sudo easy_install sphinx. Then it gave Syntax error: Missing parenthesis in call to 'print'. Whereas I have already installed sphinx.
(3)Then I tried to install with conda install -c aaron2 pyzipcode=0.4
Again failed and gave the error: package missing in current win-64 channels: pyzipcode 0.4"
Would somebody please help me out with pyzipcode installation?
The error Missing parenthesis in call to 'print'. indicates you are using a python 2.x installation in python 3. Try uninstalling the current Sphinx and re-installing from
http://www.sphinx-doc.org/en/stable/install.html
If using pip, use pip3, which is for python 3.x
This question already has answers here:
ubuntu 14.04, pip cannot upgrade matplotllib
(9 answers)
Closed 8 years ago.
I am trying to install Matplotlib in a Python cartridge in Openshift with pip. it fails due to a dependency on freetypelib.
Is there a way to make Matplotlib work in that environment?
Check if libfreetype is installed (try "locate libfreetype"), if you find some output then you may have look at this post https://www.openshift.com/forums/express/is-libjpeg-available#comment-35344
If not install libfreetype. Let me know if you have any problems installing libfreetype
This question already has answers here:
Why does "pip install" inside Python raise a SyntaxError?
(7 answers)
Closed 6 years ago.
I followed these instructions for installing pip on Windows 7. When I try to install the example package with pip install httpie (or any other package), it gives me the following error:
SyntaxError: invalid syntax
It also highlights the word install. And that's it. I am using Python 3.3.1 and used the corresponding installers in the instructions at the link above. Finally, I apologize if you consider this a duplicate, but Stack Overflow will not allow me to post on the answer in the original thread and I am getting an error message that they do not discuss.
You should type that in the command prompt, not in Python.
You're typing those commands in Python. They are not Python commands, they are shell commands. Type them in your shell!