Comments (8)
Well I tried again using python 2.7 and it has worked.... just run on terminal
python2 models_GUI.py and it went everything ok
from sms-tools.
Thank you! How Could I have missed that? I feel silly.
It works now!
from sms-tools.
ñ
too spicy for Python jaja
from sms-tools.
I've been sticking to python3, so for the GUI i had to install tkinter via
sudo apt-get install python3-tk
After performing that install.. it worked. I personally think they shouldn't suggest people install most of the packages via apt-get
, as those usually stay out of date longer compared to the pip
install. You might want to try getting Tkinter installed on OSX either via pip
or compiling from sources
here was my error before
emcp@emcp:~/Dev/git/MTG/sms-tools/software/models_interface$ python3 models_GUI.py
Traceback (most recent call last):
File "models_GUI.py", line 8, in <module>
from Tkinter import * ## notice capitalized T in Tkinter
ImportError: No module named 'Tkinter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.5/tkinter/__init__.py", line 36, in <module>
import _tkinter
ImportError: No module named '_tkinter'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "models_GUI.py", line 11, in <module>
from tkinter import * ## notice lowercase 't' in tkinter here
File "/usr/lib/python3.5/tkinter/__init__.py", line 38, in <module>
raise ImportError(str(msg) + ', please install the python3-tk package')
ImportError: No module named '_tkinter', please install the python3-tk package
from sms-tools.
I've tried to Compute the STFT using the models_gui.py file, but as I click on "Compute", a new window opens with a screenshot from my actual screen and then it suddenly freezes. I've already tried to rollback to earlier version of numpy (as suggested on #49) and also tried to do the rollback of numpy, but nothing has worked. Does anybody have any idea of what could be happening?
I'm using Ubuntu 16.04 LTS, python 3.6 and Anaconda.
from sms-tools.
@Marcio547 I would uninstall all the apt-get
installed python packages and just use pip install
... their instructions are not common practice anymore now that pip is much more up to date
from sms-tools.
When running in MacOS 10.12.6 it shows this error:
sms-tools-master/software/models_interface$ python models_GUI.py
Traceback (most recent call last):
File "models_GUI.py", line 22, in
from dftModel_GUI_frame import *
File "/Users/joaquinjimenez/Google Drive/UPF SMC/Procesamiento Digital de Señales/sms-tools-master/software/models_interface/dftModel_GUI_frame.py", line 14, in
import dftModel_function
File "/Users/joaquinjimenez/Google Drive/UPF SMC/Procesamiento Digital de Señales/sms-tools-master/software/models_interface/dftModel_function.py", line 4, in
import matplotlib.pyplot as plt
File "/Users/joaquinjimenez/anaconda2/lib/python2.7/site-packages/matplotlib/pyplot.py", line 69, in
from matplotlib.backends import pylab_setup
File "/Users/joaquinjimenez/anaconda2/lib/python2.7/site-packages/matplotlib/backends/init.py", line 14, in
line for line in traceback.format_stack()
File "/Users/joaquinjimenez/anaconda2/lib/python2.7/site-packages/matplotlib/backends/init.py", line 16, in
if not line.startswith(' File "<frozen importlib._bootstrap'))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xcc in position 79: ordinal not in range(128)
from sms-tools.
@jjsauma , you have an ñ
in the path, did you try moving the project out of that path and retrying?'
or might be this https://stackoverflow.com/questions/21129020/how-to-fix-unicodedecodeerror-ascii-codec-cant-decode-byte
from sms-tools.
Related Issues (20)
- module 'utilFunctions_C' has no attribute 'twm' HOT 3
- Sms
- HPS Morph transformation error HOT 1
- some button labels invisible in osx
- Sjd
- problem with cutilFunctions.pyx
- SMS
- Why the STFT calculated by SMS tool and Librosa is different? HOT 1
- Ubuntu installation instructions seem to not be working HOT 2
- Inconsistent use of tabs and spaces
- models_GUI.py and models_transformations_GUI.py don't run in python3 HOT 2
- Python 3.9 changes for compatibility and to remove exceptions. HOT 2
- Bad indices in stochastic and hpsmorph transformations HOT 1
- A4Part3 instruction exercice should be fixed
- NameError: name 'filedialog' is not defined HOT 1
- module 'numpy' has no attribute 'float' HOT 2
- Transformations_GUI issues on Python 3.11.1 (and 3.9.6) HOT 1
- utilsFunctions c function not compiling correctly on MacOSX? HOT 1
- ValueError: operands could not be broadcast together with shapes (100,) (0,)
- Transformation-GUI - HPS Morph
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sms-tools.