wilsonwang371 opened a new issue, #22149:
URL: https://github.com/apache/beam/issues/22149

   Hi,
   
   I compiled apache beam package and installed it in my own environment.
   
   However, when i tried to load apache_beam using
   ```python
   import apache_beam
   ```
   
   I saw the following error:
   
   ```
   Traceback (most recent call last):
     File "<stdin>", line 1, in <module>
     File "/usr/local/lib/python3.9/site-packages/apache_beam/__init__.py", 
line 92, in <module>
       from apache_beam import coders
     File 
"/usr/local/lib/python3.9/site-packages/apache_beam/coders/__init__.py", line 
17, in <module>
       from apache_beam.coders.coders import *
     File 
"/usr/local/lib/python3.9/site-packages/apache_beam/coders/coders.py", line 58, 
in <module>
       from apache_beam.coders import coder_impl
     File 
"/usr/local/lib/python3.9/site-packages/apache_beam/coders/coder_impl.py", line 
62, in <module>
       from apache_beam.typehints.schemas import named_tuple_from_schema
     File 
"/usr/local/lib/python3.9/site-packages/apache_beam/typehints/schemas.py", line 
72, in <module>
       from apache_beam.portability import common_urns
     File 
"/usr/local/lib/python3.9/site-packages/apache_beam/portability/common_urns.py",
 line 22, in <module>
       from .api import beam_runner_api_pb2_urns
   ImportError: cannot import name 'beam_runner_api_pb2_urns' from 
'apache_beam.portability.api' (unknown location)
   ```
   
   Can someone help me out on this?
   
   Thanks
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to