lericson / pylibmc

A Python wrapper around the libmemcached interface from TangentOrg.
http://sendapatch.se/projects/pylibmc/
BSD 3-Clause "New" or "Revised" License
479 stars 137 forks source link

can't install pylibmc on windows #247

Closed Gumplefik closed 5 years ago

Gumplefik commented 5 years ago

how do i install pylibmc on windows. with pip install pylibmc, it reported that missing memcached.h, then i add it ,then missing zlib.h....it missing lots of c source files. so is there a version like whl which i don't need to compile it . or is there any way to success to compile it.

akhalil-xiq commented 4 years ago

I had the same issue. What is the way to install pylibmc on windows 10 with Python 3.6? @lericson

lericson commented 4 years ago

Windows is not a supported platform, so unless you're capable of doing this yourself, I can't help you -- sorry. My suggestion is to either use the Linux layer of Windows, or just change to a more typical development platform. In fact, basically any other platform would work: BSD, Linux, macOS.

Gumplefik commented 4 years ago

I had the same issue. What is the way to install pylibmc on windows 10 with Python 3.6? @lericson

it is used to create memcachedclient. when you development it in windows, you can just remove it if it is optional.

Gumplefik commented 4 years ago

I had the same issue. What is the way to install pylibmc on windows 10 with Python 3.6? @lericson

But i can provide you a way to development in windows. you can install docker desktop in your pc. And run you project with linux container. you can share you code by mount volumn. and add a file watcher to restart your application. In this way. you can development in you pc and run it with docker.

iamtekson commented 3 years ago

Any update on this? Since I am trying to install it on my windows machine, still getting the error.

lericson commented 3 years ago

It’s not happening.

On 28 Aug 2021, at 15:12, Tek Kshetri @.***> wrote:

 Any update on this? Since I am trying to install it on my windows machine, still getting the error.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

akhalil-xiq commented 3 years ago

You can use following python package: https://pypi.org/project/python-memcached/

@lericson @iamtekson

iamtekson commented 3 years ago

Great!

Thank you @akhalil-xiq

lericson commented 3 years ago

By all means, it’s what pylibmc’s API is made to look like. Note that it’s way slower and will always be. It also doesn’t release the GIL at all so suffers from poor parallelism.

On 30 Aug 2021, at 04:59, Tek Kshetri @.***> wrote:

 Great!

Thank you @akhalil-xiq

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

Gumplefik commented 3 years ago

Any update on this? Since I am trying to install it on my windows machine, still getting the error.

Yo can run your application in linux with wsl2.