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

client does not install on linux with python 3.11 #660

Closed
krichardsson opened this issue Mar 17, 2023 · 5 comments · Fixed by #661
Closed

client does not install on linux with python 3.11 #660

krichardsson opened this issue Mar 17, 2023 · 5 comments · Fixed by #661
Labels
Milestone

Comments

@krichardsson
Copy link
Contributor

Found on ubuntu with python 3.11

There seems to be a problem with the dependency to pyzmq in setup.py pyzmq~=22.3
pyzmq 25.0 installs, but I have not tested if it works.

Workaround:
For normal client usage zmq is not used and should cause any problems also if it does not work anyway.
In setup.py change 'pyzmq~=22.3', to 'pyzmq~=25.0',

@krichardsson
Copy link
Contributor Author

You need to install it from source (git clone this repository), see the docs

This file: https://github.com/bitcraze/crazyflie-clients-python/blob/master/setup.py

@razmy-hathy
Copy link

Yes, I change it and install it from source. it is working now. Thanks for you support.

@razmy-hathy
Copy link

Do I need to follow the instruction given below. I don't want to reinstall the x86 brew has I already used brew install other softwares. Please explain.

Apple M1
On Apple M1 Macs, care should be taken to use the X86 version of Brew since not all required dependencies compiles for the native arm64 architecture of the M1 macs. This can be done by using the arch commands when installing brew:

Installing brew for x86_64, it will be installed in /usr/local by default

arch --x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

Now we have to use brew and then python from /usr/local ...

arch --x86_64 brew install [email protected] libusb

The arch command is not required anymore since everything brew installed are x86 executables

@krichardsson
Copy link
Contributor Author

Please start a new discussion, it does not fit the title "client does not install on linux with python 3.11" of this issue

@knmcguire
Copy link
Contributor

So our general conclusion from the triage meeting is: Let's bump up the version of pyzmq and see what happens. We don't expect this to fail but we got to test it out first.

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

Successfully merging a pull request may close this issue.

4 participants