Comments (8)
have you tried pip install PyQtWebEngine
?
from xrt.
You've made me check that we can actually work with the fresh pyqt versions, and the answer is positive on Windows 10, Kubuntu 18.10 and High Sierra, please see the screenshots below.
In all three cases I used Anaconda, and on Windows 10 all the packages were the latest. So I suggest going through xrt.rtfd.io/instructions.html.
Please report back on the progress/failures.
from xrt.
I can confirm that everything works fine on python 3.6.7 with qt 5.9.6, PyQt5 5.9.2
You could try to update your conda qt/pyqt installation as recommended here conda-forge/pyqt-feedstock#19
from xrt.
@mrakitin: any progress on the issue?
from xrt.
Hi @kklmn, sorry for the late reply. No progress on that. I got stuck with conda-provided packages for PyQt5, not sure how to resolve it. pip packages seem to work though. I don't know if anything can be done on your side, e.g. using something else than QtWebKitWidgets
, or making it an optional import?
from xrt.
QtWebKitWidgets
is our second choice:
try:
import PyQt5.QtWebEngineWidgets as QtWeb
except ImportError:
import PyQt5.QtWebKitWidgets as QtWeb
It is expected that you have QtWebKitWidgets
only if you don't have QtWebEngineWidgets
.
Please do in a python session:
import PyQt5
import PyQt5.QtWebEngineWidgets
and provide the error message.
from xrt.
Actually, the problem appeared to be related to the missing libEGL.so.1
lib:
ImportError: libEGL.so.1: cannot open shared object file: No such file or directory
See the details at https://travis-ci.org/NSLS-II/lightsource2-recipes/jobs/587514703#L1022. Installing libegl1-mesa
in our Debian docker image (NSLS-II/debian-with-miniconda#20) solved the problem.
The recipe was successfully build via:
- nsls-ii-forge/xrt-feedstock#2 (Linux/OSX/Windows) in the
nsls2forge
conda channel; - NSLS-II/lightsource2-recipes#676 (Linux) in the
lightsource2-tag
conda channel.
Do you want to make this recipe/package available on conda-forge? It would be trivial to create one as we already have a working recipe feedstock using their infrastructure.
from xrt.
I think this problem is resolved. Pending on your reply about the conda-forge.
from xrt.
Related Issues (20)
- Rocking curve theta and energy range converter HOT 3
- Problems generating code from materials HOT 7
- Calculating crystal reflectivity without constructing a beamline HOT 7
- Question about toroidally bent crystal in Laue geometry HOT 6
- VLS grating local_g direction HOT 2
- Regarding the size of light sources and the output of light source images
- How to add and use compound refractive index materials? HOT 9
- The light source image does not match the image at the detector
- Problem when using pytte and OpenCL for bent asymmetric Laue crystal HOT 2
- Passing in_plane_rotation parameter to pytte HOT 2
- Question about making dispersion plots HOT 1
- Report an error when set useTT is true for using elastic deformation in crystal reflectivity HOT 6
- Saving histogram data HOT 3
- GPU calculation for geometric sources HOT 1
- build ellipsoidal mirror HOT 10
- adding surface error on Ellipsoidal mirror HOT 2
- Help on the X-ray Diffraction of polycrystal HOT 2
- OpenGL 3.1.7 but GLUT is not found HOT 4
- Dynamically figured KB mirrors HOT 2
- Parameter setting of ellipsoid monocapillary HOT 11
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 xrt.