Closed mpharrigan closed 9 years ago
Stack overflow has this to say:
http://stackoverflow.com/questions/17373265/pip-easy-install-failure-failed-to-create-process
Although I did not rename anything
Where is the script located?
It could also be a permissions issue. Is there a sudo
equivalent in windows?
Windows 7 has made user privileges a huge hassle. It's intended to protect the average user but gives developers headaches.
Run cmd.exe as Admin (right-click on the .exe and then select "Run as Administrator") and this problem should be solved.
I tried reinstalling via a "run as administrator" command prompt (equivalent of sudo) and it still doesn't work
I also tried installing it in my python3 environment, and it also didn't work
The scripts are in C:\Anaconda\Scripts
, which is in the path
This might be related:
Let me boot up my VM. I probably did something dump.
Can anyone try the conda linux and mac binaries I made from the same release?
@rmcgibbo, is it possible to configure the conda package to use that *.bat
scheme instead of *.exe
. That seemed to work more robustly
For reference, all the other scripts in anaconda seem to use the .bat paradigm. Except sphinx, which has both, but windows will use the .bat file over the *.exe
@rmcgibbo, is it possible to configure the conda package to use that .bat scheme instead of .exe. That seemed to work more robustly
Do you have a link or anything? I wasn't explicitly trying to use one over the other...
[ I can reproduce the problem on my own VM that I built these packages on -- so sorry about that everyone for releasing garbage ]
FWIW, there are a lot of "reference" conda recipes here:
Here's a discussion of all of this: http://matthew-brett.github.io/pydagogue/installing_scripts.html
yeah, and the msmbuilder setup.py is using the console_scripts
part of setuptools. http://matthew-brett.github.io/pydagogue/installing_scripts.html#setuptools-and-console-script-entry-points
That uses the bat file. It seems fairly simple. I don't really understand why the other one isn't working though, so it's not obvious to me what to do.
Btw, is it possible to remotely access your windows VM @rmcgibbo ?
So when you install from source (setup.py install) on windows it works. So the conda build step (that runs setup.py and then packages it up) is the problem.
I don't think so. You can maybe scp
the whole virtual disk though?
We now depend on setuptools at install time to write the console script stuff
So how does conda interact with the console script stuff? If they're actually written during the setup.py install
step then conda never rewrites them?
I just tried rebuilding the package, and it "seems" to work now...
the binstar
upload client doesn't seem to work on windows. it just hangs. I uploaded one of the packages to here: https://drive.google.com/file/d/0BzcoWVF3dFTfRF9DNk4xS3RIdUE/edit?usp=sharing
if you have windows, try downloading the file and then just conda install
it.
I don't have permission to get that file
you should now.
It still doesn't work for me. I uninstalled, ran conda clean, and installed from the tarbal
With the same error, or a different one?
Sorry, should have been clear. Same error (Failed to create process
). Although there's no "linking errors" anymore from conda during install
Can you try building the packages on your machine then? Clone https://github.com/rmcgibbo/conda-recipes and run conda install conda-build; python build-all-msmbuilder.py
I'll try that. I just installed from pip and it works fine from that
Wait, where is build-all-msmbuilder.py
Oops. I forgot it. It's there now.https://github.com/rmcgibbo/conda-recipes/commit/6c54e2509dccce7bed8d2f27dfffb9caa41b3a02
Alright it's taking forever and I have to go to dinner
It looks like it's stuck in a loop?
I built all four binaries with that script and pushed them to binstar (one of those 4 is the one on google drive). I then deleted all of the packages from my machine and ran conda install msmbuilder
, which download the file from binstar and it worked. This was on windows 7.
I also tried installing from binstar on my XP virtual machine, and that failed. With the same original error.
Ok the build finally finished. It l don't know where any of the packages ended up, but it created a virtualenv _build
and msmb works after activating that env
I gotta go now though
I can recreate Joy's issue
During install I got the following worrying error message
Third thing, the installation is different now. Whereas it used to create a batch file (
msmb.bat
) that called python on the associated script (msmb-script.py
), now it has an *.exe file (msmb.exe
) instead, as well as the script (msmb-script.py
) All the scripts are like this now, and none of them work