Re: [pylons-discuss] Inconsistent ImportError

2015-07-01 Thread Brian Looker
That's a good idea. I do have a correction. In addition to deleting the .pyc files, I was playing with my import statements. The problem returned after uncommenting one of the wtforms imports I'd missed. This whole mess was caused by a typo--I apologize for taking up your time. Turns out that

Re: [pylons-discuss] Inconsistent ImportError

2015-07-01 Thread Jonathan Vanasco
On Wednesday, July 1, 2015 at 9:32:41 AM UTC-4, Brian Looker wrote: > > Oh! Deleting the .pyc files did it. Thank you very much! I remember > learning about the potential for that problem at a Python Bootcamp, but > hadn't encountered it before. > I put a dumb little file called 'cleanup.py' i

Re: [pylons-discuss] Inconsistent ImportError

2015-07-01 Thread Brian Looker
Thank you for the reply and your help, Jonathan. I've answered your questions inline. Oh! Deleting the .pyc files did it. Thank you very much! I remember learning about the potential for that problem at a Python Bootcamp, but hadn't encountered it before. I appreciate everyone's help. On Tues

Re: [pylons-discuss] Inconsistent ImportError

2015-07-01 Thread Brian Looker
Thank you for your reply and help, Vincent. I've answered your questions inline. On Tuesday, June 30, 2015 at 3:16:14 PM UTC-5, Vincent Catalano wrote: > > What version do you have configured in your setup.py file for WTForms? Is > it the same or different than the one in your requirements.txt?

Re: [pylons-discuss] Inconsistent ImportError

2015-06-30 Thread Oliver
I have experienced that `python setup.py develop` behaves different than `pip install -e .` some times I got several versions of the same package installed by mixing these two methods. On 30.06.2015 19:59, Brian Looker wrote: > I have two separate virtualenv's and Pyramid projects in which I am

Re: [pylons-discuss] Inconsistent ImportError

2015-06-30 Thread Jonathan Vanasco
Some possibly dumb questions: 1. are you failing to start it with the same .ini 2. can you start the failed project using the working virtualenv, and vice versa? 3. have you tried with a new virtualenv, and comparing? 4. have you tried deleting all the .pyc files? sometimes an old one will some

Re: [pylons-discuss] Inconsistent ImportError

2015-06-30 Thread Vincent Catalano
What version do you have configured in your setup.py file for WTForms? Is it the same or different than the one in your requirements.txt? Also, are you being explicit with your dependency versions (i.e. WTForms==2.0.2)? Lastly, did you install dependencies first with pip and then with setup.py?

Re: [pylons-discuss] Inconsistent ImportError

2015-06-30 Thread Brian Looker
Hi Vincent, Yep, I've activated both environments. My initial install of dependencies for the non-working project was from a text file of requirements I created using pip freeze on the working project. I had no errors with the installation. I didn't mention it initially, but I have wtforms li

Re: [pylons-discuss] Inconsistent ImportError

2015-06-30 Thread Vincent Catalano
Just going over basics here but did you activate the environments before running `python setup.py develop`? Also, what happens when you install the dependencies using pip? Do you get any errors? Was WTForms installed globally by chance? -Vincent On Tue, Jun 30, 2015 at 10:59 AM, Brian Looker w

[pylons-discuss] Inconsistent ImportError

2015-06-30 Thread Brian Looker
I have two separate virtualenv's and Pyramid projects in which I am using WTForms. In one, the project is working fine. In the other, I am getting an import error. I'm working with Pyramid 1.5.7 on Linux Mint 17. I have installed and uninstalled with pip and easy_install, trying each based on