Skip to content Skip to sidebar Skip to footer

How Do I "repeatedly Uninstall Numpy" Safely? Why Was This Necessary?

Following directions in http://sfepy.org/doc-devel/installation.html#installing-sfepy I installed SfePy to my Python 2.7 anaconda using conda install -c conda-forge sfepy Immedia

Solution 1:

Repeatedly uninstalling numpy would normally be for when you used pip to install. Because you are using Conda, trying to conda uninstall numpy will remove numpy and any package that depends on numpy (and any package that depends on those, etc).

Generally, this means you will break your environment. The whole point of using Conda is to create new, isolated environments so that you don't have to worry about what you are running into: package collision.

The steps you should take are:

  1. Uninstall Anaconda, it looks like you may have borked your base installation. Also, GET OFF PYTHON 2.7!

  2. Reinstall Anaconda, preferably with Python 3.6 or higher.

  3. Use conda to create an isolated environment for you to work in. conda create -n finite python=3.6 sfepy numpy pandas ipython

  4. Activate and use that environment to do your work in finite analysis. conda activate finite

Post a Comment for "How Do I "repeatedly Uninstall Numpy" Safely? Why Was This Necessary?"