I have a conda environment named old_name, how can I change its name to new_name without breaking references? Answer New answer: From Conda 4.14 you will be able to use just: Although, under the hood, conda rename still uses [1][2] undermentioned combination of conda create and conda remove. Use the -d flag for dry-run (not destination, as of v22.11.0) Old
Tag: anaconda
How do I upgrade to Python 3.6 with conda?
I want to get the latest version of Python to use f-strings in my code. Currently my version is (python -V): How would I upgrade to Python 3.6? Answer Anaconda has not updated python internally to 3.6. a) Method 1 If you wanted to update you will type conda update python To update anaconda type conda update conda If you
How to insert javascript code into Jupyter
I’m trying to insert this script on custom.js. I changes to color red all the negative currency. I want it to be applied to all pandas dataframes printed on Jupyter. After adding it to all custom.js available on jupyter/anaconda folders, it still didn’t change anything. Can someone help me? Answer
How to insert a picture into Excel at a specified cell position with python (Anaconda) use vba
I try to use this link with vba code but in Python it doesn’t work. AttributeError Traceback (most recent call last) in () 9 sheet.Cells(20, 20).Select 10 #obj1=sheet.Shapes.AddPicture (r’C:/Users/Home/Desktop/picture.jpg’, False, True, 10, 3, 100, 100) —> 11 obj1=wb.ActiveSheet.Pictures.Insert(r’C:/Users/Home/Desktop/picture.jpg’) 12 obj1.ShapeRange 13 obj1.ShapeRange.LockAspectRatio = msoTrue AttributeError: ‘function’ object has no attribute ‘Insert’ Answer Unless you absolutely need to use VBA, this
Jupyter python3 notebook cannot recognize pandas
I am using the Jupyter notebook with Python 3 selected. On the first line of a cell I am entering: The error I get from the notebook is, ImportError: No module named ‘pandas’. How can I install pandas to the jupyter notebook? The computer I launched the Jupyter notebook from definitely has pandas. I tried doing: And it says it
run a crontab job using an anaconda env
I want to have a cron job execute a python script using an already existing anaconda python environment called my_env. The only thing I can think to do is have the cron job run a script called my_script.bash which in turn activates the env and then runs the python script. Trying to execute this script from the command lines doesn’t
Install Plotly in Anaconda
How to install Plotly in Anaconda? The https://conda.anaconda.org/plotly says to conda install -c https://conda.anaconda.org/plotly <package>, and The https://plot.ly/python/user-guide/ says to pip install plotly. I.e., without package. So which packages I should specify in Anaconda conda? I tried without one and get errors: Answer If you don’t care which version of Plotly you install, just use pip. pip install plotly is
Using multiple Python engines (32Bit/64bit and 2.7/3.5)
I would like to use Python for scientific applications and after some research decided that I will use Anaconda as it comes bundled with loads of packages and add new modules using conda install through the cmd is easy. I prefer to use the 64 bit version for better RAM use and efficiency but 32bit version is needed as well
Pandas versions compatible with specific python and numpy configurations?
Is there a programmatic way to find out which pandas versions are compatible with specific python and numpy configurations? My interest is to get pandas going within ESRI ArcMAP 10.1, which runs on 32-bit Windows and is built on python 2.7, numpy 1.6. I tried creating a conda environment for Python compatible with ESRI ArcMap 10.1 by opening a 32-bit