Open tohidarehman1988 opened 1 year ago
Hello @tohidarehman1988,
Are you sure Gnuplot is well installed ? To test this you can try:
gnuplot --version
From what I can see, GNUPLOT_EXECUTABLE
is set by: https://cmake.org/cmake/help/latest/module/FindGnuplot.html
So maybe setting this variable in the CmakeList can fix your issue ?
You can find the path to the gnuplot executable using:
which gnuplot
Cheers, Cyril
Name: PyGnuplot Version: 0.12.3 Summary: Python Gnuplot wrapper Home-page: https://github.com/benschneider/PyGnuplot Author: Ben Schneider Author-email: License: MIT Location: /usr/local/lib/python3.10/dist-packages Requires: Required-by:
Please help @cmoineau Platform is google colab: When executing !python setup.py bdist_wheel
Error is like this given below:
cmake /content/drive/MyDrive/N2D2 -- cotire 1.8.0 loaded. CMake Error at /usr/local/lib/python3.10/dist-packages/cmake/data/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Gnuplot (missing: GNUPLOT_EXECUTABLE) Call Stack (most recent call first): /usr/local/lib/python3.10/dist-packages/cmake/data/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE) /usr/local/lib/python3.10/dist-packages/cmake/data/share/cmake-3.25/Modules/FindGnuplot.cmake:53 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:228 (find_package)
-- Configuring incomplete, errors occurred! See also "/content/drive/MyDrive/N2D2/CMakeFiles/CMakeOutput.log". See also "/content/drive/MyDrive/N2D2/CMakeFiles/CMakeError.log". error: command '/usr/local/bin/cmake' failed with exit code 1
Can you try to run the command I have send you ? CMake recquires gnuplot and it looks like pygnuplot install it in a path which is not available to Cmake.
CMake Error at /usr/local/lib/python3.10/dist-packages/cmake/data/share/cmake-3.25/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find Gnuplot (missing: GNUPLOT_EXECUTABLE) Please help to resolve this.