Skip to content

Issue with installation on Windows #357

@panfinik

Description

@panfinik

Hi,

tried to install infomap on Windows 11 using pip, but every time has strange issue. I updated python and checked everything about python setting but it didn't work out/

Or is it issue with anaconda?
error: subprocess-exited-with-error

python setup.py egg_info did not run successfully.
exit code: 1

[26 lines of output]
C:\RTemp\pip-install-kjma5wkr\infomap_f307763a72294b7ba0f34a95728bc93c\setup.py:13: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import parse_version
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\RTemp\pip-install-kjma5wkr\infomap_f307763a72294b7ba0f34a95728bc93c\setup.py", line 131, in
if have_openmp():
^^^^^^^^^^^^^
File "C:\RTemp\pip-install-kjma5wkr\infomap_f307763a72294b7ba0f34a95728bc93c\setup.py", line 67, in have_openmp
if is_clang():
^^^^^^^^^^
File "C:\RTemp\pip-install-kjma5wkr\infomap_f307763a72294b7ba0f34a95728bc93c\setup.py", line 25, in is_clang
return b"clang" in subprocess.check_output([get_compiler(), "--version"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\anaconda3\Lib\subprocess.py", line 466, in check_output
return run(*popenargs, stdout=PIPE, timeout=timeout, check=True,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\anaconda3\Lib\subprocess.py", line 548, in run
with Popen(*popenargs, **kwargs) as process:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\ProgramData\anaconda3\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\ProgramData\anaconda3\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
[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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions