Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pip install needs requirements.txt #226

Closed
prjemian opened this issue Jun 20, 2022 · 3 comments · Fixed by #228
Closed

pip install needs requirements.txt #226

prjemian opened this issue Jun 20, 2022 · 3 comments · Fixed by #228
Assignees
Labels
Milestone

Comments

@prjemian
Copy link
Contributor

Yikes! The pip install did not install the additional requirements.

python3 -m venv try-hklpy
source try-hklpy/bin/activate
python3 -m pip install hklpy pygobject

Originally posted by @prjemian in #212 (comment)

@prjemian prjemian self-assigned this Jun 20, 2022
@prjemian prjemian added the bug label Jun 20, 2022
@prjemian prjemian added this to the v1.1 milestone Jun 20, 2022
@prjemian
Copy link
Contributor Author

Can't install libhkl via pip:

ERROR: Could not find a version that satisfies the requirement hkl (from versions: none)
ERROR: No matching distribution found for hkl

@prjemian
Copy link
Contributor Author

So, starting with Python 3.9 and libhkl already installed:

conda create -y -n hklpy python=3.9 hkl -c conda-forge
conda activate hklpy

Then install by pip

cd hklpy
pip install -r requirements.txt
pip install -e . --no-deps

and test by creating a simulated 4-circle diffractometer and showing its defaults:

python -c "import hkl; fourc=hkl.SimulatedE4CV('', name='fourc'); fourc.wh()"

prjemian added a commit that referenced this issue Jun 21, 2022
prjemian added a commit that referenced this issue Jun 21, 2022
@prjemian
Copy link
Contributor Author

Let's push a new 1.0.3 release to test these requirements.

@prjemian prjemian modified the milestones: v1.2, v1.1 Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant