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

Environment.yml use for a Mac #27

Open
jomey opened this issue Jul 14, 2021 · 3 comments
Open

Environment.yml use for a Mac #27

jomey opened this issue Jul 14, 2021 · 3 comments

Comments

@jomey
Copy link
Member

jomey commented Jul 14, 2021

Not an issue for the Docker and Linux environments and when people try to re-use the environment.yml to replicate it on a Mac, they will fail with this entry:

python-pdal=2.4=py38h1fd1430_1

The hash at the end seems to be version specific to the Linux version.

@scottyhq
Copy link
Member

right. PDAL was a pain to install, had to use that specific version for the import to work (#12). I think running via docker is the only surefire way to get the same environment, but you can also try using https://github.com/conda-incubator/conda-lock to export lock files for each OS... probably do need to drop any specific build hashes though.

@jomey
Copy link
Member Author

jomey commented Jul 14, 2021

You can loosen the hash restriction and just pin it down to that version

python-pdal=2.4

That will work for all OSes and only get that published one. The hash will pin it down to flavor and version of OS.

@jomey
Copy link
Member Author

jomey commented Jul 14, 2021

From https://anaconda.org/conda-forge/python-pdal/files

For completeness, this would be the corresponding Mac version:

 osx-64/python-pdal-2.4.0-py38h12bbefe_1

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

No branches or pull requests

2 participants