How can I fix my terminal error showing trackback(most recent call) - terminal

Whenever I open my terminal Instead of showing the user it shows an error
Traceback (most recent call last):
File "/usr/local/bin/powerline-shell", line 5, in
from powerline_shell import main
ModuleNotFoundError: No module named 'powerline_shell'

Related

Unable to run anaconda neither anaconda-prompt on Windows

I have a following problem. I am not able to run anaconda navigator, neither anaconda-prompt after anaconda3 installation.
Nothing happens when I click on anaconda-navigator.exe as saved in C:\Users\misak\anaconda3\Scripts. When I check environmental variables paths I have there C:\Users\misak\anaconda3\Scripts.
When I try to run anaconda navigator from cmd I get this error:
C:\Users\misak>anaconda-navigator
Traceback (most recent call last):
File "C:\Users\misak\anaconda3\lib\site-packages\qtpy\__init__.py", line 204, in <module>
from PySide import __version__ as PYSIDE_VERSION # analysis:ignore
ModuleNotFoundError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\misak\anaconda3\Scripts\anaconda-navigator-script.py", line 6, in <module>
from anaconda_navigator.app.main import main
File "C:\Users\misak\anaconda3\lib\site-packages\anaconda_navigator\app\main.py", line 22, in <module>
from anaconda_navigator.utils.conda import is_conda_available
File "C:\Users\misak\anaconda3\lib\site-packages\anaconda_navigator\utils\__init__.py", line 15, in <module>
from qtpy.QtGui import QIcon
File "C:\Users\misak\anaconda3\lib\site-packages\qtpy\__init__.py", line 210, in <module>
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found
I tried to reinstall Anaconda many times, co the problem seems to be somewhere else. Can you help my please?

I cannot start Anaconda

Traceback (most recent call last):
File "/home/setsoto/anaconda3/bin/anaconda-navigator", line 7, in
from anaconda-navigator.app.main import main
ModuleNotFoundError: No module named 'anaconda_navigator'
This is what I'm getting when I try to start anaconda and I don't know what happened because it has been working fine

No module named 'conda' in Pycharm Terminal

When I start a Terminal in Pycharm I get this error:
Traceback (most recent call last):
File "/home/jon/anaconda3/bin/conda", line 12, in <module>
from conda.cli import main
ModuleNotFoundError: No module named 'conda'
I don't have conda in /home/jon/anaconda3/bin/conda
My conda is in /home/jon/miniconda3/bin, which I recently installed. So I believe there is a clash somewhere.
This is my PATH:
/home/jon/miniconda3/bin:/home/jon/miniconda3/condabin:/home/jon/anaconda3/bin:/usr/local/cuda/bin:/usr/local/cuda/lib64:/home/jon/bin:/home/jon/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/jon/bin': not a valid identifier
How can I resolve the clash?

Qpython curses library could not find terminal

I am trying to make a curses script on Qpython, but neither do qpy2 or 3 work.
On Qpython 2, import curses says 'module not found', and on Qpython 3, it works, but at the first initscr it crashes with the following exception:
Traceback (most recent call last):
File "/mnt/sdcard/com.hipipal.qpyplus/scripts3/testcurses.py", line 4, in <module>
win=curses.initscr()
File "/data/data/com.hipipal.qpy3/files/lib/python3.2/python32.zip/curses/__init__.py", line 31, in initscr
_curses.error: setupterm: could not find terminal
I am using the example that came with Qpython 3 as a test.
If that helps, I'm using a kindle fire HD (the old one) with a sideloaded APK from google play.
(no I'm not rooted)

Error for syncdb while installing openstack

I've seen other people say they have this error from openstack also, but I have not been able to find any kind of answer.
I followed the website http://uksysadmin.wordpress.com/2011/02/17/ for the base installation of openstack, and this seems to work correctly.
Now I'm following the website http://wiki.openstack.org/OpenStackDashboard to install openstack Dashboard and when I get to the command "tools/with_venv.sh dashboard/manage.py syncdb" I get this error:
ERROR:root:No module named local.local_settings
Traceback (most recent call last):
File "/home/harlan/horizon/openstack-dashboard/dashboard/settings.py", line 126, in <module>
from local.local_settings import *
ImportError: No module named local.local_settings
ERROR:root:No module named local.local_settings
Traceback (most recent call last):
File "/home/harlan/horizon/openstack-dashboard/dashboard/../dashboard/settings.py", line 126, in <module>
from local.local_settings import *
ImportError: No module named local.local_settings
Error: No module named horizon.dashboards.settings
I'm doing the installation on Ubuntu 11.10 Server.
It looks like it's not finding your local_settings.py file, make sure you did this step (documented on the wiki):
$ cd horizon/openstack-dashboard
$ cp local/local_settings.py.example local/local_settings.py
As an aside, the simplest way to get up and running with OpenStack is to use DevStack.

Resources