Is it possible to create a python wheel from conda package? - pip

Im facing the following situation:
1. I wish to use TF 1.12 with MKL on windows
2. I have to use pip (our system supports only it so far)
problem is that currently Im unable to compile TF1.12 on windows (only on linux..).
I found that Conda has it right out of the box! so I was thinking
"hmm lets take it from Conda, probably someone has thought about it :)"
never the less, havent find any package or program that can do it, so I've decided to use Stack-overflows' power to look for the solution.
any help in this subject would be really appreciated

Related

Can the Windows fork of Caffe be used for object detection?

I've installed Caffe on my Windows computer but from what I can tell online most projects that use Caffe to do object detection are using some other forks of Caffe like NvCaffe or the SSD fork. None of these forks are available for Windows.
Does this mean it's not possible to do object detection on the Windows fork or is it just that people prefer not to. Sorry if this is a dumb question but I find the Caffe documentation somewhat lacking when it comes to explaining what features require what fork. I'm using the python interface if that makes any difference.
Thanks for any clarifications!
It is possible to run Caffe-SSD on Windows, but some effort is needed. You need to merge the changes from the Windows branch into the Caffe-SSD. There are some existing solutions for that (https://github.com/runhang/caffe-ssd-windows, https://github.com/gustavkkk/caffe-ssd-win, google for more), but I did not use those, unfortunately. Colleague of mine did it by himself, so it is definitely possible. As soon as you get it compiled and running, you will have a Python interface as well.

Downloading Julia from Anaconda or from julialang.org

I want to download Julia (the last version is 1.0) from Anaconda. However, you can download from https://julialang.org/. My questions are: What are the differences between both ways of installing Julia? Can I install, for example, DifferentialEquations.jlor Symata.jl without problems if I choose Anaconda? If I choose Anaconda, how good is the package management?
The only benefits of Anaconda are, as far I'm aware, that it automatically selects the right binary (i.e., OS), and likely has a slightly easier updating experience (for the language itself). However, it does not seem to support Windows (https://anaconda.org/conda-forge/julia), so if you happen to be on that platform, you are out of luck. I would recommend grabbing the binary from the website directly, the installation process is very straightforward.
The management of Julia packages will still happen inside Julia. Julia 1.0 has a very good package manager called Pkg. You can read more on installing packages within Julia on https://docs.julialang.org/en/v1.0.0/stdlib/Pkg/.

How to cleanly uninstall anaconda via terminal. I am having trouble getting coremltools to found as a module in Spyder

Image of installed Anaconda Directories OK, long story short. I just started learning about CoreML for iOS. So from what i gathered, theres only about 4 trained models on Apple's website. In the search of some more robust models, i found Caffe was a hugely mentioned one. You need to use python to be able to translate some of these other 'external' models. I installed Anaconda via the continuum website for mac and am using the only supported 2.7 python language with keras/scikit/and a few other modules....... So from what I think it could be is after I installed anaconda at Applications level on my mac, it should of been originally installed at the User level. I reinstalled it at the User level, so technically I have two instances of anaconda on my system. Neither will work and inside Anaconda, i cannot import coremltools.
I have a hunch that maybe i need to change some pointers. Or just uninstall it completely from the machine and reinstall it at the User level from the start. I have about a year of swift experience, so im much more confident in my swift ability vs terminal ability. If anyone could coach me through how to cleanly remove it from my macbook pro, and explain the commands, I would greatly appreciate it. Or give any insight about whats going on or what im not doing. I can go into more detail if need be. Cheers in advance

include pygame in your program

I'm about to finish a program which uses Pygame, which means you would need to install Python and Pygame in order to run the game. How can I include Python and Pygame in the program itself, or is there an easy way to make an installer for the game?
py2exe seems to be a popular answer, and I would suggest looking into it as well. I would also suggest trying pyinstaller. The setup is a bit more involved, but the tutorials are great.
Like PygameNerd said, I would suggest looking into py2exe. I wrote a game for a game jam and wanted to distribute it to people in my dorm. I used py2exe to load it up and distribute it pretty effortlessly (especially using Pygame).
Check out the py2exe website as well as this link on working with various modules in your package. I had dependencies with wxPython and used the latter guide to much success.

How can I create debian package (*.deb) from ruby application written with qt4?

I found a lot of tutorials how to build application with Ruby and Qt, but i have no idea how anybody else will be able to run it! I am using Ubuntu 11.10, ruby 1.9.2 with rvm and:
rbqtapi -v output "QtRuby 2.0.5 using Qt-4.7.4"
P.S. I have no idea how to build *.deb, it will be my first desktop app, not web.
please have a look on http://shoesrb.com/ this is the best way I heard off for writing GUI apps.
Shoes has now not it's greatest time, but we put our best time to make it better, give it a try and someone will help you.
In case you are in need of assistance just ask as question on #shoes IRC channel on freenode servers.
If you're sold on QT, then you will need your users to install all the support libraries for QT (and anything else), then you can upload a rubygem to rubygems.org for your users to download.
Once, they've installed the support libraries, you'd only need to update your rubygem, which is fairly quick and easy for updates.
You may also wan to look at visualruby. It uses GTK. Then you'd install the GTK libraries instead of the QT ones.
http://www.visualruby.net
As far as .deb packages go, I tried to research the same thing with little success. The rubygems packaging system is designed to distribute ruby programs, so it is the best way to go. Also, you'll need to install different support libraries for different platforms. If you look at visualruby's install page, you can see how to install GTK for Linux and Windows.
Good Luck.

Resources