Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

windows AttributeError: 'idemenv' has no attribute 'init' #5

Open
TheBigBear opened this issue Jul 25, 2022 · 0 comments
Open

windows AttributeError: 'idemenv' has no attribute 'init' #5

TheBigBear opened this issue Jul 25, 2022 · 0 comments

Comments

@TheBigBear
Copy link

When I follow the instructions on windows and try to run the first idemenv cmd idemenv list-remote it fails with:

(saltenv) PS C:\temp\idemenv> idemenv list-remote
Traceback (most recent call last):
  File "C:\temp\idemenv\.venv\Scripts\idemenv-script.py", line 33, in <module>
    sys.exit(load_entry_point('idemenv', 'console_scripts', 'idemenv')())
  File "c:\temp\idemenv\idemenv\scripts.py", line 8, in start
    hub["idemenv"].init.cli()
  File "C:\temp\idemenv\.venv\lib\site-packages\pop\hub.py", line 411, in __getattr__
    raise AttributeError(f"'{self._subname}' has no attribute '{item}'")
AttributeError: 'idemenv' has no attribute 'init'

Here is a bit of history to show what I did before this happened:

(saltenv) PS C:\temp\idemenv> "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsMSBuildCmd.bat"
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsMSBuildCmd.bat
(saltenv) PS C:\temp\idemenv> pip install -e .
Obtaining file:///C:/temp/idemenv
  Installing build dependencies ... done
  Checking if build backend supports build_editable ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: pop>=17.0 in c:\temp\idemenv\.venv\lib\site-packages (from idemenv==0.2.0) (21.0.2)
Requirement already satisfied: bs4 in c:\temp\idemenv\.venv\lib\site-packages (from idemenv==0.2.0) (0.0.1)
Requirement already satisfied: pop-aiohttp in c:\temp\idemenv\.venv\lib\site-packages (from idemenv==0.2.0) (1.1.0)
Requirement already satisfied: lazy-object-proxy in c:\temp\idemenv\.venv\lib\site-packages (from pop>=17.0->idemenv==0.2.0) (1.7.1)
Requirement already satisfied: PyYAML in c:\temp\idemenv\.venv\lib\site-packages (from pop>=17.0->idemenv==0.2.0) (6.0)
Requirement already satisfied: pop-config>=8.0.2 in c:\temp\idemenv\.venv\lib\site-packages (from pop>=17.0->idemenv==0.2.0) (9.0.0)
Requirement already satisfied: pop-loop>=1.0.3 in c:\temp\idemenv\.venv\lib\site-packages (from pop>=17.0->idemenv==0.2.0) (1.0.4)
Requirement already satisfied: dict-toolbox>=2.1.2 in c:\temp\idemenv\.venv\lib\site-packages (from pop>=17.0->idemenv==0.2.0) (2.3.0)
Requirement already satisfied: beautifulsoup4 in c:\temp\idemenv\.venv\lib\site-packages (from bs4->idemenv==0.2.0) (4.11.1)
Requirement already satisfied: acct>=6.4.1 in c:\temp\idemenv\.venv\lib\site-packages (from pop-aiohttp->idemenv==0.2.0) (8.2.1)
Requirement already satisfied: aiohttp[speedups] in c:\temp\idemenv\.venv\lib\site-packages (from pop-aiohttp->idemenv==0.2.0) (3.8.1)
Requirement already satisfied: pop-serial>=1.0.0 in c:\temp\idemenv\.venv\lib\site-packages (from acct>=6.4.1->pop-aiohttp->idemenv==0.2.0) (1.1.0)
Requirement already satisfied: aiofiles in c:\temp\idemenv\.venv\lib\site-packages (from acct>=6.4.1->pop-aiohttp->idemenv==0.2.0) (0.8.0)
Requirement already satisfied: rend>=6.3.1 in c:\temp\idemenv\.venv\lib\site-packages (from acct>=6.4.1->pop-aiohttp->idemenv==0.2.0) (6.4.4)
Requirement already satisfied: cryptography in c:\temp\idemenv\.venv\lib\site-packages (from acct>=6.4.1->pop-aiohttp->idemenv==0.2.0) (37.0.4)
Requirement already satisfied: msgpack!=0.5.5,>=0.5 in c:\temp\idemenv\.venv\lib\site-packages (from dict-toolbox>=2.1.2->pop>=17.0->idemenv==0.2.0) (1.0.4)
Requirement already satisfied: sniffio in c:\temp\idemenv\.venv\lib\site-packages (from pop-loop>=1.0.3->pop>=17.0->idemenv==0.2.0) (1.2.0)
Requirement already satisfied: nest-asyncio in c:\temp\idemenv\.venv\lib\site-packages (from pop-loop>=1.0.3->pop>=17.0->idemenv==0.2.0) (1.5.5)
Requirement already satisfied: attrs>=17.3.0 in c:\temp\idemenv\.venv\lib\site-packages (from aiohttp[speedups]->pop-aiohttp->idemenv==0.2.0) (21.4.0)
Requirement already satisfied: yarl<2.0,>=1.0 in c:\temp\idemenv\.venv\lib\site-packages (from aiohttp[speedups]->pop-aiohttp->idemenv==0.2.0) (1.7.2)
Requirement already satisfied: async-timeout<5.0,>=4.0.0a3 in c:\temp\idemenv\.venv\lib\site-packages (from aiohttp[speedups]->pop-aiohttp->idemenv==0.2.0) (4.0.2)
Requirement already satisfied: charset-normalizer<3.0,>=2.0 in c:\temp\idemenv\.venv\lib\site-packages (from aiohttp[speedups]->pop-aiohttp->idemenv==0.2.0) (2.1.0)
Requirement already satisfied: frozenlist>=1.1.1 in c:\temp\idemenv\.venv\lib\site-packages (from aiohttp[speedups]->pop-aiohttp->idemenv==0.2.0) (1.3.0)
Requirement already satisfied: multidict<7.0,>=4.5 in c:\temp\idemenv\.venv\lib\site-packages (from aiohttp[speedups]->pop-aiohttp->idemenv==0.2.0) (6.0.2)
Requirement already satisfied: aiosignal>=1.1.2 in c:\temp\idemenv\.venv\lib\site-packages (from aiohttp[speedups]->pop-aiohttp->idemenv==0.2.0) (1.2.0)
Requirement already satisfied: Brotli in c:\temp\idemenv\.venv\lib\site-packages (from aiohttp[speedups]->pop-aiohttp->idemenv==0.2.0) (1.0.9)
Requirement already satisfied: cchardet in c:\temp\idemenv\.venv\lib\site-packages (from aiohttp[speedups]->pop-aiohttp->idemenv==0.2.0) (2.1.7)
Requirement already satisfied: aiodns in c:\temp\idemenv\.venv\lib\site-packages (from aiohttp[speedups]->pop-aiohttp->idemenv==0.2.0) (3.0.0)
Requirement already satisfied: soupsieve>1.2 in c:\temp\idemenv\.venv\lib\site-packages (from beautifulsoup4->bs4->idemenv==0.2.0) (2.3.2.post1)
Requirement already satisfied: jinja2>=3.0.1 in c:\temp\idemenv\.venv\lib\site-packages (from rend>=6.3.1->acct>=6.4.1->pop-aiohttp->idemenv==0.2.0) (3.1.2)
Requirement already satisfied: toml in c:\temp\idemenv\.venv\lib\site-packages (from rend>=6.3.1->acct>=6.4.1->pop-aiohttp->idemenv==0.2.0) (0.10.2)
Requirement already satisfied: colored in c:\temp\idemenv\.venv\lib\site-packages (from rend>=6.3.1->acct>=6.4.1->pop-aiohttp->idemenv==0.2.0) (1.4.3)
Requirement already satisfied: idna>=2.0 in c:\temp\idemenv\.venv\lib\site-packages (from yarl<2.0,>=1.0->aiohttp[speedups]->pop-aiohttp->idemenv==0.2.0) (3.3)
Requirement already satisfied: pycares>=4.0.0 in c:\temp\idemenv\.venv\lib\site-packages (from aiodns->aiohttp[speedups]->pop-aiohttp->idemenv==0.2.0) (4.2.1)
Requirement already satisfied: cffi>=1.12 in c:\temp\idemenv\.venv\lib\site-packages (from cryptography->acct>=6.4.1->pop-aiohttp->idemenv==0.2.0) (1.15.1)
Requirement already satisfied: pycparser in c:\temp\idemenv\.venv\lib\site-packages (from cffi>=1.12->cryptography->acct>=6.4.1->pop-aiohttp->idemenv==0.2.0) (2.21)
Requirement already satisfied: MarkupSafe>=2.0 in c:\temp\idemenv\.venv\lib\site-packages (from jinja2>=3.0.1->rend>=6.3.1->acct>=6.4.1->pop-aiohttp->idemenv==0.2.0) (2.1.1)
Installing collected packages: idemenv
  Attempting uninstall: idemenv
    Found existing installation: idemenv 0.2.0
    Uninstalling idemenv-0.2.0:
      Successfully uninstalled idemenv-0.2.0
  Running setup.py develop for idemenv
Successfully installed idemenv-0.2.0
(saltenv) PS C:\temp\idemenv>
(saltenv) PS C:\temp\idemenv> which idemenv
C:\temp\idemenv\.venv\Scripts\idemenv.exe
(saltenv) PS C:\temp\idemenv> idemenv list-remote
Traceback (most recent call last):
  File "C:\temp\idemenv\.venv\Scripts\idemenv-script.py", line 33, in <module>
    sys.exit(load_entry_point('idemenv', 'console_scripts', 'idemenv')())
  File "c:\temp\idemenv\idemenv\scripts.py", line 8, in start
    hub["idemenv"].init.cli()
  File "C:\temp\idemenv\.venv\lib\site-packages\pop\hub.py", line 411, in __getattr__
    raise AttributeError(f"'{self._subname}' has no attribute '{item}'")
AttributeError: 'idemenv' has no attribute 'init'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant