-
Notifications
You must be signed in to change notification settings - Fork 133
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
Problems using curl_cffi python library #866
Comments
This package contains native components, so it would have to be built into a wheel file. If you'd like to try doing this yourself, follow the instructions here. And if you're successful, please make a pull request so we can add the package to the public repository. If anyone else wants this package too, let us know by clicking the thumbs-up button above. |
I tried following the instructions, i don't know if I'm doing it right, I get an error when BUILDING PACKAGE, and if I may request if you could add "curl-cffi" package in CHAQUOPY, greatly appreciated and thanks 🎉 |
build-wheel doesn't support the complete Conda meta.yaml syntax, only the subset defined in meta-schema.yaml. So you'll have to remove the |
I remove everything except the package section in meta.yaml, below is the result, I'm sorry for inconvenience, as for last time request, if possible can you add this library, I'm still having hard time every time I read documentations😅 I greatly appreciate and thank you very much |
As the README says, the build-wheel tool is only supported on Linux, not Windows. If you don't have a Linux machine available, a cheap virtual server from somewhere like DigitalOcean will do just fine. WSL or Docker may also work, though I haven't tried them myself. |
hello, did I successfully added the library in the package? can you check the image below?😁 |
The message is telling you exactly what to check. You probably used a dash in the package name in meta.yaml, where you should have used an underscore. |
I red the instructions very carefully this time😅, why does it keep creating curl_cffi-0.0.0.dist-info instead of creating curl_cffi-0.5.7.dist-info that build-wheel required, did I miss anything? |
@mhsmith can you check if I'm missing anything? btw this is my meta.yaml, thanks😁
|
Sorry for the slow reply. I'll have a look at this tomorrow. |
No problem and thanks, I really need this package for my capstone project🎉 |
I apologize if I am not understanding the additional instructions. I am still a novice in this field, and I am really relying on this Python library for my project. Would you be able to add more details or provide some clarification? I think some people are waiting for this library to be added, so I would be grateful for your help.🎉 |
I'm looking at this issue right now, and I'll post an update in a few hours. |
I've just pushed some updates to build-wheel which will fix this particular error. However, as the curl_cffi README says, this package is based on the curl-impersonate library, so you would have to build that first. The relationship between cffi-curl and curl-impersonate would be similar to the existing packages If you need any more help, please don't post screenshots of text. Instead, copy and paste the text, and surround it with triple backticks as shown here. |
Chaquopy version
14.0.2
Devices or emulators where the issue happens
All
Relevant parts of your code
Describe your issue
Cannot install curl_cffi python plugin or library. This allows you to make a request skipping the CloudFlare and the fingerprint.
The text was updated successfully, but these errors were encountered: