-
Notifications
You must be signed in to change notification settings - Fork 516
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
Multiple install issues when using pyenv on Linux/Mac #288
Comments
I had a discussion elsewhere regarding pyenv issues. Unfortunately I don't remember details and can't find that conversation now, but maybe enough of
|
See the pyenv wiki if you need to build python installations w/ shared or framework builds https://github.com/pyenv/pyenv/wiki Testing a virtualenv made from a 3.5.3 installation on OSX with the --enable-framework & wxPython 4.0.0a1 allowed me to run a simple hello world test. |
Thank you @RobinD42 for the detailed explanation. You were right and Linux issues (but not all, read later) were resolved by building Python with shared library option. On Mac issues were resolved by building Python with framework option. Thanks @williamgibb for the wiki link. I can build successfully using wheel packages, however it still fails when installing with
Attaching complete logs from the console: install-error.log.tar.gz (47 KB) |
This is due to the webkitgtk development files not being installed. On debian, ubuntu or similar try installing the libwebkitgtk-dev and libwebkitgtk-3.0-dev packages. What happens is that wxWIdgets detects that it is not there and then disables the wxWebView and related classes. When wxPython builds it is assuming that all dependencies and required features are present and doesn't (yet) know how to deal with them when they are not and you get build errors like that. I do have a plan for addressing things like this, (generate C++ stubs that raise a |
Installing libwebkitgtk-dev and libwebkitgtk-3.0-dev packages resolved the issue. Thanks. |
This is still an issue with linux compatibility with pyenv. See pyenv/pyenv#691 (more notably the last 2 comments). I have to set I have all of the required libraries installed and installed python through pyenv with the following command Currently on Linux Mint 18.2 (based on Ubuntu 16.04 xenial). |
I am having multiple issues installing Phoenix when using pyenv Python installations. pyenv is a simple Python version management: https://github.com/pyenv/pyenv
Issue 1 / 3 (Linux)
This error when running
pip install wxPython
on Ubuntu 14.04:OS: Ubuntu 14.04 64-bit
wxPython 4.0.0a1 gtk2 (phoenix)
Issue 2 / 3 (Linux)
Since online pip install failed, I've downloaded wheel package from here:
https://wxpython.org/Phoenix/snapshot-builds/linux/
It installed fine, but got an error when importing wx package:
In ~/.pyenv/versions/3.5.3/ there is no such file, I have only found "libpython3.5m.a" (in /home/cz/.pyenv/versions/3.5.3/lib/ directory).
OS: Ubuntu 14.04 64-bit
wxPython 4.0.0a1 gtk2 (phoenix)
Issue 3 / 3 (Mac)
Ran
pip install wxPython
, it installed fine, but got error when running:OS: 10.9 Mavericks
wxPython 4.0.0a1 osx-cocoa (phoenix)
Python 3.6.0 64bit
I ended up installing Phoenix using system / homebrew Pythons - no problems then. Only with pyenv.
The text was updated successfully, but these errors were encountered: