Giter VIP home page Giter VIP logo

Comments (5)

OldTomCrazyCode avatar OldTomCrazyCode commented on May 29, 2024

[root@TTOOMM /home/root/ic_prjs/cocotb_test/cocotb/examples/simple_dff]$cocotb-config
usage: cocotb-config [-h] [--prefix] [--share] [--makefiles] [--python-bin] [--help-vars] [--libpython] [--lib-dir] [--lib-name INTERFACE SIMULATOR] [--lib-name-path INTERFACE SIMULATOR] [-v]

options:
-h, --help show this help message and exit
--prefix echo the package-prefix of cocotb
--share echo the package-share of cocotb
--makefiles echo the package-makefiles of cocotb
--python-bin echo the path to the Python binary cocotb is installed for
--help-vars show help about supported variables
--libpython Print the absolute path to the libpython associated with the current Python installation
--lib-dir Print the absolute path to the interface libraries location
--lib-name INTERFACE SIMULATOR
Print the name of interface library for given interface (VPI/VHPI/FLI) and simulator
--lib-name-path INTERFACE SIMULATOR
Print the absolute path of interface library for given interface (VPI/VHPI/FLI) and simulator
-v, --version echo the version of cocotb
[root@TTOOMM /home/root/ic_prjs/cocotb_test/cocotb/examples/simple_dff]$cocotb-config --lib-dir
/home/lib/python3.11/site-packages/cocotb/libs
[root@TTOOMM /home/root/ic_prjs/cocotb_test/cocotb/examples/simple_dff]$cocotb-config --libpython
[root@TTOOMM /home/root/ic_prjs/cocotb_test/cocotb/examples/simple_dff]$

from cocotb.

OldTomCrazyCode avatar OldTomCrazyCode commented on May 29, 2024

I can't find the libpython of cocotb....., I will get a error "
/home/lib/python3.11/site-packages/cocotb/share/makefiles/Makefile.inc:159: ***

find_libpython was not able to find a libpython in the current Python environment. Ensure
the Python development packages are installed. If they are installed and find_libpython
is not finding the path to libpython, file an upstream bug in find_libpython; then
manually override the LIBPYTHON_LOC make variable with the absolute path to libpython.so
(or python.dll on Windows)."

when i run the "make SIM=icarus".

why ???

just the libpython can not be finded.

please....
@nickg @ddribin @kaleb Barrett

from cocotb.

kaleb avatar kaleb commented on May 29, 2024

Thanks for mentioning me but I don't know if I can assist with this.

from cocotb.

xmy01 avatar xmy01 commented on May 29, 2024

hi I meet the same problem, your problem have been solved yet? thanks very much

from cocotb.

ktbarrett avatar ktbarrett commented on May 29, 2024

@xmy01 Is libpython3.X.so available on your system? You may need to install the libpython3.X-dev package if you are on Debian/Ubuntu. If you are on another OS, please research how to install that library. If you are sure there's a libpython3.X.so available on your system and cocotb-config --libpython still returns nothing, open a ticket against find_libpython.

And next time you have an issue with any tool on Github, open a new issue, don't bump closed issues.

from cocotb.

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.