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 <look...@uwosh.edu> wrote:

> 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 threads I read elsewhere online. I have also uninstalled it and
> let setup.py install it as is demonstrated in the pyramid_blogr tutorial.
>
> Looking at the output of when running the setup.py develop command, I
> notice that the working project has a different output for WTForms than the
> non-working project. I think this might be a clue, but I do not have the
> vocab to know what to search for online if I were to search there. Can any
> of you help me figure out how I can get the other project working?
>
> Here's the setup.py develop output of the working project for WTForms:
>
> Using <virtualenv directory>/lib/python2.7/site-packages
> Searching for WTForms==2.0.2
> Best match: WTForms 2.0.2
> Adding WTForms 2.0.2 to easy-install.pth file
>
> Here's the nonworking project:
>
> Using <other virtualenv directory>/lib/python2.7/site-packages
> Searching for WTForms==2.0.2
> Best match: WTForms 2.0.2
> Processing WTForms-2.0.2-py2.7.egg
> WTForms 2.0.2 is already the active version in easy-install.pth
>
> Relatedly, the easy-install.pth file for the working project does not
> include WTForms 2.0.2, even after running setup.py develop, while the
> non-working easy-install.pth includes ./WTForms-2.0.2-py2.7.egg. If I
> delete it from this file and run setup.py develop again, it is put back
> into the easy-install.pth file.
>
> Any guidance would be appreciated.
>
> --
> You received this message because you are subscribed to the Google Groups
> "pylons-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to pylons-discuss+unsubscr...@googlegroups.com.
> To post to this group, send email to pylons-discuss@googlegroups.com.
> Visit this group at http://groups.google.com/group/pylons-discuss.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Vincent Catalano
Software Engineer and Web Developer,
(520).603.8944

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to pylons-discuss+unsubscr...@googlegroups.com.
To post to this group, send email to pylons-discuss@googlegroups.com.
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/d/optout.

Reply via email to