This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Configuring Lauch configuration using anaconda and KDevelop

Tags: None
(comma "," separated)
caget
Registered Member
Posts
2
Karma
0
How do i configure Kdevelop enviroment on windows to point to my anaconda python installation. I have already set the path on windows. The configure enviroment variable does not have the option to put the path rather it gives the option to enter variable and value. https://drive.google.com/open?id=1zcfVGZb8-bKGkw9ww2I4PjBa8yIH9QvG
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
For the "Run" button, just set the right path to the python interpreter in the "configure launches" dialog.

For KDevelop's code analysis (highlighting, completion etc), this is a project-specific setting. Right-click your project in the projects toolview, and under settings, you can configure a Python interpreter.

Both settings are independent of each other.


I'm working on the KDevelop IDE.
caget
Registered Member
Posts
2
Karma
0
Hi thanks for the response but I still have the same problem as before. As per your directive of when I click on the run button, a window appears "Launch configurations'. The is an add button that provides three options 'Compiled binary, Plasmoid Launcher and script application'.I have tried all of these settings but I keep receiving the same error '*** Could not start program 'python3 D:/Projects/python/p3/p3.py'. Make sure that the path is specified correctly ***' . I have also tried the second option of right clicking in the projectview open configurations and set the python interpreter to point at 'C:\Users\User\Anaconda3\python.exe' but I still get the same error.
User avatar
scummos
Global Moderator
Posts
1175
Karma
7
OS
Can you screenshot your launch configuration? It should really work if you use the Script application launcher, and put the path to the interpreter.


I'm working on the KDevelop IDE.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Evergrowing, Google [Bot], lockheed, mesutakcan, Sogou [Bot]