Issue #367: windows server 2019 installation: ImportError: No module named pwd (conservancy/kallithea)
Serhiy Pikho
issues-reply at bitbucket.org
Mon Mar 30 13:50:24 UTC 2020
New issue 367: windows server 2019 installation: ImportError: No module named pwd
https://bitbucket.org/conservancy/kallithea/issues/367/windows-server-2019-installation
Serhiy Pikho:
I’ve been following this installation Guide [https://kallithea.readthedocs.io/en/latest/installation\_win.html](https://kallithea.readthedocs.io/en/latest/installation_win.html)
But I seem to have hit a roadblock - Running the command `kallithea-cli config-create my.ini` creates the following errors
```
(Env) C:\Kallithea\Bin>kallithea-cli
Traceback (most recent call last):
File "C:\Python27\lib\runpy.py", line 162, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "C:\Python27\lib\runpy.py", line 72, in _run_code
exec code in run_globals
File "C:\Kallithea\Env\Scripts\kallithea-cli.exe\__main__.py", line 4, in <module>
File "c:\kallithea\env\lib\site-packages\kallithea\bin\kallithea_cli.py", line 18, in <module>
import kallithea.bin.kallithea_cli_db
File "c:\kallithea\env\lib\site-packages\kallithea\bin\kallithea_cli_db.py", line 18, in <module>
from kallithea.lib.db_manage import DbManage
File "c:\kallithea\env\lib\site-packages\kallithea\lib\db_manage.py", line 41, in <module>
from kallithea.model.base import init_model
File "c:\kallithea\env\lib\site-packages\kallithea\model\base.py", line 31, in <module>
from kallithea.lib.utils2 import obfuscate_url_pw
File "c:\kallithea\env\lib\site-packages\kallithea\lib\utils2.py", line 35, in <module>
import pwd
ImportError: No module named pwd
```
Looking up the pwd module shows that its a unix specific module and not supported on windows. [https://docs.python.org/2/library/pwd.html](https://docs.python.org/2/library/pwd.html)
This infomration has left me a bit confused…
More information about the kallithea-general
mailing list