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

Two installation problems #3

Closed
oliverschmidt opened this issue Dec 27, 2021 · 2 comments · Fixed by #9
Closed

Two installation problems #3

oliverschmidt opened this issue Dec 27, 2021 · 2 comments · Fixed by #9

Comments

@oliverschmidt
Copy link

Hi Kris,

Running the command

python precompute_conversion.py

with Python 3.10 on Windows gave me

ModuleNotFoundError: No module named 'networkx'

https://www.colour-science.org/installation-guide/ describes networkx as optional dependency. So it seems networkx needs to be added to the dependencies in your README. I "fixed" that issue by installing networkx. Then the same command gave me

FileNotFoundError: [Errno 2] No such file or directory: 'data/rgb_to_cam16ucs.npy'

Just as a wild guess I manually created a directory data - and voilà - it worked like a charm. It would be great if you could either have that directory created automatically or add it to the installation commands in your README.

Thanks in advance, Oliver

@KrisKennaway
Copy link
Owner

Thanks for the bug report, and sorry I missed this - my github notifications were disabled for some reason :(

  1. was fixed a while back, there's now a requirements.txt that should cover installing dependencies (pip install -r requirements.txt. Installation instructions have also been updated.

  2. I'll fix this one shortly

@oliverschmidt
Copy link
Author

Thanks :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants