Not really a question but an observation/comment. ...
# troubleshooting
v
Not really a question but an observation/comment. I named a file subprocess.py and put it in the meltano root directory. Was just playing around. I then tried to run something like
meltano add
and ot failed due to that file existing and causing a problem with asyncio (Error was very clear. I don't have a solution or a concern really just an observation!
Error that came up
Copy code
C:\code\meltano-windowstest2>meltano add extractor tap-csv
Extractor 'tap-csv' already exists in your Meltano project
To add it to your project another time so that each can be configured differently,
add a new plugin inheriting from the existing one with its own unique name:
        meltano add extractor tap-csv--new --inherit-from tap-csv

Installing extractor 'tap-csv'...
Extractor 'tap-csv' could not be installed: could not create of the virtualenv for 'extractors/tap-csv'
Traceback (most recent call last):
  File "C:\Users\derek\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 185, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "C:\Users\derek\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 144, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "C:\Users\derek\AppData\Local\Programs\Python\Python38\lib\runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "C:\Users\derek\AppData\Local\Programs\Python\Python38\lib\venv\__init__.py", line 10, in <module>
    import subprocess
  File "C:\code\meltano-windowstest2\subprocess.py", line 1, in <module>
    import asyncio                                                                                                        File "C:\Users\derek\AppData\Local\Programs\Python\Python38\lib\asyncio\__init__.py", line 8, in <module>                 from .base_events import *                                                                                            File "C:\Users\derek\AppData\Local\Programs\Python\Python38\lib\asyncio\base_events.py", line 40, in <module>             from . import events                                                                                                  File "C:\Users\derek\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 205, in <module>                 class AbstractEventLoop:                                                                                              File "C:\Users\derek\AppData\Local\Programs\Python\Python38\lib\asyncio\events.py", line 482, in AbstractEventLoop        stdin=subprocess.PIPE,                                                                                              AttributeError: partially initialized module 'subprocess' has no attribute 'PIPE' (most likely due to a circular import)
d
@visch That's interesting, you put it in your project directory right? I have no idea why Python would use that to resolve
import subprocess
v
yeah, odd right! Looks like it's happened to others as with asyncio