name 'serial' is not defined #2200
              
                
                  
                  
                    Answered
                  
                  by
                    janiversen
                  
              
          
                  
                    
                      JimmyTang999
                    
                  
                
                  asked this question in
                Q&A
              
            -
| would someone here know in which python script serial is defined? i am using code structure found here with a few adjustments to com port, baud and unit | 
Beta Was this translation helpful? Give feedback.
      
      
          Answered by
          
            janiversen
          
      
      
        May 22, 2024 
      
    
    Replies: 2 comments
-
| had to pip install pyserial and then import serial | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            -
| Of course you have to install pyserial if you want to use serial ! please see our examples e,g, simple_sync.client,py | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
      Answer selected by
        janiversen
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Of course you have to install pyserial if you want to use serial ! please see our examples e,g, simple_sync.client,py