YosysHQ / nextpnr

nextpnr portable FPGA place and route tool
ISC License
1.28k stars 242 forks source link

Failed to locate the pytrellis library #926

Closed quantrpeter closed 2 years ago

quantrpeter commented 2 years ago

Hi All Please tell me how to resolve this in ubuntu 20.04, I already pip install it. thanks

home/peter/workspace/nextpnr>pip install pytrellis
Requirement already satisfied: pytrellis in /home/peter/.local/lib/python3.8/site-packages (0.0.1)
Requirement already satisfied: licorice>=0.0.2 in /home/peter/.local/lib/python3.8/site-packages (from pytrellis) (0.0.2)
Requirement already satisfied: numpy>=1.17.0 in /home/peter/.local/lib/python3.8/site-packages (from licorice>=0.0.2->pytrellis) (1.22.2)
/home/peter/workspace/nextpnr>cmake . -DARCH=ecp5 -DCMAKE_INSTALL_PREFIX=/usr/local
-- Building with IPO
-- Found Boost: /usr/include (found version "1.71.0") found components: filesystem program_options iostreams system thread regex chrono date_time atomic 
-- Found Boost: /usr/include (found version "1.71.0") found components: program_options filesystem system 
-- Configuring architecture: ecp5
-- Enabled ECP5 devices: 25k;45k;85k
-- Trellis install prefix: ../prjtrellis
-- Searching for pytrellis in: /usr/local/lib;/usr/local/lib/x86_64-linux-gnu;/usr/lib;/usr/lib/x86_64-linux-gnu;//lib;//lib/x86_64-linux-gnu;/usr/lib;/usr/lib/x86_64-linux-gnu;/usr/local/lib;/usr/local/lib/x86_64-linux-gnu;/usr/X11R6/lib;/usr/X11R6/lib/x86_64-linux-gnu;/usr/pkg/lib;/usr/pkg/lib/x86_64-linux-gnu;/opt/lib;/opt/lib/x86_64-linux-gnu;/usr/lib/X11
CMake Error at ecp5/CMakeLists.txt:64 (message):
  Failed to locate the pytrellis library

-- Configuring incomplete, errors occurred!
See also "/home/peter/workspace/nextpnr/CMakeFiles/CMakeOutput.log".
See also "/home/peter/workspace/nextpnr/CMakeFiles/CMakeError.log".
gatecat commented 2 years ago

Can you try installing prjtrellis from https://github.com/YosysHQ/prjtrellis if that's not where you got it from?

quantrpeter commented 2 years ago

thanks