class Packages:
"""
This Class installs required Packages or library
"""
get_pckg = subprocess.check_output([sys.executable, '-m', 'pip', 'freeze'])
installed_packages = [r.decode().split('==')[0] for r in get_pckg.split()]
# List of your required packages
required_packages = ['dateparser', 'pandas-highcharts', 'scipy']
for packg in required_packages:
if packg in installed_packages:
pass
else:
print('installing package %s' % packg)
os.system('pip3 install ' + packg)
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
 - e-Commerce
 - Akuntansi
 - Inventaris
 - PoS
 - Project
 - MRP
 
Pertanyaan ini telah diberikan tanda
Hello ,
Rob Bro,
It is looking like you dont have the pip "ggplot" . if you are running python2 install with command "pip install ggplot" and if you are using python3 pip3 install ggplot . This will solve your problem.
Thanks & Regards,
Jay R. Dasani
Thank you for responding.It worked when I reomved 'external_dependencies': from manifest.
I'm glad that i solved your problem.
Thanks that is valuable information! :D :
Menikmati diskusi? Jangan hanya membaca, ikuti!
Buat akun sekarang untuk menikmati fitur eksklufi dan agar terlibat dengan komunitas kami!
Daftar| Post Terkait | Replies | Tampilan | Aktivitas | |
|---|---|---|---|---|
| 
             | 
        
            
                
                0
            
            
             Agu 18  
         | 
        7685 | ||
| 
             | 
        
            
                
                2
            
            
             Des 16  
         | 
        10404 | ||
| 
     
            
                Order of installed modules 
            
            
                    Diselesaikan
            
         
     | 
        
             | 
        
            
                
                1
            
            
             Jan 22  
         | 
        3564 | |
| 
             | 
        
            
                
                2
            
            
             Sep 16  
         | 
        7370 | ||
| 
     
            
                Military states module -- help :D 
            
            
                    Diselesaikan
            
         
     | 
        
             | 
        
            
                
                1
            
            
             Mar 15  
         | 
        4832 | 
                        
I can't thank you enough!
Thank you so much. It was much needed.