Windows Installation failed

14 views
Skip to first unread message

Enrique Carlos Toomey

unread,
Aug 13, 2024, 1:42:08 AM8/13/24
to Basilisk Forum
I followed instructions on https://www.hanspeterschaub.info/basilisk/Install/installOnWindows.html and failed with the following problems. I'm on a windows 11, x64 machine.

First:

(.venv) C:\Users\admin\IO\basilisk>python conanfile.py          
Traceback (most recent call last):
  File "C:\Users\admin\IO\basilisk\conanfile.py", line 9, in <module>
    import pkg_resources
ModuleNotFoundError: No module named 'pkg_resources'

Even though I'm running with an updated version of python and I succesfully installed wheel and conan 1.65.0

(.venv) C:\Users\admin\IO\basilisk>python --version
Python 3.12.5

(.venv) C:\Users\admin\IO\basilisk>pip freeze
bottle==0.12.25
certifi==2024.7.4
charset-normalizer==3.3.2
colorama==0.4.6
conan==1.65.0
fasteners==0.19
idna==3.7
Jinja2==3.1.4
MarkupSafe==2.1.5
node-semver==0.6.1
patch-ng==1.17.4
pluginbase==1.0.1
Pygments==2.18.0
PyJWT==2.9.0
python-dateutil==2.9.0.post0
PyYAML==6.0.2
requests==2.32.3
six==1.16.0
tqdm==4.66.5
urllib3==1.26.19
wheel==0.44.0

I also tried uninstalling and re-installing setuptools but it didn't help. 

Ok, so I proceed to comment out that line, and encounter another error:

Checking conan configuration: Done
cmake generator set to: Visual Studio 16 2019
ERROR: Basilisk/2.3.29: 'settings.compiler' value not defined

Now, I have cmake=3.30.2 installed and version 1.91.1 of visual studio:

(.venv) C:\Users\admin\IO\basilisk>cmake --version
cmake version 3.30.2
visual_studio_version.png

I added swig, cmake, python, and basilisk/dist3/Basilisk to my path in Environmental Variables.

I have no idea how to debug this... tried to follow conanfile.py logic, but I couldn't.  Could you give me a had debugging this?
Reply all
Reply to author
Forward
0 new messages