nosradom opened a new issue #8126:
URL: https://github.com/apache/pulsar/issues/8126


   fastavro is a required dependency for the pulsar-client.
   
   The newest fastavro version (1.0.0.post1) does not support python 2.7 
   https://pypi.org/project/fastavro/#description
    
   If pip install pulsar-client on a clean machine it tries to install the 
latest fastavro version and fails.
   
   A workaround is to pip install fastavro==0.24.2 before running pip install 
pulsar-client
   However, I was unable to find any documentation that was needed.
   
   I would suggest updating the dependency requirements to use the earlier 
fastavro version instead of the latest when using 2.7.
   
   The output of the bug is as follows
   
   Collecting fastavro (from pulsar-client==2.6.1)
     Using cached 
https://files.pythonhosted.org/packages/19/b1/3fc23eb5c5f32ec69dc072bc383c79ed013eb1fb178cae4e0b9576527ea5/fastavro-1.0.0.tar.gz
       Complete output from command python setup.py egg_info:
       Traceback (most recent call last):
         File "<string>", line 1, in <module>
         File "/tmp/pip-build-Nqgi9I/fastavro/setup.py", line 58, in <module>
           if sys.implementation.name != "pypy":
       AttributeError: 'module' object has no attribute 'implementation'
       
       ----------------------------------------
   Command "python setup.py egg_info" failed with error code 1 in 
/tmp/pip-build-Nqgi9I/fastavro/
   
   I was installing in a docker container starting from the FROM 
ros:melodic-ros-base 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to