у меня есть человечность 16.04 на моем ноутбуке, наряду с python 2.7. в какой-то момент я изменил мой PYTHONPATH
так, чтобы это могло работать с tensorflow
. однако, если я ввожу ls-
в терминал затем ошибка, которую я получаю,
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 23, in <module>
import gettext
File "/usr/lib/python3.5/gettext.py", line 49, in <module>
import locale, copy, io, os, re, struct, sys
File "/usr/lib/python3.5/locale.py", line 16, in <module>
import re
File "/usr/lib/python3.5/re.py", line 335, in <module>
import copyreg
File "/home/<username>/.local/lib/python2.7/site-packages/copyreg/__init__.py", line 7, in <module>
raise ImportError('This package should not be accessible on Python 3. '
ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 53, in apport_excepthook
if not enabled():
File "/usr/lib/python3/dist-packages/apport_python_hook.py", line 24, in enabled
import re
File "/usr/lib/python3.5/re.py", line 335, in <module>
import copyreg
File "/home/<username>/.local/lib/python2.7/site-packages/copyreg/__init__.py", line 7, in <module>
raise ImportError('This package should not be accessible on Python 3. '
ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.
Original exception was:
Traceback (most recent call last):
File "/usr/lib/command-not-found", line 23, in <module>
import gettext
File "/usr/lib/python3.5/gettext.py", line 49, in <module>
import locale, copy, io, os, re, struct, sys
File "/usr/lib/python3.5/locale.py", line 16, in <module>
import re
File "/usr/lib/python3.5/re.py", line 335, in <module>
import copyreg
File "/home/<username>/.local/lib/python2.7/site-packages/copyreg/__init__.py", line 7, in <module>
raise ImportError('This package should not be accessible on Python 3. '
ImportError: This package should not be accessible on Python 3. Either you are trying to run from the python-future src folder or your installation of python-future is corrupted.
и это должно просто быть
bash: ls-: command not found
я - своего рода придирчивый человек, таким образом, это несколько беспокоит меня.спасибо!