Tim Wolf Posted May 27, 2021 Share Posted May 27, 2021 I'm trying to install some python libs in Seeq Data Lab. But I receive the same error(see screenshot) for every library, that I try to install. I also tried: import sys !{sys.executable} -m pip install xlwt Thanks for any help! Link to comment Share on other sites More sharing options...
Seeq Team Joe Reckamp Posted May 27, 2021 Seeq Team Share Posted May 27, 2021 Hi Tim, I believe you will need to set pypi.org to a trusted host following the instructions details at this Stack Overflow post: https://stackoverflow.com/questions/16370583/pip-issue-installing-almost-any-library Link to comment Share on other sites More sharing options...
Sanman Mehta Posted May 27, 2021 Share Posted May 27, 2021 Hi Tim, If above does not work then reach out to your organization IT helpdesk. Many organizations have internal white listed repositories for users that you should be able point your install commands. Link to comment Share on other sites More sharing options...
Tim Wolf Posted June 17, 2021 Author Share Posted June 17, 2021 Thanks for your help guys! So I tried the code from stackoverflow: pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org xlwt Unfortunately I received the same error again. Then I checked with my It helpdesk and they said that, it's fine for other users. But they ask me if you need any proxy settings within the console or system to make it work? Link to comment Share on other sites More sharing options...
Muhammad Atiyab Posted February 20, 2022 Share Posted February 20, 2022 (edited) Although i know it is already quite a few months off, but I thought I should write something up maybe for future users. You would need the proxy enabled on your Data lab Server and also the https://pypi.org need to be added to the whitelisted site for the firewall to allow the traffic to pass through. Once you are done with that You can use the following command to make sure you are directing the terminal to forcefully use the Proxy pip install xlwt --proxy http://proxyserver:port if you are looking to make it global run this before the above one. export PYTHONUSERBASE=/seeq/python/global-packages you can run this under the new terminal from the datalab. the above helped me over come the same error. Hope it helps. Edited February 20, 2022 by Muhammad Atiyab Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now