My company's firewall blocks the usage of pip/conda install. Is there anyway to install Tensorflow on Windows the same way we do for Linux?
You can build a pip package from the cmakefile by following the instructions in tensorflow/contrib/cmake/README.md.
Related
I am currently working on a project using an environment within anaconda (my OS is Windows). My current environment already has IPOPT installed via the anaconda cloud. Now, I am trying to install sIPOPT (a toolbox for IPOPT, not to be mistaken with IPOPT itself), available on: https://www.coin-or.org/Ipopt/documentation/node33.html.
I am trying to install sIPOPT within the same anaconda environment that I am currently using for my project. Normally, I would proceed with using conda to install packages into my environments. However, I failed to find a channel to install sIPOPT via conda, or pip.
The instructions on installation of sIPOPT only gave instructions to build the package using the linux environment, which I am not familiar with. I am now assuming that if I installed a unix-like environment like Cygwin, I would be able to install sIPOPT to my anaconda environment.
My question is: have any of you done anything similar to this? Is it possible to install sIPOPT via Cygwin to an existing conda environment with Ipopt already installed?
Many thanks! :)
I am trying to run python code in virtual environment of conda. The thing is I have installed opencv using brew and using python from anaconda environment. There is library called qt which is in both (brew and conda). Now when I try to run my code it says you are loading two sets of qt binaries in the same process. I understood the error but I don't know how to disable qt binary either from conda or from brew.
After deleting the one from conda it works fine but some dependencies also gets deleted. Don't want that. Can somebody suggest me some way.
If OpenCV's gui functionality is not required, then this is an option to avoid qt conflict.
pip uninstall opencv-python
pip install opencv-python-headless
I need to know How to install System Python 2.7 on my Mac. This is because, I unknowingly uninstalled it (I thought I was removing the Python I downloaded from Python.org)
I followed this Stack Overflow answer, and after the damage had been done, I read the comments telling me NOT TO do that.
The current reason I am wanting to install System Python 2.7 is because it is needed to install PyGame. Below is a screenshot of what I am facing when trying to install PyGame:
I recommend installing packages on OS X using Homebrew as it keeps everything you install in one place. Allowing you to upgrade or uninstall easily and not needing to remember how or where you installed it.
Once it is installed you simply type brew install python in your terminal. This will install Python 2.7.10 and it will be available at /usr/local/bin/python.
The only supported way to restore the system Python framework on macOS is to reinstall the operating system. It is treated as a component of the core operating system, so there is no way to selectively reinstall it.
I have installed git-cola using the setup installer for windows. I pointed it to proper installs of git and python.
When I try to launch git-cola, nothing happens whatsoever.
Is there something I am missing here?
I had the same problem, in my case it was missing PyQt4 library. You can install PyQt4 by downloading an appropriate installer from Binary Packages section on PyQt4 Riverbank website.
How I investigated the issue
When I installed git-cola in a default directory and tried to run it using a command line
C:\Program Files (x86)\git-cola\bin>python git-cola.pyw
I got
Sorry, you do not seem to have PyQt4 installed.
Please install it before using git-cola.
e.g.: sudo apt-get install python-qt4
Note
I have two Python 2.7 installations, one at c:\program\Python27 and another at C:\Users\UserName\Anaconda2, I used the first one. I also installed Python SIP some time ago, I'm not sure if it required by git-cola.
I am new to Mac, have always used windows and I am confused on how to install wxPython. I downloaded the .dmg file from the website, and it contained three files:
a pkg file, a readme, and an uninstall.py
I opened the pkg file, went through the steps, and Im not sure where it installed after it said "Installation Complete"
Also, I did the import wx in idle, which caused a stacktrace error.
Thanks.
From personal experience on installing wxPython on both Windows 7 and Mac OSX, I found restarting the computer helps out after installation and stacktrace errors appearing in the Shell upon 'import wx'. Sounds simple enough, but it worked for me. If no errors appear after 'import wx', that means wxPython installed correctly. To add to bouke's answer above, the current way to install Python 2.7 via homebrew in Terminal:
brew install python
To install wxPython:
brew install wxpython
At least for development, I would suggest to install (python and) wx using homebrew. It will install version 2.9 and you're ensured that Apple-provided system libraries remain untouched.