Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pyfibot does not respect virtualenv #26

Closed
lepinkainen opened this issue Feb 8, 2013 · 1 comment
Closed

Pyfibot does not respect virtualenv #26

lepinkainen opened this issue Feb 8, 2013 · 1 comment

Comments

@lepinkainen
Copy link
Owner

Original author: monokrome@gmail.com (November 22, 2010 03:18:14)

What steps will reproduce the problem?

  1. Create a virutal environment on a system without Twisted.
  2. Install Twisted within the virtual environment.
  3. Run pyfibot.py as an executable file.

What is the expected output? What do you see instead?
It is expected that pyfibot should properly import twisted and move along, however it doesn't.

What version of the product are you using? On what operating system?
Current trunk.

This issue is resolved by modifying the header of the py file to use #!/usr/bin/env python instead of #!/usr/bin/python, since the formerly mentioned command will respect the current enviornment instead of directly pointing to a specific executable file. The latter method wont take into account any of the packages installed in the virtual environment.

Original issue: http://code.google.com/p/pyfibot/issues/detail?id=27

@lepinkainen
Copy link
Owner Author

From riku.lin...@gmail.com on April 14, 2011 13:58:19
Fixed a while ago. Thanks for the report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant