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

Why Central Limit Theorem is Important for evey Data Scientist?

The Central Limit Theorem is at the core of what every data scientist does daily: make statistical inferences about data. The theorem gives us the ability to quantify the likelihood that our sample will deviate from the population without having to take any new sample to compare it with. We don’t need the characteristics about the whole population to understand the likelihood of our sample being representative of it. The concepts of confidence interval and hypothesis testing are based on the CLT. By knowing that our sample mean will fit somewhere in a normal distribution, we know that 68 percent of the observations lie within one standard deviation from the population mean, 95 percent will lie within two standard deviations and so on. In other words we can say " It all has to do with the distribution of our population. This theorem allows you to simplify problems in statistics by allowing you to work with a distribution that is approximately normal."  The CLT is...

Machine Learning Interview Questions - Part 1

Q1. What is Machine Learning? Machine Learning  explores the study and construction of algorithms that can learn from and make predictions on data.  Closely related to computational statistics.  Used to devise complex models and algorithms that lend themselves to a prediction which in commercial use is known as predictive analytics. Given below, is an image representing the various domains Machine Learning lends itself to. Q2. What is Supervised Learning? Supervised learning  is the machine learning task of inferring a function from labeled training data. The training data consist of a set of training examples. Algorithms: Support Vector Machines, Regression, Naive Bayes, Decision Trees, K-nearest Neighbor Algorithm and Neural Networks E.g. If you built a fruit classifier, the labels will be “this is an orange, this is an apple and this is a banana”, based on showing the classifier examples of apples, oranges and bananas. Q3. What is Unsu...