Comments (6)
It is useful, indeed. Thanks for publishing this note.
The new version of SRW libraries has been compiled with Ubuntu 18.04 LTS, recently downloaded. I compiled them for both miniconda and python.org distributions. Probably something changed in the meantime, since the default python 3 installed does not show some compatibility issues we found in the past, asking us to use miniconda3.
I suggest to remove the folder miniconda3 and install from scratch Oasys by using the VirtualEnvironment scripts, that let you use the Python.org python.
from oasys-installation-scripts.
@SergioLordano said:
The solution was to uninstall all of them and install numpy by conda, only.
I noted something that may be related to the same problem. The line:
would better be
$HOME/miniconda3/bin/conda install numpy=XXX
where XXX is the desired version for numpy.
This may solve the conflicts of different versions of numpy.
from oasys-installation-scripts.
I will do it. Anyway, there is not a desired version of numpy. It should be the last. I repeat: use the virtual environment with standard python.org python!
from oasys-installation-scripts.
Fixed
from oasys-installation-scripts.
Hello Luca,
I am sorry to bother you again about this, but there is also a small problem with the Virtual Environment installation. It can be easily fixed, but beginners may spend a lot of time on it. When we call the script start_oasys_VE.sh, it starts OASYS but does not load ShadowOui widgets, because it fails to import xraylib. If you look the code:
#!/bin/bash
source ~/oasys1env/bin/activate
#source `find /home -name "start_oasys.sh" -printf "%h"`/oasys1env/bin/activate
export LD_LIBRARY_PATH=/home/oasys/oasys1env/lib/xraylib
export DYLD_LIBRARY_PATH=/home/oasys1env/lib/xraylib
python -m oasys.canvas -l4 --force-discovery
it is easy to see why it does not find xraylib library: in many computers, the home path is not simply /home
. So It could be fixed by using:
export LD_LIBRARY_PATH=~/oasys1env/lib/xraylib
export DYLD_LIBRARY_PATH=~/oasys1env/lib/xraylib
from oasys-installation-scripts.
That was just a (outrageous) BUG. Thank you for your precious feedback!
from oasys-installation-scripts.
Related Issues (20)
- Miniconda3 is not installing fully HOT 4
- add-ons installation problem HOT 6
- applet windows HOT 5
- Cannot update internal libraries or update add-ons (OS X) HOT 3
- install fails in Linux if a different miniconda path is given HOT 1
- error analysis
- Could not load the Qt platform plugin "xcb" in "" HOT 3
- starting fails with the most recent OasysWriter upgrade HOT 1
- Installation problems oasys1.3 in windows 10 HOT 4
- Error: name 'sl' is not defined; name 'srwlib' is not defined HOT 1
- ImportError: DLL load failed: (problem importing srwlpy) HOT 9
- Windows installer does not support white spaces in the path name HOT 2
- orangecontrib not found after installing Oasys on Ubuntu HOT 4
- Failed Installing Oasys HOT 10
- add `mv ~/miniconda3/lib/libcrypto.so.1.1 ~/miniconda3/lib/__libcrypto.so.1.1` to Known Issue fix HOT 1
- Errors: "Orangecontrib" and "DepreciationWarning" HOT 1
- Problem of step-by-step in Windows of OASYS HOT 5
- Windows oasys-xoppy running error from util/bin HOT 3
- Error install windows 10 HOT 7
- Install
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 oasys-installation-scripts.