Windows environment has not been activated ValidationError: Invalid value for timestamp Package installation fails from a specific channelĬonda automatically upgrades to unwanted version Programs fail due to invoking conda Python instead of system Python Shell commands open from the wrong location MacOS error "ValueError unknown locale: UTF-8" Pkg_resources.DistributionNotFound: conda=3.6.1-6-gb31b0d4-dirty Permission denied errors after using sudo conda commandĬonda reports that a package is installed, but it appears not to be Permission denied errors during installation (See the last bullet point on “wildcard imports”.Using conda in Windows Batch script exits early What you’re seeing is part of the reason why wildcard imports are not recommended when programming in Python: you don’t know exactly what names you’re importing. I get the same yellow triangle warnings, but the code runs correctly. So I reinstalled Spyder, and it warned me that it was Spyder 3.0 (now on 5.0), and the code still is giving me the warning.ĭoes your code run? In my (working) conda-spyder setup, when I use from fenics import * The Terminal showed a change from (base) to (fenicsproject) when I typed the last line, it said that Command 'spyder' not found but can be installed with: I have a conda environment existing at home/user/anaconda3/envs/fenicsproject In Terminal, I typed: conda create -name fenicsproject -c conda-forge fenics=2019 spyder I tried what said since it seemed to jive with the idea that I needed Spyder to activate the FEniCS environment… First I closed out Spyder and Anaconda Navigator and opened a fresh Terminal. Essentially, it was a warning on the lines where FEniCS syntax is used (yellow triangle said ‘undefined names’). I have Anaconda Navigator, and was trying to use the known Poisson demo with the preloaded Spyder IDE, but it wasn’t catching the newly installed FEniCS within the program. To search for alternate channels that may provide the conda package you'reĪnd use the search bar at the top of the page.ĭoes anyone know how to get around this? Here people says it’s solved when updated, here others says it should be downgraded. PackagesNotFoundError: The following packages are not available from current channels: Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.Ĭollecting package metadata (repodata.json): done So tried what Yannik wrotes get the following error: Collecting package metadata (current_repodata.json): done I am using fenics from terminal too, it wpuld be great to run it in vscode. It’s a very long error message and wouldn’t fit here…Ĭonda create -name fenicsproject -c conda-forge fenics=2019 vscode Libtiff → libcxxĬmake → libcxxįenics-dolfin → mpich Matplotlib → matplotlib-baseįenics-ffc → pythonįenics-ufl → python Scalapack → libgfortran5įenics-dolfin → hdf5 Libopenblas → libgfortran=5 → libgfortran5 Superlu_dist → libgfortran=5 → libgfortran5 To be incompatible with the existing python installation in your environment: UnsatisfiableError: The following specifications were found I am not really sure how to go about fixing it. Update: I ran conda install spyder in the fenicsproject environment and got this very long message from the terminal. Anaconda-navigator is complaining that I cannot install spyder in the fenicsproject environment. Now, I want to use fenics with my IDE spyder. I followed the following commands and I believe that the installation was successful:Ĭonda create -n fenicsproject -c conda-forge fenics I have installed the fenics project using anaconda.
3 Comments
|