Quantcast
Channel: UiPath Community Forum - Topics tagged error
Viewing all articles
Browse latest Browse all 4384

Not Able to import python packages : throws Error Loading Python Script

$
0
0

I’m not able to import installed Python Packages in Load Python Script activity. It throws error, without the package it runs. And I tried with sys.path.append(os.path.dirname(os.path.abspath(“file”)))
statement and still it throws error. Please look into my code below,

<import sys 
import os
sys.path.append(os.path.dirname(os.path.abspath("__file__")))
import pdf2image
import re
import io

def Hello():
   return 'Hello'
>

Here I need to pdf2image package and it is already installed. Along with that i need to use some more packages. Please help me to fix it

16 posts - 7 participants

Read full topic


Viewing all articles
Browse latest Browse all 4384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>