oscad installation error
Title
Question
Hello,
I attended your last workshop on OSCAD at IIT Bombay.
I installed OSCAD on my office PC successfully. But When I try to run it, I am getting the following error.
<font face="'courier new', monospace">Traceback (most recent call last):</font>
<font face="'courier new', monospace"> File "/usr/bin/oscad", line 10, in <module></font>
<font face="'courier new', monospace"> import ttk</font>
<font face="'courier new', monospace">ImportError: No module named ttk</font>
<font face="'courier new', monospace">
</font>
</font>
<font face="arial, helvetica, sans-serif">Can you help me on this issue?</font>
<font face="arial, helvetica, sans-serif">PC details:</font>
<font face="arial, helvetica, sans-serif">Python version = 2.6.6</font>
<font face="arial, helvetica, sans-serif">OS = Ubuntu 10.10</font>
<font face="arial, helvetica, sans-serif">
</font>
</font>
<font face="arial, helvetica, sans-serif">
</font>
</font>
<font face="arial, helvetica, sans-serif">Thanks and Regards.</font>
Oscad Introduction-to-Oscad 00-01 min 0-10 sec
Answers:
Hi,
Pls try reinistalling the packages, python-tk, python-imaging-tk.
for this type the linux command on terminal as, sudo apt-get install python-tk python-imaging-tk
(Or you can also install it using synaptic package manager.)
Pls try reinistalling the packages, python-tk, python-imaging-tk.
for this type the linux command on terminal as, sudo apt-get install python-tk python-imaging-tk
(Or you can also install it using synaptic package manager.)
Pls let us know if you still get any issues?
Thanks,
Shambhu
Thanks,
Shambhu
Hi Ravindra,
There are few packages required before running installation script.
<span style="line-height: 1.428571429;">Did you run installation script again after installing python package ? </span>
There are few packages required before running installation script.
<span style="line-height: 1.428571429;">Did you run installation script again after installing python package ? </span>
<span style="line-height: 1.428571429;">If not please run it.</span>
I reinstalled oscad, it is still giving the same error. Should I have uninstalled it first and then installed it again?
The software 'KiCad', shows up in the applications menu and It opens successfully. But for oscad, even the desktop icon is not getting created by the installation script.
Login to add comment
Hi,
pls download the <a href="https://pypi.python.org/packages/source/p/pyttk/pyttk-0.3.2.tar.gz#md5=c80a3d306f4db8e5a1df16c359d4cf85" target="" title="file">file</a> , extract it and follow the README inside the folder. pls let us know if it is solves your problem
pls download the <a href="https://pypi.python.org/packages/source/p/pyttk/pyttk-0.3.2.tar.gz#md5=c80a3d306f4db8e5a1df16c359d4cf85" target="" title="file">file</a> , extract it and follow the README inside the folder. pls let us know if it is solves your problem
That worked. Oscad is now installed and running. Many Thanks.
I also followed the spoken-tutorial 'oscad-schematic-creation-e.ogv' and everything worked. However, while generating netlist from circuit-schematic the checkbox " Prefix references 'U' and 'IC' with 'X' " was not available. Is this serious?
Best Regards.
Login to add comment
Hi,
when you click on Generate netlist button on the schematic editor, does the pop-up with it's name as "netlist" is coming?
when you click on Generate netlist button on the schematic editor, does the pop-up with it's name as "netlist" is coming?
Yes. I am talking about that only. In the tab named 'Spice' of the "netlist" window, the checkbox " Prefix references 'U' and 'IC' with 'X' " is not there.
It is OK. The Spoken Tutorial says that the option Prefix references 'U' and 'IC' with 'X' should not be enabled. If it is already disabled then there is no problem. In the tutorial, it was enabled and we show how to "uncheck" it. You can proceed. No need to install Oscad again.
Login to add comment
Can you pls try running the installer once again?. May be some python modules might not have been installed.
What do you think about rakhiwarriar's comment above?
Yes, that way also is fine.
Okay then. Thanks once again. I am pleased with the kind of support you have provided. Hoping to get similar support for future issues (if any).
Login to add comment
Login to add comment