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

Installation Issues in Windows #24

Open
vishnu67sankar opened this issue Oct 19, 2022 · 1 comment
Open

Installation Issues in Windows #24

vishnu67sankar opened this issue Oct 19, 2022 · 1 comment

Comments

@vishnu67sankar
Copy link

Hello,
I tried out the installation guidelines however some kind of CMake error (attached below) still persists. I am trying to download through the base environment of Anaconda3, which uses Python 3.9.12. The following are the version of the packages already available:

  • gcc/gfortran/g++ - 6.3.0
  • scikit-build - 0.15.0
  • cmake - 3.24.2

I also created distutils.cfg in PYTHONPATH\Lib\distutils. I looked into the CMakeOutput.log file which says "The system is: Windows - 10.0.19044 - AMD64"

Error attached below:


Processing d:\softwares\xfoil_py
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'done'
Requirement already satisfied: numpy in d:\softwares\anaconda\anaconda3\lib\site-packages (from xfoil==1.1.1) (1.21.5)
Building wheels for collected packages: xfoil
  Building wheel for xfoil (pyproject.toml): started
  Building wheel for xfoil (pyproject.toml): finished with status 'error'
Failed to build xfoil
Output exceeds the [size limit](command:workbench.action.openSettings?%5B%22notebook.output.textLineLimit%22%5D). Open the full output data[ in a text editor](command:workbench.action.openLargeOutput?ee85fc18-8ae6-490a-a1e0-964b68d61db8)
  ERROR: Command errored out with exit status 1:
   command: 'd:\softwares\anaconda\anaconda3\python.exe' 'd:\softwares\anaconda\anaconda3\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\HP\AppData\Local\Temp\tmpbsxdz0k9'
       cwd: D:\softwares\xfoil_py
  Complete output (72 lines):
  running bdist_wheel
  running build
  running build_py
  running build_ext
  ['-DCMAKE_BUILD_TYPE=Release', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=D:\\softwares\\xfoil_py\\build\\lib.win-amd64-cpython-39\\xfoil', '-DCMAKE_ARCHIVE_OUTPUT_DIRECTORY_RELEASE=build\\temp.win-amd64-cpython-39\\Release', '-DPYTHON_EXECUTABLE=d:\\softwares\\anaconda\\anaconda3\\python.exe', '-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=TRUE', '-DCMAKE_RUNTIME_OUTPUT_DIRECTORY_RELEASE=D:\\softwares\\xfoil_py\\build\\lib.win-amd64-cpython-39\\xfoil', '-DCMAKE_GENERATOR_PLATFORM=x64']
  CMake Error at CMakeLists.txt:2 (project):
    Generator
  
      NMake Makefiles
  
    does not support platform specification, but platform
  
      x64
  
    was specified.
  
  
  CMake Error: CMAKE_Fortran_COMPILER not set, after EnableLanguage
  -- Configuring incomplete, errors occurred!
  See also "D:/softwares/xfoil_py/build/temp.win-amd64-cpython-39/Release/CMakeFiles/CMakeOutput.log".
  Traceback (most recent call last):
...
  ERROR: Failed building wheel for xfoil
ERROR: Could not build wheels for xfoil, which is required to install pyproject.toml-based projects

@atharvaaalok
Copy link

Did you find a solution for this?

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

2 participants