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
unable to install pyside with nix on osx sierra #25619
Comments
That error of course shouldn't happen. I'm not using Darwin so I can't help you much further here. In any case, |
Well, not sure if I did it right, most documentation seems to be outdated, but among other blogs and documentation I found this https://nixos.org/wiki/Python
( qt-4.8.7 should not be needed, probably is detected as dependency already but I installed it just in case )
but as said, if I do |
Here's the actual error:
To me that suggests that on Darwin, Qt is supposed to produce a .framework, and perhaps our common Qt builder doesn't build that. Someone more Qt-focused might want to chime in. Perhaps @periklis, who knows both Qt and Darwin? |
Installing pip, wheel, setuptools and qt and using pip to install pyside gives the same error. In case this helps anyone. As a side note, I also had to fix some rights under the /nix folder. Suddenly I got no rights to write or remove some files ( nix-collect-garbage -d. and nix-env -i were failing because of that) |
If you need the QtDesigner Headers then you should add |
I don't need them. This is for pyside that is using qt-4.8.7. |
But pyside needs qt and specifically qtdesigner from qttools. I am not sure if we even build qttools for 4.8.7 |
Yeah well I don't mind having the designer or other tools, but there is nothing I specifically need. With or without attools I don't mind. |
should be simple to fix this just the same for 4.8.7 right? |
Oh boy, i don't understand a word of the last two comments. However, let me explain it again. In order to compile the package pyside you need qtdesigner, which i suspect that we would do not provide for qt 4.8.7 for darwin right now. What's next? Imho the only qt version in nixpkgs providing the qttools/qtdesigner stuff is qt5/5.8. |
I think we understand each other very well. |
Pretty sure the tools are being built, as Qt Designer can be found at After changing I get the following log which includes the commands that https://gist.github.com/Enzime/d24cc4910e0ddf02cba1fc43078b0e27 Of note is line 625, which has the command for compiling On this line you can find a clearly invalid path After adding https://gist.github.com/Enzime/5a1e844358970533b8e11e1fbca1fc37 |
After noticing After changing This allows me to successfully compile However, whenever I attempt to run https://gist.github.com/Enzime/ab6b6fd25581e87f062bfcf31146cb45 If anyone has another way of verifying that my instructions lead to a valid |
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
Pyside 2/6 got packaged, gonna close this for now. |
Issue description
pyside is not compiling for pythin2.7
Steps to reproduce
I am new to nix, but got it working for imagemagick and other packages.
I got python, pip and wheel installed but if I try to install pyside using this command:
nix-env -i python2.7-pyside
I got a compiling error. I would expect all dependencies being downloaded and compiled.
The error looks like this:
Nix looks awesome so far. Some help would be great, thanx in advance.
Technical details
The text was updated successfully, but these errors were encountered: