Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.5.0-rc2 qt linking error #42

Closed
rapus95 opened this issue Aug 15, 2016 · 7 comments
Closed

0.5.0-rc2 qt linking error #42

rapus95 opened this issue Aug 15, 2016 · 7 comments

Comments

@rapus95
Copy link

rapus95 commented Aug 15, 2016

coming from there: JuliaPy/PyPlot.jl#237
that's the error now:

julia> using Conda

julia> Conda.add("pyqt")
Get-Process : Es kann kein Prozess mit dem Namen "Outlook" gefunden werden. Überprüfen Sie den Prozessnamen, und rufen Sie das Cmdlet erneut auf.
In Zeile:1 Zeichen:1
+ Get-Process Outlook
+ ~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Outlook:String) [Get-Process], ProcessCommandException
    + FullyQualifiedErrorId : NoProcessFoundForGivenName,Microsoft.PowerShell.Commands.GetProcessCommand

Fetching package metadata .........
Solving package specifications: ..........

Package plan for installation in environment C:\Users\necka\.julia\v0.5\Conda\deps\usr:

The following NEW packages will be INSTALLED:

    pyqt: 4.11.4-py27_7
    qt:   4.8.7-vc9_9   [vc9]

Linking packages ...
Error: Error: post-link failed for: qt-4.8.7-vc9_9                       |   0%
ERROR: failed process: Process(setenv(`'C:\Users\necka\.julia\v0.5\Conda\deps\usr\Scripts\conda' install -y pyqt`,String["CONDARC=C:\\Users\\necka\\.julia\\v0.5\\Conda\\deps\\usr\\condarc-julia","=::=::\\"]), ProcessExited(1)) [1]
 in pipeline_error(::Base.Process) at .\process.jl:616
 in run(::Cmd) at .\process.jl:592
 in add(::String) at C:\Users\necka\.julia\v0.5\Conda\src\Conda.jl:144
@stevengj
Copy link
Member

Try opening the Windows command line and running C:\Users\necka\.julia\v0.5\Conda\deps\usr\ Scripts\conda install -y pyqt to see if the error recurs. If so, then the problem may be with with Anaconda itself, not Conda.

It sounds similar to ContinuumIO/anaconda-issues#555 or especially https://github.com/conda/conda#1811 ... see the comments in those issues for suggestions.

(Note: I found those issues by googling "post-link failed" qt. Googling keywords from the error message is always a good first thing to try when you encounter a problem.)

@rapus95
Copy link
Author

rapus95 commented Aug 16, 2016

running the command you recommended indeed WORKED and solved my problem. So when it was executed from within julia it didn't work, but running it from cmd directly it worked... That's strange.
Thanks for solving.

Close the problem because there is a solution or keep it open because you need to workaround?

@stevengj
Copy link
Member

I guess keep it open? The problem with this sort of thing is reproducing it.

@Luthaf
Copy link
Contributor

Luthaf commented Aug 22, 2016

Could this be the same issue that #41 is trying to solve (i.e. a linking error of Qt on Windows?)

@stevengj
Copy link
Member

@Luthaf, that sounds like a possibility.

@Luthaf
Copy link
Contributor

Luthaf commented Aug 27, 2016

It looks like this have been resolved with 0.5-rc3. @rapus95, could you try to check if this works for you?

@stevengj
Copy link
Member

Seems resolved?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants