question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spyder has encountered an internal problem

See original GitHub issue

Just updated to spyder 3.3.0 and experience this problem. Whenever spyder opens the issue reporter pops open saying that spyder has encountered an internal problem, clicked on details it showed

File "/usr/local/lib/python3.5/dist-packages/spyder/app/mainwindow.py", line 1961, in valid_project
    if bool(self.projects.get_active_project_path()):
AttributeError: 'NoneType' object has no attribute 'get_active_project_path'

python version python3.5, OS Ubuntu 16.04.4 and spyder installed with pip3 install

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:35 (13 by maintainers)

github_iconTop GitHub Comments

7reactions
ccordoba12commented, Apr 21, 2022

Hey @ShengnanDing, thanks for reporting. This error is already fixed in our latest version (5.3.0).

Since it’s still not available in Anaconda, you have two options:

  1. Use our Windows installer, which you can find here.

  2. Create a new environment with conda-forge packages. For that, please close Spyder, open the Anaconda Prompt and run the following commands there:

     conda create -n spyder-cf -c conda-forge spyder
     conda activate spyder-cf
     spyder
    
2reactions
idk45gcommented, Aug 12, 2022

Hi @idk45g you need to follow the steps described at #7397 (comment)

Basicallly, you need to create a new env to have the latest Spyder release installed which prevents the error you are also experiencing. After creating the env you need to be sure to launch the correct Spyder installation. For that you can use the shortcut created for Spyder in the new env (you can search for it from the start menu something like Spyder (spyder-cf))

i fixed it, thank you so much 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spyder had encountered an internal problem! Somewhat ...
Spyder had encountered an internal problem ! Somewhat works on Windows machine under other app, but crashes on Linux all the time.
Read more >
Simple input function gives spyder an internal problem
This is the error code I keep on getting. Worth noting that the code works if x has a predetermined variable. Traceback (most...
Read more >
Spyder had encountered an internal problem! - Google Groups
First one which crashes it is: text = input("Type anything... ") print(5*text). num = int(input("Type a number ...
Read more >
Problem with installing Spyder - Anaconda Community
Hi, I installed Spyder 5.1.5; however, when I start it, it fails with the message: 'Plugin ... Spyder has encountered an internal problem....
Read more >
Error in Using INPUT statement - Python Forum
each time I run this simple statement, the error message "Spyder has encountered and internal problem" will come up.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found