Comments (9)
@kmuehlbauer The recipes I used for Qt/PyQt are in the wip_qt branch. The Qt recipe does not yet work and the PyQT recipe uses the system installed Qt5 package. Let me know if you make any progress on this.
from berryconda.
Building Qt5 on the Raspberry Pi 3 would be an involved process. Even building the software from source on a powerful x86 machine can take a significant amount of time.
Perhaps a simpler solution would be to install Qt5 via apt get
and build PyQt5 against this version. This is not ideal since it depends on more libraries to be provided by the system but it is also more obtainable.
PyOpenGL, at least the one from conda-forge, seems to depend on mesa-libGL-devel
being installed on the system. I think this too would be a practical way to provide this package, in fact it may be the only way as pyopengl seems to be a pure Python package that uses ctypes to interface with an opengl library.
from berryconda.
I created a recipe for pyopengl and uploaded packages for armv7l. Packages for avmv6l are one their way as well.
I was able to get a PyQt build working using the Qt5 libraries provided by the apt install. I had to disable to QtWebKitWidgets module to get the build working. I am not familiar enough with Qt/PyQt to know how critical this option is to PyQt use. The package was linked against many of the system libraries.
from berryconda.
I was able to get a PyQt build working using the Qt5 libraries provided by the apt install. I had to disable to QtWebKitWidgets module to get the build working. I am not familiar enough with Qt/PyQt to know how critical this option is to PyQt use. The package was linked against many of the system libraries.
Did you also use the conda-forge recipe? I'm a bit at loss atm from where to start.
from berryconda.
I created a recipe for pyopengl and uploaded packages for armv7l. Packages for avmv6l are one their way as well.
@jjhelmus Thanks for quickly looking into this and providing a solution. And berryconda is a great improvement into getting scientific python stack on the PI.
from berryconda.
@jjhelmus This will take some time. If I get improvements I'll come back. Thanks for setting up the branch.
from berryconda.
@jjhelmus Unfortunately the application I use doesn't work well with Qt5. So I copied the pyqt recipe from the qt4-branch and made some changes to run it on the PI. It conda build
well so far. I also needed to conda build pyopengl because conda install pyopengl
didn't return (it seemed to run forever).
I could create a conda environment with these packages (pyopengl, pyqt, sip) and do pip install vispy
to get vispy (and numpy) into this env. I tried to use the packaged numpy, but this wasn't detected by the pip install vispy
process. Do you have any ideas on that?
Next step is to try to get Qt build with conda.
from berryconda.
Qt4 is available via apt which might be a short term solution. I expect building Qt from scratch will be a long and difficult process given that building it on traditionally platforms is challenging.
I'm not sure why conda install pyopengl
did not work, updating conda might help.
I do not have a good answer as to why numpy was not seen by pip when installing vispy. Does numpy show up in pip list
? The numpy conda package includes a .egg-info directory which pip should be detecting. It might be good to double check that the pip in question is coming from the conda install and from the correct environment.
from berryconda.
Apologies as i'm a bit of a noob, but can someone help explain how to install pyqt4 on berryconda via apt-get? Once installed the berryconda version of Python doesn't seem to acknowledge the pyqt4 install.
from berryconda.
Related Issues (20)
- installing jupyter notebook and lab in berryconda HOT 6
- pip upgraded: matplotlib, pandas, numpy jupyter not loading libraries HOT 2
- please add xgboost package
- Buster released. Things are not working. HOT 3
- cartopy on raspberrypi3 HOT 1
- Create an installer for RPI 4 HOT 4
- libpython3.6m.so.1 is missing HOT 9
- OpenCV 4.1.1 - Successful procedure HOT 2
- Berryconda is not able to be launched. HOT 4
- Create Conda environment in Raspberry Pi 3 B+ Ubuntu 18.04.2 aarch64 (ARMv8) HOT 1
- Wrong arch being picked up ? HOT 2
- Berry Conda breaks my PyTorch on Raspberry Pi 4 HOT 1
- Add .sh to Uninstall Berry Conda HOT 1
- How to contribute to berryconda or new packages? HOT 14
- Issue with conda version HOT 1
- Any statement about RPi4 and arm8? HOT 5
- Discussion of the future of berryconda HOT 18
- Backend object does not support secp256r1.
- is there a way to get pyomo and glpk on the raspberry pi 3?
- Update Python version and add uninstall script HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from berryconda.