ModuleNotFoundError: Difference between revisions

From GNU Radio
Jump to navigation Jump to search
(first draft)
 
No edit summary
Line 5: Line 5:
When you start gnuradio-companion, if you get the following error message:  
When you start gnuradio-companion, if you get the following error message:  


[[File:ModNotFound.png]]
[[File:ModNotFound.png|300px]]


then put the following 'export' commands in your <code>.bashrc</code> or <code>.bash_aliases</code> file and restart your terminal.<br>
then put the following 'export' commands in your <code>.bashrc</code> or <code>.bash_aliases</code> file and restart your terminal.<br>
Line 17: Line 17:
<pre>
<pre>
export PYTHONPATH={prefix}/lib/python3/dist-packages:{prefix}/lib/python3/site-packages:$PYTHONPATH
export PYTHONPATH={prefix}/lib/python3/dist-packages:{prefix}/lib/python3/site-packages:$PYTHONPATH
export LD_LIBRARY_PATH={prefix}/lib/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH={prefix}/lib:$LD_LIBRARY_PATH
</pre>
</pre>


Line 23: Line 23:
<pre>
<pre>
export PYTHONPATH={prefix}/lib64/python3/site-packages:$PYTHONPATH
export PYTHONPATH={prefix}/lib64/python3/site-packages:$PYTHONPATH
export LD_LIBRARY_PATH={prefix}/lib/:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH={prefix}/lib64:$LD_LIBRARY_PATH
</pre>
</pre>


== Windows systems ==
== Windows systems ==
???
???

Revision as of 17:45, 22 January 2020

DRAFT Module Not Found Error

These instructions apply to installations for https://wiki.gnuradio.org/index.php/InstallingGR#To_install_system_wide and for https://github.com/gnuradio/pybombs#pybombs

When you start gnuradio-companion, if you get the following error message:

ModNotFound.png

then put the following 'export' commands in your .bashrc or .bash_aliases file and restart your terminal.

Determine your installation prefix

  1. on a terminal screen, enter gnuradio-config-info --prefix
  2. use that prefix in place of {prefix} in the following commands

Linux-based systems including OSX

- For ALL 32-bit systems and ALL Debian / Ubuntu (and derivative) systems, use:

export PYTHONPATH={prefix}/lib/python3/dist-packages:{prefix}/lib/python3/site-packages:$PYTHONPATH
export LD_LIBRARY_PATH={prefix}/lib:$LD_LIBRARY_PATH

- For other 64-bit systems, use:

export PYTHONPATH={prefix}/lib64/python3/site-packages:$PYTHONPATH
export LD_LIBRARY_PATH={prefix}/lib64:$LD_LIBRARY_PATH

Windows systems

???