No, thanks Sign in Microsoft.com United States (English) Australia (English)Brasil (Português)Česká republika (Čeština)Danmark (Dansk)Deutschland (Deutsch)España (Español)France (Français)Indonesia (Bahasa)Italia (Italiano)Magyarország (Magyar)Nederland (Nederlands)Polska (Polski)România (Română)Singapore (English)Türkiye (Türkçe)Россия (Русский)ישראל (עברית)المملكة العربية السعودية (العربية)ไทย (ไทย)대한민국 (한국어)中华人民共和国 For instance, passing a Python list, tuple, dictionary, numeric, string, or None will raise a TypeError exception. Join them; it only takes a minute: Sign up “import site' failed; use -v for traceback” - mac os lion, python 2.7, subprocess up vote 2 down vote favorite I'm trying However, sometimes creation of a weak references fails silently: >>> a = Foo() created >>> b = Foo() created >>> a.store(b.show) # store creates a weak reference >>> a.show() None Shouldn't check over here
I don't know exactly how it works, but I activate (a python term I guess) a different python environment for each version of the software that I'm working on. I understand that I can withdraw my consent at any time. No.
Also, if you're on Windows XP, I would suggest trying to start Sublime Text from PowerShell if you have it installed (I don't) and see if that way it works fine. I'm guessing I'm in a bit of a catch 22, I need to install virtual env to make python 2.6 run, but I need to run python 2.6 to install virtualenv. You could try inserting a pdb.set_trace() into the install_python function in virtualenv.py, and see if you can see where it's failing. If you would like to refer to this comment somewhere else in this project, copy and paste the following link: Fabio Zadrozny - 2011-09-15 status: open --> pending If you
I have tried the bat-script you suggested and it seems to work . Which word should I use for "to drive (a car)"? After running the failing command, I find a lib\site.py which is identical to the site.py found in the \lib\site-packages\virtualenv-1.5.2.post2-py2.7.egg\virtualenv_support directory inside the 2.7 installation - so there is no failure copying look at this site Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox.
To create a weak reference to an object, you use the weakref.ref function. Got it working when I replaced Python 2.7 with Python 2.6.4 as suggested.Is there a way to keep different version of Python? The Houdini system requirements still read as though Python 2.6.4 is the latest supported version.Maybe Houdini can't find the new Python library and executable paths. Can you please give me more of an idea about what I am looking for?
Thanks for your understanding. http://mindtrove.info/python-weak-references/ I'm also going to try the PowerShell approach at some time, but for now I'll continue with the bat-script and see how far I make it this time . Board index All times are UTC POWERED_BY Translated by Maël Soucaze © 2009 phpBB.fr SourceForge Browse Enterprise Blog Deals Help Create Log In or Join Solution Centers Go Parallel Resources Newsletters Corrupt module of framework Hot Network Questions 301RedirectModule isn't working for URL with dot file name River Crossing Puzzle How do I avoid referring to all state variables when updating only
Jan 16 '12 at 8:22 add a comment| 3 Answers 3 active oldest votes up vote 1 down vote The error raised is from bzr, not your script. http://amigasuperbit.com/python-cannot/python-cannot-create-a-consistent-method-resolution-order-mro.html How to decline a postdoc interview if there is some possible future collaboration? Try Python 2.6, that's what Houdini, Maya and Nuke all use… Report #2 Cyzor Member 126 posts Joined: Feb. 2013 Offline March 7, 2013 3:27 p.m. What crime would be illegal to uncover in medieval Europe?
Try running your bzrMergeCommand from the commandline, i.e. Good idea. I can have several different versions of this build tool running simultaneously, when I'm working on more than one project, release or feature. this content Is there an order of installation I must do?
That is, if an object has only weak references, it will be destroyed. I simply cannot build anything on my machine at work no matter how I start Sublime 2, but at home it is working fine after you guys solved the Unicode problem Build me a brick wall!
For all other objects, it acts just like weakref.proxy: Another Read: Validate Your Accessibility » Eitan committed a new plug-in for Accerciser that makes it dirt simple to find basic accessibility guillermooo 2011-07-19 08:39:05 UTC #4 It seems that Sublime Text is reading the PYTHONPATH environment variable and maybe scanning the standard library of your system's Python for *Command classes. and see if it works. Another possibility is that the interpreter configuraton has mixed paths.
Updating the environmental variables to point to the latest Python location might help in that case.Nevertheless, on Windows, the application ought to default to the Python version packaged with Houdini, residing Reinstall Python. And which is the default? have a peek at these guys Also, bzr is failing on import os, so in the python shell, try importing os and make sure it works. –Perkins Jan 12 '12 at 19:31 I tried running
I think the traceback and the error are red herrings - the real problem is that the virtual environment isn't being set up correctly in the first place, and the things About the kanji 鱈 Show that the square matrix A is invertible Can a president win the electoral college and lose the popular vote How often should I replace windscreen wiper asked 5 years ago viewed 5301 times active 5 years ago Upcoming Events 2016 Community Moderator Election ends Nov 22 Related 3259What is a metaclass in Python?170Python try…except comma vs 'as' All Rights Reserved.
Any suggestions? C++ calculator using classes Someone peeled an American flag sticker off of my truck. You should get the same error. In this case, object a has a reference to b and vice versa: >>> a = Foo() created >>> b = Foo() created >>> a.store(b) >>> b.store(a) >>> del a >>>
Reload to refresh your session.