PSCN icon indicating copy to clipboard operation
PSCN copied to clipboard

Problem with pynauty - Windows

Open yonatanbitton opened this issue 5 years ago • 4 comments

Hello. I'm trying to run it on Windows (Although it seems that the problem is missing directory so it will happen at Linux as well.

yehonata@YEHONATA-TP MINGW64 ~/PycharmProjects/PSCN-master/pynauty-0.6
$ make pynauty
cd nauty; ./configure CFLAGS='-O4 -fPIC'
/usr/bin/sh: line 0: cd: nauty: Not a directory
/usr/bin/sh: ./configure: No such file or directory
make: *** [nauty/config.log] Error 127

When I change the line in make file: NAUTY_DIR = nauty27rc1 Instead of NAUTY_DIR = nauty (Which is a file, not a dir)

I get the following error:

`make[1]: Leaving directory `C:/Users/yehonata/PycharmProjects/PSCN-mas                                                                                                                                                                       ter/pynauty-0.6.0/nauty27rc1'
python setup.py build
running build
running build_py
creating build
creating build\lib.win32-2.7
creating build\lib.win32-2.7\pynauty
copying src\graph.py -> build\lib.win32-2.7\pynauty
copying src\__init__.py -> build\lib.win32-2.7\pynauty
running build_ext
building 'pynauty.nautywrap' extension
error: Unable to find vcvarsall.bat
make: *** [pynauty] Error 1
`

What am I missing? Thanks

yonatanbitton avatar Aug 12 '19 07:08 yonatanbitton

Hello. I'm trying to run it on Windows (Although it seems that the problem is missing directory so it will happen at Linux as well.

yehonata@YEHONATA-TP MINGW64 ~/PycharmProjects/PSCN-master/pynauty-0.6
$ make pynauty
cd nauty; ./configure CFLAGS='-O4 -fPIC'
/usr/bin/sh: line 0: cd: nauty: Not a directory
/usr/bin/sh: ./configure: No such file or directory
make: *** [nauty/config.log] Error 127

When I change the line in make file: NAUTY_DIR = nauty27rc1 Instead of NAUTY_DIR = nauty (Which is a file, not a dir)

I get the following error:

`make[1]: Leaving directory `C:/Users/yehonata/PycharmProjects/PSCN-mas                                                                                                                                                                       ter/pynauty-0.6.0/nauty27rc1'
python setup.py build
running build
running build_py
creating build
creating build\lib.win32-2.7
creating build\lib.win32-2.7\pynauty
copying src\graph.py -> build\lib.win32-2.7\pynauty
copying src\__init__.py -> build\lib.win32-2.7\pynauty
running build_ext
building 'pynauty.nautywrap' extension
error: Unable to find vcvarsall.bat
make: *** [pynauty] Error 1
`

What am I missing? Thanks

I got the same problem as yours, and solved it by following this link. Good luck.

jasonseu avatar Mar 24 '20 09:03 jasonseu

hi, I got the same question. Have you solved this problem?

zyandtom avatar Jan 07 '21 07:01 zyandtom

Hello. I'm trying to run it on Windows (Although it seems that the problem is missing directory so it will happen at Linux as well.

yehonata@YEHONATA-TP MINGW64 ~/PycharmProjects/PSCN-master/pynauty-0.6
$ make pynauty
cd nauty; ./configure CFLAGS='-O4 -fPIC'
/usr/bin/sh: line 0: cd: nauty: Not a directory
/usr/bin/sh: ./configure: No such file or directory
make: *** [nauty/config.log] Error 127

When I change the line in make file: NAUTY_DIR = nauty27rc1 Instead of NAUTY_DIR = nauty (Which is a file, not a dir) I get the following error:

`make[1]: Leaving directory `C:/Users/yehonata/PycharmProjects/PSCN-mas                                                                                                                                                                       ter/pynauty-0.6.0/nauty27rc1'
python setup.py build
running build
running build_py
creating build
creating build\lib.win32-2.7
creating build\lib.win32-2.7\pynauty
copying src\graph.py -> build\lib.win32-2.7\pynauty
copying src\__init__.py -> build\lib.win32-2.7\pynauty
running build_ext
building 'pynauty.nautywrap' extension
error: Unable to find vcvarsall.bat
make: *** [pynauty] Error 1
`

What am I missing? Thanks

I got the same problem as yours, and solved it by following this link. Good luck.

i have the same problem but the link showed page not found... would u please descripe steps

Artorias-ruizi avatar Jul 19 '21 11:07 Artorias-ruizi

Also trying to install on Windows. Python 3.7, have tried both pip install and download from Github with python setup.py install. In both cases fail with

running build_ext C:\mingw64\bin\make.exe nauty-objects process_begin: CreateProcess(NULL, uname -a, ...) failed. Makefile:1: pipe: No error make -C src -f Makefile.nauty nauty.-objects Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Manage App Execution Aliases.

This last statement repeats ~50 times then get errors messages saying make.exe failed with exit status 2

I have added a PYTHONPATH entry to the environment but the same error occurs.

Does anyone have a solution? Thanks...

JWMac888 avatar Apr 29 '23 21:04 JWMac888