Git Product home page Git Product logo

Comments (6)

abelcarreras avatar abelcarreras commented on June 6, 2024

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.

LePingKYXK avatar LePingKYXK commented on June 6, 2024

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.

abelcarreras avatar abelcarreras commented on June 6, 2024

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.

LePingKYXK avatar LePingKYXK commented on June 6, 2024

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.

abelcarreras avatar abelcarreras commented on June 6, 2024

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.

LePingKYXK avatar LePingKYXK commented on June 6, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.