Cocotb 1.7.rc: cocotb-config
See original GitHub issueI updated my Cocotb 1.6.2 to 1.7.rc with the following command:
python3 -m pip install cocotb==1.7.rc2
Now if I call cocotb-config --makefiles
(with or without any parameters), I get the following error message:
Traceback (most recent call last):
File "/home/reto.meier/.pyenv/versions/3.10.1/bin/cocotb-config", line 5, in <module>
from cocotb.config import main
File "/home/reto.meier/.pyenv/versions/3.10.1/lib/python3.10/site-packages/cocotb/__init__.py", line 43, in <module>
import cocotb.handle
File "/home/reto.meier/.pyenv/versions/3.10.1/lib/python3.10/site-packages/cocotb/handle.py", line 39, in <module>
from cocotb import simulator
ImportError: cannot import name 'simulator' from partially initialized module 'cocotb' (most likely due to a circular import) (/home/reto.meier/.pyenv/versions/3.10.1/lib/python3.10/site-packages/cocotb/__init__.py)
How can I fix this? Do I need to do some cleanup after installing? Thank you for your help Kind regards
Reto
OS: CentOS 8 / 64bit Simulator 32bit Modelsim.
Issue Analytics
- State:
- Created a year ago
- Comments:18 (18 by maintainers)
Top Results From Across the Web
Installing the Development Version - cocotb's documentation!
The development version of cocotb has different prerequisites than the stable version (see below). Namely, it requires the Python development headers and a ......
Read more >cocotb - PyPI
cocotb is a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python. ... cocotb 1.7.2. pip install cocotb
Read more >cocotb, a coroutine based cosimulation library for ... - GitHub
cocotb, a coroutine based cosimulation library for writing VHDL and Verilog testbenches in Python - GitHub - cocotb/cocotb: cocotb, a coroutine based ...
Read more >cocotb/Lobby - Gitter
@cocotb.coroutine def write(self, address, data, byte_enable=0b11111111, ... Trying to upgrade the same to cocotb 1.7.2 and it seems that test data is ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This can be solved with (in
site-packages/cocotb
) :🤷🏻
OS: CentOS 8 / 64bit Python: 3.10 / 32bit
Ubuntu 20.04 works with
CC="gcc -m32"