[spyder] Re: Sincnet

2023-11-10 Thread Daniel Althviz Moré
Hi Dino,

If you want to use an specific package, outside the ones that come bundled 
with the Spyder installer, you will need to create a Python environment 
with your package installed, along side a compatible version of the 
*spyder-kernels* package, and set the Python environment interpreter as a 
custom interpreter from the Spyder preferences. For more details on the 
process to follow to use specific packages with the Spyder installer and 
some other usual questions on how to use Spyder in general you can check 
the Spyder docs FAQ page:  Frequently Asked Questions — Spyder 5 
documentation (spyder-ide.org) 


Let us know if the info above helps!

Best regards,

Daniel

El miércoles, 8 de noviembre de 2023 a las 11:08:09 UTC-5, Dino Levy 
escribió:

> Hi,
> I am trying to import 'sincnet' into spyder desktop but can't seem to do 
> it.
> Any help would be appreciated.
>
> Thanks
> Dino
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spyderlib+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/5a2c0b27-5fa4-4f24-a194-baf64b1bb1een%40googlegroups.com.


[spyder] Re: Spyder version of Python

2023-11-10 Thread Daniel Althviz Moré
Hi Jeff,

To run code using a Python 3.12 interpreter I think the only option for the 
moment is to use a custom interpreter or to do a installation via pip. 
Regarding the issue you have when trying to use the custom interpreter 
option, not completly sure but from the mention of an invalid path, maybe 
that behavior is related with this issue: Unable to select Python 3.10 
interpreter · Issue #17380 · spyder-ide/spyder (github.com) 


Let us know if the info above helps!

Best regards,

Daniel


El viernes, 13 de octubre de 2023 a las 12:29:57 UTC-5, jlhan...@gmail.com 
escribió:

> Hi, all.
>
> I installed the latest Spyder version, but it's using Python 3.8.10.  The 
> current version is 3.12.0.  How do I get Spyder to update that?  I tried to 
> point it to my 3.12.0 installation, but it returns that it's an invalid 
> path.
>
> TIA,
> jeff
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spyderlib+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/3725f5d4-994e-4363-8f98-882647e0ed67n%40googlegroups.com.


[spyder] Re: LSP very slow

2023-11-10 Thread Daniel Althviz Moré
Hi,

We recently released Spyder 5.5.0, could it be possible for you to update 
to that version and check again? Also, could you try to restart the Python 
language server and see if that helps? For more info on how to do the 
restart you can check the Spyder docs Common Illnesses page:  Common 
Illnesses — Spyder 5 documentation (spyder-ide.org) 


Let us know if the suggestions help!

Best regards,

Daniel

El miércoles, 1 de noviembre de 2023 a las 7:20:36 UTC-5, 
moritz...@gmail.com escribió:

> I just upgraded my project from python 3.7 to 3.9, and, in the process, 
> also updated to the latest spyder version (5.4.5). I noticed that whenever 
> I type something (even in docstring where no code-completion or the like 
> should happen) there is a lag of 1-2 seconds where the cursor doesn't move 
> and my input is delayed, which is annoying as it breaks the flow. 
>
> This behavior disappears when I deactive the LSP checkbox, but then none 
> of the basic functions work (code introspection, go-to-file, etc.). 
>
> Does anyone else experience similar issues? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spyderlib+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/4eb668f8-2d8e-4f63-8555-f0c535d94853n%40googlegroups.com.


[spyder] Re: terminal error

2023-11-10 Thread Daniel Althviz Moré
Hi,

This error/message comes from the *spyder-terminal* plugin:  Terminal 
server could not be located · Issue #336 · spyder-ide/spyder-terminal 
(github.com)  If 
you are using Spyder from the installers and you don't use the 
*spyder-terminal* plugin, I would suggest you to update to the latest 
Spyder release (starting from Spyder version 5.5.0 the installer doesn't 
come with the *spyder-terminal *plugin so the error should not appear with 
it). Otherwise, you will need to uninstall the *spyder-terminal* plugin and 
try to contribute with debugging info in the linked issue to find a fix.

Let us know if something of the above helps!

Best regards,

Daniel

El viernes, 13 de octubre de 2023 a las 12:29:58 UTC-5, 
dasavis...@gmail.com escribió:

> terminal server could not be located at ... please restart Spyder on 
> debugging mode and open an issue with the contents of None and None files 
> at 
>
> how to Fix it?
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spyderlib+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/c00ef8dc-864f-4c72-b8b3-948df680eee5n%40googlegroups.com.


[spyder] How can I install Numba for Spyder?

2023-11-10 Thread Fausto A. A. Barbuto
Hello,

Spyder imported every library I tried so far, except Numba. An error
pops out. Yet Numpy, Matplotlib and several other packages can be
imported without problems. I also observed that Python's "regular"
packages and Spyder's are installed on different locations. Example:

Python:
>>> import numpy
>>> numpy.__file__
'C:\\Program Files\\Python\\lib\\site-packages\\numpy\\__init__.py'

Spyder:
In [1]: import numpy

In [2]: numpy.__file__
Out[2]: 'C:\\Program Files\\Spyder\\pkgs\\numpy\\__init__.py'

And that's why (I think) Numba can't be imported: it simply does not
exist in 'C:\\Program Files\\Spyder\\pkgs\\'.

Hence my question: how could I install Numba for Spyder? Spyder's
default Python interpreter does not come with pip.

I'm not using conda, and pointing Spyder to the Python interpreter in
C:\Program Files\Python (with Tools/Preferences/Python Interpreter)
did not work.

Thanks for any help you can provide.

Fausto

-- 
You received this message because you are subscribed to the Google Groups 
"spyder" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to spyderlib+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/spyderlib/CA%2BB6aWGFU4BXJEy_y2A7CMr%3DoTa1eh%2BW8Uv_cX1ETde1siM4RQ%40mail.gmail.com.