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

I need to implement python code into UiPath but i get the error "module 'sys' has no attribute 'argv'"

$
0
0

This is my code but when i run it in Uipath i get the error "module ‘sys’ has no attribute ‘argv’ "
The goal of my program is to extract information from a text file and pass it through the model.

import spacy

def spacy():
nlp = spacy.load(“en_core_web_sm”)

doc = open("Email data.txt", "r")

docx = nlp(doc.read())

for token in docx.ents:
  print(token.text, token.label_,)

1 post - 1 participant

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>