-
-
Notifications
You must be signed in to change notification settings - Fork 369
Cannot install cherypy on Python 3.6 + Windows 10, Error : Missing parentheses in call to 'print' #1537
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Looks like pypiwin32 doesn't support Python 3. :( |
Looks like it's a bug that pypiwin32 doesn't want to fix. |
The issue is that pypiwin32 doesn't support source builds on Python 3 and doesn't have binary builds for Python 3.6. |
I've filed a ticket upstream. |
Thank you for the investigation |
I tried working out a workaround by making a build on Python 3.6, but it turns out pywin32 doesn't build on Python 3.6 yet. I run into errors relating to build environments. I think we'll have to temporarily drop support for this package on Python 3.6 to avoid the errors. |
v8.3.1 releasing now should probably work by bypassing that requirement. |
I tried the latest version 8.5.0 and it works fine. Great job! |
In case anyone is curious, I have set up an organization to attempt to get pywin32 to work on Python 3.6. It looks like it may be a significant amount of work. See pywin32/pypiwin32#2 |
@jaraco The binaries for py3.6 have been uploaded. |
Great job. Thank you |
I have this problem with v10.2.2 and py361 win32. EDIT: Strange because it worked while using pip install but not while using pip install -r requirements.txt. Maybe because of my other dependencies?
|
@labsolution: I don't think you have this problem exactly. CherryPy 10.2.2 installs fine for me on a Windows machine.
Note, I'm using rwt to install using pip without having to set up a virtualenv, but you'd get the same behavior from pip in a virtualenv. That you're apparently getting the error above must be implicated by something in your environment or usage, so if there's an ongoing issue, you'll need to provide more information. |
He was using the whl of pypiwin32-220 while installing cherrypy-10.2.2 with pip install,. But he was using pypiwin32-119 zip!? while installing cherrypy-10.2. using my requirements.txt file... |
pypiwin32 may have different version numbers for different python versions. |
I did notice there's no source dist for 220, so any attempt to install source only or using an installer other than pip will be unlikely to work. |
Still a problem `C:\Users\e.raunig>pip install --no-cache-dir cherrypy
Command "python setup.py egg_info" failed with error code 1 in C:\Users\EA4F9~1.RAU\AppData\Local\Temp\pip-build-cfcqknzx\pypiwin32` |
@ERaunig you need to install
So go and ask pywin32 maintainers to provide sdist and/or all the wheel matrix in PYPI. |
Thanks,
I had IT revert to 3.6 and now pip runs fine.
Sorry for the mixup.
…On Thu, Nov 9, 2017 at 12:39 PM, Sviatoslav Sydorenko < ***@***.***> wrote:
@ERaunig <https://github.com/eraunig> you need to install pypiwin32-220
version. It looks like your pip didn't catch up with it preferring sdist
(zip), which is not available for v220. But there's wheels you could use.
So please use them.
I'm going to guess that you use outdated pip/setuptools, or use Python
version, which is different from 3.6, since there's only two wheels
available (https://pypi.python.org/pypi/pypiwin32):
- pypiwin32-220-cp36-none-win32.whl
- pypiwin32-220-cp36-none-win_amd64.whl
So go and ask pywin32 maintainers to provide sdist and/or all the wheel
matrix in PYPI.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1537 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/Af-MtCpbp3lX2ltujoHqclkW96-Frm2Iks5s0zjfgaJpZM4LVa8M>
.
|
Cli text is just below.
Thank you
C:\Program Files\Python36\Scripts
λ pip3.6 install cherrypy==8.3
Collecting cherrypy==8.3
Using cached CherryPy-8.3.0-py3-none-any.whl
Collecting six (from cherrypy==8.3)
Using cached six-1.10.0-py2.py3-none-any.whl
Collecting pypiwin32; sys_platform == "win32" (from cherrypy==8.3)
Using cached pypiwin32-219.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\JM\AppData\Local\Temp\pip-build-tox4900r\pypiwin32\setup.py", line 121
print "Building pywin32", pywin32_version
^
SyntaxError: Missing parentheses in call to 'print'
Command "python setup.py egg_info" failed with error code 1 in C:\Users\JM\AppData\Local\Temp\pip-build-tox4900r\pypiwin32\
C:\Program Files\Python36\Scripts
λ pip3.6 install cherrypy==8.2
Collecting cherrypy==8.2
Downloading CherryPy-8.2.0-py3-none-any.whl (457kB)
100% |████████████████████████████████| 460kB 1.6MB/s
Collecting pypiwin32; sys_platform == "win32" (from cherrypy==8.2)
Using cached pypiwin32-219.zip
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\JM\AppData\Local\Temp\pip-build-tnmg6033\pypiwin32\setup.py", line 121
print "Building pywin32", pywin32_version
^
SyntaxError: Missing parentheses in call to 'print'
Command "python setup.py egg_info" failed with error code 1 in C:\Users\JM\AppData\Local\Temp\pip-build-tnmg6033\pypiwin32\
The text was updated successfully, but these errors were encountered: