Issue #187: Installation on Windows fails (conservancy/kallithea)
Dmitry Popov
issues-reply at bitbucket.org
Mon Feb 1 10:17:31 UTC 2016
New issue 187: Installation on Windows fails
https://bitbucket.org/conservancy/kallithea/issues/187/installation-on-windows-fails
Dmitry Popov:
I'm trying to install Kallithea on Windows Server 2008 R2 with Python 2.7.10 following the instructions from http://docs.kallithea-scm.org/en/latest/installation_win.html. I get the same error as described in issue #183 "Can't install on Windows".
The workaround proposed in comments to #183 by @killerix didn't quite help. The installation still fails, though with a different error:
```
#!
(env) c:\Kallithea\Env\Scripts>pip install kallithea
Collecting kallithea
Using cached Kallithea-0.3.tar.gz
Complete output from command python setup.py egg_info:
Warning: no news for this version found
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "c:\users\admini~1\appdata\local\temp\pip-build-p91kh6\kallithea\setup.py", line 190, in
<module>
""",
File "c:\bin\python27\Lib\distutils\core.py", line 111, in setup
_setup_distribution = dist = klass(attrs)
File "c:\kallithea\env\lib\site-packages\setuptools\dist.py", line 269, in __init__
self.fetch_build_eggs(attrs['setup_requires'])
File "c:\kallithea\env\lib\site-packages\setuptools\dist.py", line 313, in fetch_build_eggs
replace_conflicting=True,
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 828, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 1073, in best_match
return self.obtain(req, installer)
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 1085, in obtain
return installer(requirement)
File "c:\kallithea\env\lib\site-packages\setuptools\dist.py", line 380, in fetch_build_egg
return cmd.easy_install(req)
File "c:\kallithea\env\lib\site-packages\setuptools\command\easy_install.py", line 640, in eas
y_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "c:\kallithea\env\lib\site-packages\setuptools\command\easy_install.py", line 670, in ins
tall_item
dists = self.install_eggs(spec, download, tmpdir)
File "c:\kallithea\env\lib\site-packages\setuptools\command\easy_install.py", line 853, in ins
tall_eggs
return self.build_and_install(setup_script, setup_base)
File "c:\kallithea\env\lib\site-packages\setuptools\command\easy_install.py", line 1081, in bu
ild_and_install
self.run_setup(setup_script, setup_base, args)
File "c:\kallithea\env\lib\site-packages\setuptools\command\easy_install.py", line 1067, in ru
n_setup
run_setup(setup_script, args)
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 246, in run_setup
raise
File "c:\bin\python27\Lib\contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "c:\bin\python27\Lib\contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 166, in save_modules
saved_exc.resume()
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
yield saved
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 243, in run_setup
DirectorySandbox(setup_dir).run(runner)
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 273, in run
return func()
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 242, in runner
_execfile(setup_script, ns)
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 46, in _execfile
exec(code, globals, locals)
File "c:\users\admini~1\appdata\local\temp\easy_install-3vmsij\PasteScript-2.0.2\setup.py", li
ne 151, in <module>
data_files=data_files,
File "c:\bin\python27\Lib\distutils\core.py", line 151, in setup
dist.run_commands()
File "c:\bin\python27\Lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "c:\bin\python27\Lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\kallithea\env\lib\site-packages\setuptools\command\bdist_egg.py", line 152, in run
self.run_command("egg_info")
File "c:\bin\python27\Lib\distutils\cmd.py", line 326, in run_command
self.distribution.run_command(command)
File "c:\bin\python27\Lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "c:\kallithea\env\lib\site-packages\setuptools\command\egg_info.py", line 177, in run
ep.require(installer=installer)
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 2386, in require
items = working_set.resolve(reqs, env, installer)
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 828, in resolve
dist = best[req.key] = env.best_match(req, ws, installer)
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 1073, in best_match
return self.obtain(req, installer)
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 1085, in obtain
return installer(requirement)
File "c:\kallithea\env\lib\site-packages\setuptools\dist.py", line 380, in fetch_build_egg
return cmd.easy_install(req)
File "c:\kallithea\env\lib\site-packages\setuptools\command\easy_install.py", line 640, in eas
y_install
return self.install_item(spec, dist.location, tmpdir, deps)
File "c:\kallithea\env\lib\site-packages\setuptools\command\easy_install.py", line 670, in ins
tall_item
dists = self.install_eggs(spec, download, tmpdir)
File "c:\kallithea\env\lib\site-packages\setuptools\command\easy_install.py", line 853, in ins
tall_eggs
return self.build_and_install(setup_script, setup_base)
File "c:\kallithea\env\lib\site-packages\setuptools\command\easy_install.py", line 1081, in bu
ild_and_install
self.run_setup(setup_script, setup_base, args)
File "c:\kallithea\env\lib\site-packages\setuptools\command\easy_install.py", line 1067, in ru
n_setup
run_setup(setup_script, args)
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 233, in run_setup
with setup_context(setup_dir):
File "c:\bin\python27\Lib\contextlib.py", line 17, in __enter__
return self.gen.next()
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 195, in setup_context
yield
File "c:\bin\python27\Lib\contextlib.py", line 35, in __exit__
self.gen.throw(type, value, traceback)
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 166, in save_modules
saved_exc.resume()
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 141, in resume
six.reraise(type, exc, self._tb)
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 154, in save_modules
yield saved
File "c:\kallithea\env\lib\site-packages\setuptools\sandbox.py", line 194, in setup_context
__import__('setuptools')
File "c:\kallithea\env\lib\site-packages\setuptools\__init__.py", line 11, in <module>
from setuptools.extern.six.moves import filterfalse, map
File "c:\kallithea\env\lib\site-packages\setuptools\extern\__init__.py", line 1, in <module>
from pkg_resources.extern import VendorImporter
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 3131, in <module>
@_call_aside
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 3117, in _call_aside
f(*args, **kwargs)
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 3156, in _initialize
_master_working_set
add_activation_listener(lambda dist: dist.activate())
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 957, in subscribe
callback(dist)
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 3156, in <lambda>
add_activation_listener(lambda dist: dist.activate())
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 2656, in activate
declare_namespace(pkg)
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 2226, in declare_nam
espace
_handle_ns(packageName, path_item)
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 2195, in _handle_ns
path.sort(key=sort_key)
File "c:\kallithea\env\lib\site-packages\pkg_resources\__init__.py", line 2193, in sort_key
return sys_path.index(_normalize_cached(os.sep.join(parts)))
ValueError: 'c:\\users\\admini~1\\appdata\\local\\temp\\easy_install-3vmsij\\pastescript-2.0.2\\
temp\\easy_install-p8w4cp\\pastedeploy-1.5.2' is not in list
----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in c:\users\admini~1\appdata\local\temp\
pip-build-p91kh6\kallithea
```
More information about the kallithea-general
mailing list