Comments (6)
Hi Huan,
Unfortunately, I don't know who is the maintainer of dynaphopy's conda package.
I'm currently maintaining only gitHub and pypi repositories.
from dynaphopy.
Hi Huan,
Unfortunately, I don't know who is the maintainer of dynaphopy's conda package. I'm currently maintaining only gitHub and pypi repositories.
Hi Abel,
Thank you very much for your quick response.
I will follow the python setup.py install --user
method. But I have additional two questions.
(1) I am not sure about the --user
option. Should I keep using --user
or change it to a specific username as --huan
?
(2) In the requirements.txt
file, I found
phonopy >=2.0
# Note: dynaphopy also may work with phonopy <=1.12.6.26, >=1.9.6
numpy>=1.8.2
scipy
matplotlib
seekpath
PyYAML
windows-curses; sys_platform == 'windows'
Since I am using Linux system, should I just comment out the line windows-curses; sys_platform == 'windows'
, or should I change this line to sys_platform == 'Linuxe'
?
Thanks again.
Huan
from dynaphopy.
In modern platforms I think you don't need even --user option anymore. This was introduced in case you didn't have administrator rights, so the package will be installed under the user home dir. I think now this is done automatically by pip.
Regarding requirements.txt you can just install them with pip:
pip install -r requirements.txt
You don't need to comment anything.
Anyway, if you just want to install dynaphopy I would recommend to just install it from PyPi repository (this is the easiest way):
pip install dynaphopy
This should work even inside a conda environment.
from dynaphopy.
In modern platforms I think you don't need even --user option anymore. This was introduced in case you didn't have administrator rights, so the package will be installed under the user home dir. I think now this is done automatically by pip.
Regarding requirements.txt you can just install them with pip:
pip install -r requirements.txt
You don't need to comment anything.
Anyway, if you just want to install dynaphopy I would recommend to just install it from PyPi repository (this is the easiest way):
pip install dynaphopy
This should work even inside a conda environment.
Thank you for your guidance.
pip install dynaphopy
works well in my conda environment. It does not need to download the DynaPhoPy.tar.gz or git clone from GitHub. However, I found that the direct “pip install version of DynaPhoPy” does not have the scripts
folder, which contains several scripts and files, e.g. concath5
, dynaphopy
, fitdata
, qha_extract
, qha_quasiparticle.py
, and rfc_caclc
.
Should I move the "scripts" folder to the conda environment directory?
from dynaphopy.
If these scripts are not included in the installation then you can place them in any location that is included in your $PATH environment variable for convenience (e.g. /usr/bin/, /usr/local/bin, etc.)
from dynaphopy.
If these scripts are not included in the installation then you can place them in any location that is included in your $PATH environment variable for convenience (e.g. /usr/bin/, /usr/local/bin, etc.)
Thanks a lot for your help.
from dynaphopy.
Related Issues (20)
- Still running into problems with NBLOCK HOT 88
- The output of blank picture of phonon dispersion HOT 7
- 4 - Frequency vs linewidth (interpolated mesh) HOT 10
- calculation on anharmonicity of amorphous using DynaPhopy HOT 3
- Divergence of the power spectra with the larger supercell HOT 10
- Error occurred when running GaN_lammps in examples. HOT 2
- Atomic order in POSCAR and the data file HOT 4
- No hdf5 parser in dynaphopy.interface.iofile.trajectory_parsers HOT 2
- Setup.py fails on Mac because erroneously detecting Windows HOT 2
- Full power spectra becomes noisier with increasing simulations length + odd behaviour with temperature HOT 7
- No module named 'phonopy' HOT 3
- Can you tag on github when pip releases a new version? HOT 1
- size is increased, after trajectory in the format of lammps is transfered to the format of hdf5 HOT 2
- Some questions about the calculation of phonon free energy with dynaphopy HOT 17
- option to modify symprec=1e-5 for force constant symmetrization HOT 2
- Whether the dynaphopy can be applied to calculate the phonon lifetime vs frequency? HOT 2
- Output renormalized FORCE_SETS HOT 2
- The program shows an error! HOT 4
- MD ensemble selection HOT 2
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 dynaphopy.