Giter Club home page Giter Club logo

Comments (6)

grossmj avatar grossmj commented on September 22, 2024

Apparently this is a problem with PyZMQ looking for ZeroMQ libraries. I would recommend checking/reinstalling pyzmq.

What do you have with pip3 freeze | grep pyzmq?

from gns3-server.

anubisg1 avatar anubisg1 commented on September 22, 2024

[root@localhost ~]# pip-python3 freeze | grep pyzmq
pyzmq==14.2.0

i don't think the problem is zeromq or pyzmq install itself.

if you check again what the server is trying to do:

"error: zmq.h: No such file or directory
#include
^
compilation terminated."

ImportError: PyZMQ CFFI backend couldn't find zeromq: CompileError: command 'gcc' failed with exit status 1

it seems that one of the latest added dependencies, python3-cffi, is trying to compile something using zeromq headers. this header, is part of -devel packages and not usually required at any runtime.

[root@localhost ~]# rpm -ql zeromq-devel | grep include
/usr/include/zmq.h <---------
/usr/include/zmq_utils.h

installing zeromq-devel fixed the issue. Any idea why is this happening on the first place ?

from gns3-server.

anubisg1 avatar anubisg1 commented on September 22, 2024

i was checking it might be zeromq itself.
Fedora 20 comes with zeromq 3.2.4

I took care of uprading zeromq to 4.0.4, and afterwards recompiling pyzmq on top of zeromq 4...

it seems like python3-cffi is not required anymore and this strange behavior of cffi trying to compile something doesn't occur anymore...

from gns3-server.

grossmj avatar grossmj commented on September 22, 2024

I think so too, pyzmq has 2 back-ends, cffi and cython. It uses the later by default in recent versions.

from gns3-server.

anubisg1 avatar anubisg1 commented on September 22, 2024

i verified and i can confirm. The problem was the older zeromq version that required ciffi and the header file ...

using a newer version with cython the problem doesn't exist.

from gns3-server.

grossmj avatar grossmj commented on September 22, 2024

Ok, thanks for the confirmation. I'll simply display the ZeroMQ version when the server starts for now.

from gns3-server.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.