Installing cvxopt on windows 8 using anaconda and python 3.4 - windows-8

Has anyone managed to successfully install cvxopt on a windows 8 machine, using the anaconda distribution package with python 3.4?
I have tried both conda install cvxopt and pip install and both fail.
Thanks for any suggestions

Related

Problem with installing tensorflow on windows along with pytorch using conda environment

I am trying to install "Tensorflow" on windows using conda environment.
Please note that -
I am installing tensorflow along with pytorch in the same environment.
I am getting "Remove Error": 'setuptools' is a dependency of conda and cannot be removed from
conda's operating environment.
I getting this error with both of these commands
pip install tensorflow
conda install tensorflow
A snap of the error can be seen below.
I sorted this issue by fixing the installation of the "httptools".
I recently found that many of the conda supports of have been migrated to conda forge.
HENCE, BEFORE INSTALLING THE TENSORFLOW. I INSTALLED THE "httptool" using the following command in the anaconda prompt.
conda install -c conda-forge httptools
Now everything works really fine.

Can I update TensorFlow in Anaconda?

I have Anaconda under Windows 8.1, Python 3.7 e TensorFlow 1.14. I tried some pip commands but the 1.14 is the only version installed of TensorFlow.
There are other ways to update, for example, version 1.5 ?
Thank a lot for any help!
Tensorflow 1.14 is the latest release for the time being. If you wanna install a specific version
conda install tensorflow=1.5.0
The problem is that tensorflow 1.5 is not compatible with Python 3.7 before 1.13.0rc1.
If you need version 1.5.0, you need to create a virtual environment with Python 3.6 using conda.
conda create -n py36 python=3.6
conda activate py36
conda install tensorflow=1.5.0
# you can also install tensorflow using pip
# choose the package manager you want
conda install tensorflow==1.5.0
Note: Don't use pip and conda to install pkg at the same time in one environment. Check Using Pip in a Conda Environment for more info.

Install tensorflow version 0.12

How can i install the tensorflow 0.12 on windows x64 CPU.
If it is nowhere to be found
I tried to install through pip for python 3.6. Did not work out
pip install --user install tensorflow==0.12
Also tried this command with python 3.5, but nothing happened either
tensorflow 0.12.0 was only released for Python 3.5, not 3.6
tensorflow 0.12.1 was released for Python 3.6 but only on Linux and MacOS.
If you instist on installing version 0.12 your best bet is to try tensorflow 0.12.1 installed for Python 3.5:
py -3.5 -m pip install tensorflow==0.12.1
The only version 0.X available on pypi is the 0.12.1 for python 3.6, hence you can run
pip install tensorflow==0.12.1
Although the thread is about windows system but sharing it for the ubuntu users as well. That's how I downloaded it in my ubuntu 1804 system after following the comment of #phd,
created a conda enviornment using python 3.5
conda create -n tf012 python=3.5
and then installed TF 0.12 with pip install tensorflow==0.12

tensorflow not supported wheel on this platform

I've searched around and non of the solutions seem to pertain to me, so here I am.
I installed anaconda 5.1 for python 3.6, I downloaded and installed 64-Bit(x86)Installer(551 MB)
from
https://www.anaconda.com/download/#linux
I followed the directions here
https://docs.anaconda.com/anaconda/install/linux
I had the install prepend the path and install microsoft VS code.
I then attempt to install the CPU only tensorflow using anaconda as suggested here
https://www.tensorflow.org/install/install_linux#InstallingAnaconda
I try to install the binary for python 3.6 CPU only
https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-1.6.0-cp36-cp36m-linux_x86_64.whl
I get the following error
tensorflow-1.6.0-cp36-cp36m-linux_x86_64.whl is not a supported wheel on this platform.
I am running a Ubuntu 16.04 VM on windows 10.
edit: when I run this command
pip install --ignore-installed --upgrade tfBinaryURL
outside of the tensorflow environment it worked.
2nd edit:
Additionally I explored my tensorflow environment in my anaconda3 folder, and I noticed it only has python 2.7, so when I tried to install the cpu only tensorflow while in the enviroment for python 2.7 it worked.

TensorFlow on Windows: "not a supported wheel on this platform" error

Was happy to know Tensorflow is made available for Windows and we don't have to use Docker.
I tried to install as per instructions but I get this error.
pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl
tensorflow-0.12.0rc0-cp35-cp35m-win_amd64.whl is not a supported wheel on this platform.
What does that error mean?
I am running latest version of Python.
python --version
Python 3.5.2
This is most likely to be a 64-bit versus 32-bit issue. The pre-built TensorFlow pip package is 64-bit only, but the default version of Python 3.5.2 on Python.org is 32-bit. You can download the 64-bit release from here (select one of the "Windows x86-64" options).
It's only available for Python 3.5.x not 3.6.
You can quickly create a 3.5 environment with:
conda create -n tensorflow python=3.5
You must have a 3.5.x version of Python. The 3.6 version won't work.
If you have installed an Anaconda that contains Python 3.6, you need to downgrade its Python to 3.5.2.
Open the Anaconda Prompt as administrator, and run:
conda install python=3.5.2
After the installation is finished, you can follow the rest of the steps on tensorflow website.
Do you have Python and Anaconda installed? I had a similar issue until I uninstalled Anaconda and then the setup was fine.
I did the following steps and it worked.(Anaconda 4.4 x64)
1- Go to Windows 10 command prompt (right click and Run as admin)
2- if activated the path, you can run conda anywhere, if not, should go to .../anaconda3/scripts and run conda command from there and do the following (the main trick was to change 35 to 36)
1- conda -n tensorflow python=3.5
2- activate tensorflow
3- pip install --upgrade https://storage.googleapis.com/tensorflow/windows/cpu/tensorflow-0.12.0rc0-cp36-cp36m-win_amd64.whl
issues fixed when i did the downgrading from 3.6 to 3.5 using the below
conda install python=3.5.2
There can be two reasons:
1) You are using 32-Bit python package. Tensorflow does not support 32 bit, only 64 fit.
Check in your system settings for this. If this is fine refer to second point..
2)You are using Python 3.7.
Python 3.7 isn't eventually officially supported by Python. It's still in beta testing,
and very much under active development.
Consider downgrading to a lower version of python. For now, stick with Python 3.6 or 3.5.