Nothing Special   »   [go: up one dir, main page]

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

Issue with installation on Windows #357

Open
panfinik opened this issue Apr 12, 2024 · 5 comments
Open

Issue with installation on Windows #357

panfinik opened this issue Apr 12, 2024 · 5 comments

Comments

@panfinik
Copy link

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.

@noblefairytale
Copy link

I have the same error, interested if anyone finds a solution to fix this.

@a641324093
Copy link

me too

@1ines
Copy link
1ines commented Jul 10, 2024

I have similar issue on Linux

@pinkskyxj
Copy link

I have the same issue on win10

@pinkskyxj
Copy link

I have the same issue on win10

ok,I have solved this problem.My python version is 3.11,but infomap just support py3.6 to 3.10.After I download and install python3.8,I can download infomap on Navigator(search 'infomap' then apply).Finally,it works.

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

5 participants