# RESCRIPt: AttributeError: '\_io.TextIOWrapper' object has no attribute 'rstrip'

**URL:** https://forum.qiime2.org/t/rescript-attributeerror-io-textiowrapper-object-has-no-attribute-rstrip/26287
**Category:** Technical Support
**Tags:** rescript
**Created:** [April 29, 2023, 9:34pm UTC](https://forum.qiime2.org/t/rescript-attributeerror-io-textiowrapper-object-has-no-attribute-rstrip/26287 "2023-04-29T21:34:07Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![antias](https://forum.qiime2.org/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@antias](https://forum.qiime2.org/u/antias)
#### Post date: [May 1, 2023, 11:26am UTC](https://forum.qiime2.org/t/rescript-attributeerror-io-textiowrapper-object-has-no-attribute-rstrip/26287/9 "2023-05-01T11:26:22Z")

</div>

Hi @kafker,  
I've encountered the same issue as well. The difference is that I was following this tutorial:

# [Using RESCRIPt's 'extract-seq-segments' to extract reference sequences without PCR primer pairs.](https://forum.qiime2.org/t/using-rescripts-extract-seq-segments-to-extract-reference-sequences-without-pcr-primer-pairs/23618)

It seems highly likely that is related to qiime2-2023.2. I also have qiime2-2022.11 in my conda environment, and when I run 'qiime rescript evaluate-fit-classifier' in that environment (with RESCRIPt installed), I don't encounter any errors. I recommend giving it a try with qiime2-2022.11 to see if it resolves the issue for you.  
Best of luck!

---

_[View the full topic](https://forum.qiime2.org/t/rescript-attributeerror-io-textiowrapper-object-has-no-attribute-rstrip/26287)._
