You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute setup.py since setuptools is not available in the build environment.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Error importing libraries: cannot import name 'tarfile' from 'backports' (C:\Users\jschi\anaconda3\Lib\site-packages\backports_init_.py)
Traceback (most recent call last):
File "C:\Users\jschi\auto-rsa\autoRSA.py", line 16, in
from chaseAPI import *
File "C:\Users\jschi\auto-rsa\chaseAPI.py", line 13, in
from helperAPI import (
File "C:\Users\jschi\auto-rsa\helperAPI.py", line 16, in
import pkg_resources
File "C:\Users\jschi\anaconda3\Lib\site-packages\pkg_resources_init_.py", line 93, in
from jaraco.text import (
File "C:\Users\jschi\anaconda3\Lib\site-packages\setuptools_vendor\jaraco\text_init_.py", line 12, in
from jaraco.context import ExceptionTrap
File "C:\Users\jschi\anaconda3\Lib\site-packages\setuptools_vendor\jaraco\context.py", line 17, in
from backports import tarfile
ImportError: cannot import name 'tarfile' from 'backports' (C:\Users\jschi\anaconda3\Lib\site-packages\backports_init_.py)
The reason will be displayed to describe this comment to others. Learn more.
I elected to run the update on my own windows machine and I'm getting the same error. 1 issue is that for some reason setuptools was uninstalled and then doesn't reinstall properly. I did a manual install of it so I know it's there.
But now the bot is giving this issue when starting up.
Error importing libraries: cannot import name 'tarfile' from 'backports' (C:\Users\chey2\anaconda3\Lib\site-packages\backports\__init__.py)
Traceback (most recent call last):
File "C:\Users\chey2\auto-rsa\autoRSA.py", line 16, in <module>
from chaseAPI import *
File "C:\Users\chey2\auto-rsa\chaseAPI.py", line 13, in <module>
from helperAPI import (
File "C:\Users\chey2\auto-rsa\helperAPI.py", line 16, in <module>
import pkg_resources
File "C:\Users\chey2\anaconda3\Lib\site-packages\pkg_resources\__init__.py", line 93, in <module>
from jaraco.text import (
File "C:\Users\chey2\anaconda3\Lib\site-packages\setuptools\_vendor\jaraco\text\__init__.py", line 12, in <module>
from jaraco.context import ExceptionTrap
File "C:\Users\chey2\anaconda3\Lib\site-packages\setuptools\_vendor\jaraco\context.py", line 17, in <module>
from backports import tarfile
ImportError: cannot import name 'tarfile' from 'backports' (C:\Users\chey2\anaconda3\Lib\site-packages\backports\__init__.py)
Please run 'pip install -r requirements.txt'
e17bc7d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This may have broken the bot. I am still running 70.3.0 without issue.
e17bc7d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, I noticed an issue with
71.0.1
according to this link but I've been using71.0.2
today and it's been working fine.e17bc7d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [1 lines of output]
ERROR: Can not execute setup.py since setuptools is not available in the build environment.
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Error importing libraries: cannot import name 'tarfile' from 'backports' (C:\Users\jschi\anaconda3\Lib\site-packages\backports_init_.py)
Traceback (most recent call last):
File "C:\Users\jschi\auto-rsa\autoRSA.py", line 16, in
from chaseAPI import *
File "C:\Users\jschi\auto-rsa\chaseAPI.py", line 13, in
from helperAPI import (
File "C:\Users\jschi\auto-rsa\helperAPI.py", line 16, in
import pkg_resources
File "C:\Users\jschi\anaconda3\Lib\site-packages\pkg_resources_init_.py", line 93, in
from jaraco.text import (
File "C:\Users\jschi\anaconda3\Lib\site-packages\setuptools_vendor\jaraco\text_init_.py", line 12, in
from jaraco.context import ExceptionTrap
File "C:\Users\jschi\anaconda3\Lib\site-packages\setuptools_vendor\jaraco\context.py", line 17, in
from backports import tarfile
ImportError: cannot import name 'tarfile' from 'backports' (C:\Users\jschi\anaconda3\Lib\site-packages\backports_init_.py)
Please run 'pip install -r requirements.txt'
e17bc7d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I had him manually change setuptools to
70.3.0
and everything boots up.Setuptools is very much so in the build environment and I had him double check it.
e17bc7d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm, perhaps try creating a new python env? I've tested it on MacOS and Windows and it works/installs fine for me
e17bc7d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I elected to run the update on my own windows machine and I'm getting the same error. 1 issue is that for some reason setuptools was uninstalled and then doesn't reinstall properly. I did a manual install of it so I know it's there.
But now the bot is giving this issue when starting up.