Comments (7)
Hi @vpunugupati
This issue belongs there:
https://github.com/Azure/azure-uamqp-python
I'm trying to transfer it, or you can open it there at your convenience :)
@annatisch FYI
from azure-uamqp-python.
May be, It's some thing to do environment related as it is running locally. So, I am closing this.
from azure-uamqp-python.
I am using AWS Serverless in my development and using python to develop lambdas.
I want to use azure-servicebus and was able to import "azure-servicebus" and all its dependencies (including uamqp).
I am using a requirements.txt file to list all the dependencies needed and using a shell script to manually import all the dependencies needed. Attached my requirements.txt file which installs all the dependencies
While the lambda is executed, I am getting the error " cannot import name 'c_uamqp' from 'uamqp'"
I appreciate any help/inputs in resolving this issue. Thanks!
externaldependencies_requirements.txt
from azure-uamqp-python.
If I remember correctly, at that time I used wrong package on that machine. i.e 32 bit package on 64 bit machine. Later I used 32 bit package on 32 bit machine which worked perfectly. Hope the same happening in your case also.
from azure-uamqp-python.
Hi @cnshrenivas,
As @vpunugupati mentioned - selecting the correct bitness of the wheel will be important.
Additionally - we are also currently limited in the supported OS that are precompiled for.
You may need to build the library directly from the source.
We are in the process of porting this to a pure-Python lib to do away with the c components altogether - so longer term this should no longer be an issue :)
from azure-uamqp-python.
Thanks @vpunugupati and @annatisch for your inputs.
@annatisch : Can you please tell the release/timeline for porting as pure python lib
from azure-uamqp-python.
Hey guys,
We are facing the same problem now, although we imported azure-servicebus and all its dependencies in our layer, we still get that error?
Any idea on how to get around that? is this Linux related? would trying to run this code on Linux and copying the layer to lambda make a difference?
from azure-uamqp-python.
Related Issues (20)
- This repo is missing important files HOT 1
- Python 3.11 issues for uaqmp HOT 8
- 1.6.0 tag missing in git repository HOT 2
- Update Ubuntu VM to 20.04
- Disable pipeline in Github Actions
- six usage is redundant HOT 2
- Build arm64 wheels HOT 1
- LinkDetach Idle timeout after 10 minutes is printed as log warning HOT 1
- Amqp over websocket is not working and leeds to a connection error HOT 2
- Add PyPy support HOT 5
- uamqp 1.6.4 on PyPi, but not in a GitHub release HOT 2
- Version tags on Github are broken HOT 5
- Provide Python 3.12 wheels HOT 2
- Can't build on Mac OS error: command '/usr/bin/clang' failed with exit code 1 HOT 6
- Vulnerable to CVE-2024-21646? HOT 4
- Python Based AQMP Library & uAMQP Repo Status HOT 2
- Fails to build with Python 3.12
- Vulnerable to CVE-2024-25110? HOT 5
- [1.6.9] Failed building wheel for uamqp HOT 9
- Backport CVE-2024-29195 fix here as well?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-uamqp-python.