Skip to content
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

Cannot Install Cymem from wheel? #17

Closed
pakos47 opened this issue Dec 18, 2019 · 7 comments
Closed

Cannot Install Cymem from wheel? #17

pakos47 opened this issue Dec 18, 2019 · 7 comments

Comments

@pakos47
Copy link

pakos47 commented Dec 18, 2019

when trying to install the ".whl" file I always end up Errors like
"ERROR: cymem-2.0.3-cp38-cp38m-win32.whl is not a supported wheel on this platform."

@svlandeg
Copy link
Member

Hi @pakos47, what is the operating system you're working on, which version, and what is your Python version ?

@pakos47
Copy link
Author

pakos47 commented Dec 18, 2019

Win10, 64-bit and Python 3.8

@svlandeg
Copy link
Member

Ok, so I guess you need cymem-2.0.3-cp38-cp38-win_amd64.whl ?

@pakos47
Copy link
Author

pakos47 commented Dec 19, 2019

Tried it already, none of them work unfortunately.

@svlandeg
Copy link
Member

Ok so you would expect only one of them to work really - the very specific .whl for your system. In your original post you mention cymem-2.0.3-cp38-cp38m-win32.whl but the win32 bit would be incompatible with your 64-bit Windows. Which is why I linked to the (hopefully) correct one. Could you try that one again and paste the full log of your console ?

@Pierretherenard
Copy link

May be related
Here is what I got when i tried to install on macOS high sierra python 3.5 wheel 0.34.2
pip install cymem
Collecting cymem
Using cached cymem-2.0.3.tar.gz (51 kB)
ERROR: Command errored out with exit status 1:
command: /Library/Frameworks/Python.framework/Versions/3.5/bin/python3 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/private/var/folders/6t/yj5swk590m7fx49489t_f2sr0000gn/T/pip-install-obc7il24/cymem/setup.py'"'"'; file='"'"'/private/var/folders/6t/yj5swk590m7fx49489t_f2sr0000gn/T/pip-install-obc7il24/cymem/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /private/var/folders/6t/yj5swk590m7fx49489t_f2sr0000gn/T/pip-install-obc7il24/cymem/pip-egg-info
cwd: /private/var/folders/6t/yj5swk590m7fx49489t_f2sr0000gn/T/pip-install-obc7il24/cymem/
Complete output (26 lines):
Download error on https://pypi.python.org/simple/wheel/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) -- Some packages may not be found!
Download error on https://pypi.python.org/simple/: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:645) -- Some packages may not be found!
No local packages or working download links found for wheel<0.33.0,>=0.32.0
Traceback (most recent call last):
File "", line 1, in
File "/private/var/folders/6t/yj5swk590m7fx49489t_f2sr0000gn/T/pip-install-obc7il24/cymem/setup.py", line 149, in
setup_package()
File "/private/var/folders/6t/yj5swk590m7fx49489t_f2sr0000gn/T/pip-install-obc7il24/cymem/setup.py", line 144, in setup_package
cmdclass={"build_ext": build_ext_subclass},
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/dist.py", line 335, in init
self.fetch_build_eggs(attrs['setup_requires'])
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/dist.py", line 456, in fetch_build_eggs
replace_conflicting=True,
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/init.py", line 863, in resolve
replace_conflicting=replace_conflicting
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/init.py", line 1141, in best_match
return self.obtain(req, installer)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pkg_resources/init.py", line 1153, in obtain
return installer(requirement)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/dist.py", line 522, in fetch_build_egg
return cmd.easy_install(req)
File "/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 666, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('wheel<0.33.0,>=0.32.0')

@adrianeboyd
Copy link
Collaborator

Hi, the wheel requirement is no longer needed and is removed from v2.0.5, so I hope the source install is easier now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants