Basilisk (Python) not configuring in Windows #485
Replies: 1 comment 1 reply
-
Hey, it is resolved. Just make sure that Swig is installed correctly and recognized by your terminal! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello everyone,
I am trying to build the Basilisk (2.20) in WIndows 10. I am using a virtual Python environment (with Python 3.7) as it was mentioned in the website for building in Windows. The Basilisk is now added to Python and it passes the C++ tests, when I run the ctest in dist3. However, the Python packages or basically the Python wrapper is not build correctly because the pytest fails. Does anyone encountered the same issue or have any idea how to solve it?
Below I attach the error that I get after running pytest in ../src folder. Basically the Python module packages are empty, and I think that's why it asks for a valid name (to point to non-empty files). I am suspecting it may be related to a mistake that occurs while running the CMakeList.txt file.
`============================= test session starts =============================
platform win32 -- Python 3.7.0, pytest-7.4.3, pluggy-1.2.0
rootdir: ...\basilisk\src
configfile: pytest.ini
collected 183 items / 251 errors
=================================== ERRORS ====================================
__ ERROR collecting architecture/messaging/_UnitTest/test_CMsgTimeWritten.py __
ImportError while importing test module 'C:\Users\IrmakCavdar\git\basilisk\src\architecture\messaging_UnitTest\test_CMsgTimeWritten.py'.
Hint: make sure your test modules/packages have valid Python names.
`
Beta Was this translation helpful? Give feedback.
All reactions