Giter Site home page Giter Site logo

Comments (4)

cmoineau avatar cmoineau commented on August 20, 2024

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

from n2d2.

tohidarehman1988 avatar tohidarehman1988 commented on August 20, 2024

image
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:

from n2d2.

tohidarehman1988 avatar tohidarehman1988 commented on August 20, 2024

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

from n2d2.

cmoineau avatar cmoineau commented on August 20, 2024

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.

from n2d2.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.