I am new to python and machine learning. I am trying to create separate anaconda environments for tensorflow, keras, etc. in my Windows machine. I have successfully installed anaconda with automatic environment path setup. Created a test environment but when I try to create another one I get the following error. I have python 3.6.2 and 3.7.2 installed in conda. When I write the command
conda create -n t_tensor
it gives the following error. Not sure where the problem is. Any help is appreciated.
Thank you.
Error Image
Related
The problem is that within the PyCharm editor, the gdal applications (e.g. gdalwarp or gdal_grid https://gdal.org/) cannot be found when using os.system. For example the code:
os.system(f"gdalwarp -t_srs EPSG:27700 {fnc} {tname}")
returns this error message 'sh: 1: gdalwarp: not found'.
I am using PyCharm interpreter with the following settings:
Ubuntu WSL platform
conda environment with gdal libaries installed.
When I run the code from the ubuntu terminal, it does find the gdal libraries. So I don't think the problem is within the conda environment, but there is a problem with PyCharm settings to find the gdal application using os system.
I do not want to change the code, but I would rather figure out the correct PyCharm settings. Any help would be greatly appreciated.
I am new to jupyter and right from start I am trying to run it in VSCode and that too with a virtual environment. I hope that is not too much for you guys.
So here are steps I did;
I installed python and vscode
Added Paths in windows and all virtual environment things work fine
For data processing I created new virtual environment 'DataProcessingVenv'
I opened this venv in Terminal in VSCode and installed Pandas
I did pip install Jupyter
I did pip install ipykernel
next did ipython kernel install --user --name=DataProcessingVenv
In VSCode I created new notebook
pressed Ctrl+Shift+P and selected interpreter as /DataProcessingVenv/Scripts/Python.exe
Now I am trying to read a csv present in same fodler where notebook is present but somehow it is not working. I really don't know what is wrong and where, even don't know if I have provided all required info to solve the issue. Please guide me it some more info is required or if I can do something to solve the issue. I am attaching the current image in VSCode with error at the end.
So at the end the solution was simple. But it took time to learn. I just had to run all previous cells in Jupyter to make the current cell work.
currently i am doing course on Data Science on coursera but i dont know how to install jupyter notebook environment as well as pandas library can anyone show me how it is done?
For fulfilling above requirement please install Anaconda(data science toolkit) in you system which comes with all the packages/modules which includes Pandas,Numpy and Jupyter notebook.
Anaconda comes with follow packages check out the link
Anaconda Download Link
How to install Video Guide link
I recommend you download & install Anaconda Navigator
Once you install & launch it, you can then download Jupyter notebook from the dashboard of anaconda navigator
If you want to create a new environment, say new_env, then there is an option for creating a new environment aswell. Just select if you want to use Python or R, and which version you want and a new environment is created
Assuming you are using windows, search for Anaconda Prompt from the windows start and activate the new_env by doing: activate new_env
When the new_env is activated, just follow the instructions here for installing pandas
You can also check this like out: Installing Jupyter Notebook
I have started learning python and in the initial stage i am not be able to execute any code on python. While searching over the google, i found that it occurs due to kernel error and same is reflecting on the top and trust box is disabled. I have re-installed the software 2/3 times and Anti Virus program was also disabled until software gets installed properly on system. But it didn't work. I am attaching the screen shot for your reference.
I am totally new in the programming end and hence if you could explain me what exactly needs to be install step by step it would be helpful to make things done easily. There are many posts wherein answers are mentioned, but i didn't understand how those code to be executed.
Please try out by creating a new conda environment.
Create conda environment using the command :
conda create -n <env_name> -c intel python=3.6
Activate the environmemt using the command :
source activate <env_name>
Please install the required packages in this environment.
Kindly install the ipykernal using the command:
conda install ipykernel
ipython kernel install --name <env_name> --userĀ
Select the installed ipykernal from your jupyter notebook.
Hope this helps.
Please refer the following link, https://github.com/jupyter/notebook/issues/2301
I have just installed pycharm 2019 edition. I have already installed python 3.7 in my system. My normal python program in pycharm is running fine i.e. printing hello world but I am not able to install packages like pandas and all. its showing error. 2nd thing i am not able to see latest version of pip that is been shown in pycharm.
I have tried to do this with some changes in manage repositories but It didn't wokred
While clicking on pip its showing "Error loading package list:pypi.python.org" this error message.
I want to install packages but cant able to do it.
Please download Anaconda Distribution, which is basically made for pandas and all. You can use Spyder which is one of the best tools for Data Science. There you can easily install pandas.