question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cocotb installation issue

See original GitHub issue

Hello , I am facing issues installing cocotb as I am checking for cocotb -config --version , I have following enviroment specs.

  • windows 10 (64 bit),
  • I have installed icarus verilog (64 bit),
  • I am using Pycharm with python version 3.9.5 .

The Error showing is :

$ make
Traceback (most recent call last):
  File "c:\python\lib\runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "c:\python\lib\runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "C:\python\Scripts\cocotb-config.exe\__main__.py", line 4, in <module>
  File "c:\python\lib\site-packages\cocotb\__init__.py", line 43, in <module>
    import cocotb.handle
  File "c:\python\lib\site-packages\cocotb\handle.py", line 38, in <module>
    from cocotb import simulator
ImportError: DLL load failed while importing simulator: The specified module could not be found.
Makefile:47: /Makefile.sim: No such file or directory
make: *** No rule to make target '/Makefile.sim

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:22 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
ktbarrettcommented, Jun 22, 2021

@Future-progrmer cocotb-config is a single word. I also doubt you will be able to call cocotb-config directly since Windows does not add the Scripts directly to the PATH. If that command does not work, try python -m cocotb.config --version.

0reactions
Abhishek-Manda1commented, Jun 23, 2021

I have reinstalled cocotb and try to run a test from C:\cocotb-master\examples\adder\tests

/usr/bin/tr: missing operand Try ‘/usr/bin/tr --help’ for more information. c:\users\asus\miniconda3\lib\site-packages\cocotb\share\makefiles/Makefile.sim:108: *** “Couldn’t find makefile for simulator: “”! Available simulators: vcs questa verilator ghdl icarus riviera activehdl xcelium ius modelsim cvc”. Stop.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Installation — cocotb 1.7.2 documentation
Using cocotb requires installation of prerequisites and installation of cocotb itself. In this document, we are assuming that you already have a supported ......
Read more >
How does one install cocotb-bus? · Issue #21 - GitHub
I'm trying to use setup.py but when I do: $ python3.6 setup.py build --build-lib /scratch/tstrader/cocotb-bus and then run a test, ...
Read more >
pip install cocotb ask me for visual C++ compiler installation
It seems to be a verilator install error. I don't need verilator, maybe there is an option to not install it ? python...
Read more >
cocotb - PyPI
After installing these dependencies, the latest stable version of cocotb can be installed with pip. pip install cocotb. For more details on installation, ......
Read more >
cocotb/Lobby - Gitter
i am facing problem with linux mint installation in a virtual box and windows ... Hi, i tried to install cocotb on windows...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found