• support[@]kurinchilion.com
  • +1 (888) 666-4252

Tags

ImportError: No module named pip’ right after installing pip?

Jul 09, 2021 - by kurinchilamp / / Post Comment
ImportError: No module named pip' right after installing pip? $ python --version Go to the folder where you have installed python and the change to "Scripts" directory > easy_install.exe pip This should do the trick of setting up pip in your windows machine in case if pip is corrupted.
Continue Reading

Python PIP install: Insecure platform warning

Dec 21, 2016 - by kurinchilamp / / Post Comment
Normally, installing a python module and its dependencies is done via Pip. If HTTPS is blocked in private networks, then things might get tricky and you get the following message. InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. To bypass this, you can issue the below command to trust pypi.python.org $ pip install --trusted-host pypi.python.org Flask To make sure that the needed module is installed, check it by $ pip freeze
Continue Reading

How to use different Python version with virtual environments?

Mar 30, 2015 - by kurinchilamp / / Post Comment
Use the flag -p with virtualenv command to specify the python version that you would want to use $ virtualenv -p /usr/bin/python/2.7 For windows environment, use c:\> virtualenv --python=c:\Python27\python.exe myenv
Continue Reading

Python: How to setup virtual environment?

Feb 03, 2015 - by kurinchilamp / / Post Comment
Different projects in python may require different modules and its dependencies. Also, there may be a necessity that certain projects be run on newer/older python releases hence introducing version conflicts. Virtual environment is a tool that helps you manage these scenarios. To install virtualenv, use pip $ pip install virtualenv Now, create a virtual environment "myenv" $ virtualenv myenv To use the virtual environment, key in $ source myenv/bin/activate (if in windows, key in "myenv\Scripts\activate") The name of your virtual environment will appear on the left of the prompt (myenv) ...$ To exit out of the virtual environment, key in $ deactivate
Continue Reading

How to check Python version number in Linux/Unix environment?

Sep 25, 2012 - by kurinchilamp / Linux Server / Post Comment
To check the Python version number in Linux, simply type $ python -V You will get an output
Python 2.4.3
Continue Reading

TECHNOLOGY DEV STACK

Following are some of the technologies that we use to build and maintain solutions for our clients.