Hey guys, I cannot install a module ‘tlbo’ using the console on spyder, turns out even ‘pip’ is not installed and I cannot install ‘pip’ as well.
The commands you are using are intended to be run at a shell prompt. The prompt you have (the “In [n]:” thing) is a Python interpreter prompt, and won’t recognise those commands.
I’m not a user of spyder, and I don’t know how familiar you are with the operating system console, so I’ll defer to others to give you more detailed advice, though.
Yes I just realized I wan’t using the terminal, but I still have the same error
At the cmd.exe command line you would typically type this:
python -m pip install tlbo
Does that work for you?
Also please post command out as text. You can copy from the terminal and do not need to take a picture of the screen.
Use “code fences” like this:
```
Code does here
```
I tried typing your command and it showed me this:
ERROR: Could not find a version that satisfies the requirement tlbo (from versions: none)
ERROR: No matching distribution found for tlbo
I cannot help you with tlbo
. But clearly you now have pip working.
You need to check with who ever/what ever said to use tlbo where to get it from.
(I’ve moved this from the #packaging section to the #users section)
Quick check: python --version
- what does it tell you?
Python 3.9.13
It looks like there’s a tlbo
module in the fylearn
package. (I’ve never used either.) Try installing fylearn
maybe?
python3 -m pip install fylearn
Can you show us what led you to trying to install tlbo
? Some tutorial or article?