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

Conda environment creation fails for 2nd Edition also? #1

Closed
jp-dev opened this issue Dec 3, 2018 · 4 comments
Closed

Conda environment creation fails for 2nd Edition also? #1

jp-dev opened this issue Dec 3, 2018 · 4 comments

Comments

@jp-dev
Copy link

jp-dev commented Dec 3, 2018

I noticed there was a similar conda env create issue for the 1st edition's repo.

conda 4.5.11

conda env create -f py4fi2nd.yml
Using Anaconda API: https://api.anaconda.org
Solving environment: failed

ResolvePackageNotFound:
  - readline=7.0
  - compiler-rt=4.0.1
  - libffi=3.2.1
  - llvm-lto-tapi=4.0.1
  - clang=4.0.1
  - gettext=0.19.8.1
  - dbus=1.13.2
  - mpc=1.1.0
  - ld64=274.2
  - gmp=6.1.2
  - clangxx=4.0.1
  - llvm=4.0.1
  - expat=2.2.6
  - cctools=895
  - libedit=3.1.20170329
  - ptyprocess=0.6.0
  - libcxx=4.0.1
  - libcxxabi=4.0.1
  - clangxx_osx-64=4.0.1
  - glib=2.56.2
  - ncurses=6.1
  - clang_osx-64=4.0.1
  - libgfortran=3.0.1
  - appnope=0.1.0
@yhilpisch
Copy link
Owner

The export is from Mac OS and you probably use another OS.

In order to make it work cross-platform, I might need to create a base yaml file which explicitly only states the required packages.

@jp-dev
Copy link
Author

jp-dev commented Dec 3, 2018

Thanks, you're right. It works perfectly on MacOS.
I happened to be using Win7 on another PC when I first tested it. I shall close this issue.

@jp-dev jp-dev closed this as completed Dec 3, 2018
@zoltrader
Copy link

zoltrader commented May 14, 2021

Any solution for Win 10 OS? If not, what do you recommend?

@yhilpisch
Copy link
Owner

The code in the book does really only needs basic packages, such as NumPy, pandas, matplotlib, etc.

You should simply make sure to have these packages installed (which most have anyways on their machines).

Or you use a comprehensive installation such as Anaconda which installs them all at once.

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

3 participants