I am using Textmate 2.0 on Mac OSX and I cannot make it stop printing an error message every time I run the script. He continues to say:
Error in sitecustomize; set PYTHONVERBOSE for traceback: AttributeError: 'NoneType' object has no attribute 'name'
All I did was add a value /usr/local/bin/python3to the variable TM_PYTHONin the Settings menu.
/usr/local/bin/python3
TM_PYTHON
Does anyone know what is going on?
TextMate Python , . , , Python 3.4 reload() Python 3.3 new importlib. Python .
TextMate
reload()
importlib
, , , dummy sitecustomize.py sys.path Python 3.4. , :
sitecustomize.py
sys.path
echo '' > $(/usr/local/bin/python3.4 -c 'import site; print(site.getusersitepackages())')/sitecustomize.py
Source: https://habr.com/ru/post/1542702/More articles:Rails 4.1 - LoadError: unable to load such a file - active_support / core_ext / string / encoding - ruby | fooobar.comPthread runs slower as the thread grows - c ++Two Azure Mobile Services (.NET backend) using the same database - azureUsing Delphi to find special drives - windowsMarking a line with the corresponding symbol - typeshttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1542703/parse-for-android-cant-pin-list-of-subclass-to-cache&usg=ALkJrhgiwUB6fYi3wv6XRphPoH_NAiS-AAEnabling External Interrupts on an ARM Processor - armHow to write with id change type - haskellBootstrap accordion only automatically resets one panel - twitter-bootstrapCloud cloud library application applications are difficult to debug, possibly due to streaming? - c ++All Articles