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

Running hello world example from docs yields import error on evwsgi #41

Open
et304383 opened this issue Dec 8, 2015 · 3 comments
Open

Comments

@et304383
Copy link

et304383 commented Dec 8, 2015

http://www.fapws.org/getting-started

[etucker: ]$ ./fapws.py
Traceback (most recent call last):
  File "fapws.py", line 2, in <module>
    import fapws.evwsgi as evwsgi
  File "fapws.py", line 2, in <module>
    import fapws.evwsgi as evwsgi
ImportError: No module named evwsgi

I've tried install fapws3 from both PIP and compiling from source. It does not work.

This is on both Fedora and Amazon EC2 using Python 2.7.

@et304383
Copy link
Author

et304383 commented Dec 8, 2015

Update - compiling from source works. I must not have closed my terminal or something. So the PIP version needs to be updated.

@william-os4y
Copy link
Owner

Nice to see it works.
Such troubles are strongly linked to your system and the way packages (and libraries) are managed.

On 8 December 2015 20:44:43 CET, eric-tucker [email protected] wrote:

Update - compiling from source works. I must not have closed my
terminal or something. So the PIP version needs to be updated.


Reply to this email directly or view it on GitHub:
#41 (comment)

Sent from my Android device with K-9 Mail. Please excuse my brevity.

@et304383
Copy link
Author

I agree - the way packages are installed via PIP and able to go to multiple locations (lib / lib64, python2.7 / python3.4, site-packages / dist-packages) is very confusing and probably a source of this headache.

That being said, other packages just seem to "work" when installed via PIP. I don't feel comfortable using a system which does not work unless installed from source. PIP installs should work, do you not agree?

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

No branches or pull requests

2 participants