-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Error when trying to add directories in PythonPath Manager #20506
Comments
Hey @jeannotr, thanks for reporting. We'll try to fix this error in our next version (5.4.3), to be released next month. You also said:
Even after fixing the error you reported, I'm afraid you won't be able to do what you want because Spyder doesn't accept adding the So, to do what you want you need to follow these instructions in our documentation. In your case, you don't need to install Anaconda and then install Selenium again because you already did that (even if you didn't use Anaconda). You simply need to install Spyder-kernels in your external Python installation and then change your Python interpreter to point to it. |
site-packages
directory in PythonPath Manager
Hi,
Thanks for this very complete reply. Really appreciate it.
Best,
Jehan
… Le 9 févr. 2023 à 16:25, Carlos Cordoba ***@***.***> a écrit :
Hey @jeannotr <https://github.com/jeannotr>, thanks for reporting. We'll try to fix this error in our next version (5.4.3), to be released next month.
You also said:
Try adding /sitepackages in the tools in spyder, but doesn't work.
Even after fixing the error you reported, I'm afraid you won't be able to do what you want because Spyder doesn't accept adding the site-packages directory of another Python installation through its Python path manager. We decided to prevent that because it would lead to mixing packages of different Python versions (e.g. 3.9 and 3.11) or providers (e.g. Anaconda and MacPorts, which are binary incompatible).
So, to do what you want you need to follow the instructions in our documentation <https://docs.spyder-ide.org/5/faq.html#using-packages-installer>. In your case, you don't need to install Anaconda and then install Selenium again because you already did that (even if you didn't use Anaconda). You simply need to install Spyder-kernels in your external Python installation and then change your Python interpreter to point to it.
—
Reply to this email directly, view it on GitHub <#20506 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/A5YZS56GTFDKR3VX75QOTHTWWUD7TANCNFSM6AAAAAAUWOBEU4>.
You are receiving this because you were mentioned.
|
site-packages
directory in PythonPath Managersite-packages
directory in PythonPath Manager
site-packages
directory in PythonPath Manager
@ccordoba12 The issue also occurs with PySide2. I will make a PR with a fix tomorrow. |
Great! Thanks for your help with that. |
Description
What steps will reproduce the problem?
Installed selenium with pip. Try adding /sitepackages in the tools in spyder, but doesn't work.
Traceback
Versions
Dependencies
The text was updated successfully, but these errors were encountered: