Giter Club home page Giter Club logo

Comments (4)

zivy avatar zivy commented on June 15, 2024

Hello @Ilias-Paralikas,

Possibly you activated the sitkpy environment before updating conda? If you follow the installation instructions, you will first install anaconda and update the base environment, conda update conda and conda update anaconda.

Please uninstall your anaconda installation and redo the setup process. If this does not resolve the issue, please provide the set of steps you took till encountering an error.

from tutorial.

Ilias-Paralikas avatar Ilias-Paralikas commented on June 15, 2024

Hello,
so the steps after full uninstall of anaconda were:
download&run conda installer.
add C:\Users\paral\anaconda3 to environment variables.
Open anaconda prompt
conda update conda. works fine.
conda update anaconda.
I get this error
PackageNotInstalledError: Package is not installed in prefix.
prefix: C:\Users\paral\anaconda3
package name: anaconda

that I solve by installing anaconda( this step is not in the tutorial)
conda install anaconda
conda update anaconda works fine
conda install git
git clone https://github.com/SimpleITK/TUTORIAL.git
conda env create -f TUTORIAL/environment.yml
conda activate sitkpy
cd TUTORIAL
jupyter notebook 00_setup.ipynb
run the first cell and I get the error from above

I follow the tutorial except from the conda install anaconda part.

from tutorial.

zivy avatar zivy commented on June 15, 2024

Hello @Ilias-Paralikas,

It appears you uncovered a fault in the anaconda distribution of SimpleITK 2.2.1 for windows. We will look into this shortly.

For a quick workaround, please do the following:

  1. Activate the environment: conda activate sitkpy.
  2. Uninstall the SimpleITK anaconda package: conda remove SimpleITK
  3. Install the SimpleITK vanilla Python package: pip install SimpleITK
  4. Run the tutorial.

Please let us know if this resolved your issue or not.

from tutorial.

Ilias-Paralikas avatar Ilias-Paralikas commented on June 15, 2024

yeap, this worked fine.
Thank you very much!

from tutorial.

Related Issues (4)

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.