TensorFlow_with_Colab_tutorial
TensorFlow_with_Colab_tutorial copied to clipboard
error: avro-python3 1.10.0 is installed but avro-python3!=1.9.2,<1.10.0,>=1.8.1 is required by {'apache-beam'}
Hi my name is Arif,
Currently I am trying to follow your project and train it with my own dataset..
at step 9, when I'm trying to install the setup.py there is an error like this when it trying to install avro-python3
error: avro-python3 1.10.0 is installed but avro-python3!=1.9.2,<1.10.0,>=1.8.1 is required by {'apache-beam'}
do you know how to handle this error?
Thank you, I am waiting for your response
I am not sure, but I read a bit of documentation, it says "A package called "avro-python3" had been provided to support Python 3 previously, but the codebase was consolidated into the "avro" package and that supports both Python 2 and 3 now. The avro-python3 package will be removed in the near future, so users should use the "avro" package instead. They are mostly API compatible, but there's a few minor difference (e.g., function name capitalization, such as avro.schema.Parse vs avro.schema.parse)."
Link: https://avro.apache.org/docs/1.10.0/gettingstartedpython.html
Maybe try installing the latest version of this new package !
Hi Arif, installing these dependencies before running setup.py worked for me:
# install apache-beam dependencies
!pip install avro-python3==1.9.2.1
!pip install dill==0.3.1.1
!pip install future==0.18.2
!pip install pyarrow==2.0.0
!pip install requests==2.25.1
!pip install pyyaml==5.3.1
Hi ericchen321, I tried the code you suggested. and I still get the following error
python3: can't open file 'setup.py': [Errno 2] No such file or directory python3: can't open file 'setup.py': [Errno 2] No such file or directory