Skip to main content

CondaValueError: Value error: invalid package specification

Recently I was trying to create Conda Environment and wanted to install Tensorflow but i have faced some issue , so i have done some research and done trouble shooting related to that . Here am going to share how to trouble shoot if you are getting Conda Value error while creating Conda environment and install tensorflow
.


  1. Open Anaconda Prompt (as administrator if it was installed for all users)
  2. Run conda update conda
  3. Run the installer again
Make sure all pkg are updated:





Launch the console from Anaconda Navigator and
conda create -n mypython python=3.6.8

After Installing Conda environment please active the conda now : conda activate mypython
once conda environment has been activated kindly install tensorflow 2.0 by using this command pip install tensorflow==2.0.0




once Tensorflow has been successfully install kindly run the command : pip show tensorflow
Try to Run Comman PIP Install Jupyter lab and after installing launch the console and open Jupyter notebook
Happy Learning...!!

Comments

  1. Thanks Anand its really help and guide me solve very similar issue.

    ReplyDelete

Post a Comment

Popular posts from this blog

Data Science Interview Questions -Part 2

1) What are the differences between supervised and unsupervised learning? Supervised Learning Unsupervised Learning Uses known and labeled data as input Supervised learning has a feedback mechanism  Most commonly used supervised learning algorithms are decision trees, logistic regression, and support vector machine Uses unlabeled data as input Unsupervised learning has no feedback mechanism  Most commonly used unsupervised learning algorithms are k-means clustering, hierarchical clustering, and apriori algorithm 2) How is logistic regression done? Logistic regression measures the relationship between the dependent variable (our label of what we want to predict) and one or more independent variables (our features) by estimating probability using its underlying logistic function (sigmoid). The image shown below depicts how logistic regression works: The formula and graph for the sigmoid function is as shown: 3) Explain the steps in making a deci...