I am new to Pycharm and Python in general. I am starting with Data science self study using the book Data Science from scratch by Joel Grus. The author has a Github page which has all the required packages to run the code given in the book. I am using Pycharm as my IDE to practice coding in Python.
The author's GitHub page is below.
https://github.com/joelgrus/data-science-from-scratch
I am trying to install files in PyCharm using the following command in the Pycharm terminal:
pip install git+https://github.com/joelgrus/data-science-from-scratch.git
When I do so, I get an error shown below:
Pycharm Terminal error message
Can someone help me to fix the steps?
Thanks,
Rohit
Why don't you just download the requirements.txt / clone the whole repository first
then run pip install -r /path/to/requirements.txt
you want to get the repository anyway right.
Downloaded the module from author github page.
The
File --> Settings --> Project Structure --> Add content Root
I added the file path to the module that was downloaded.
Pycharm settings screenshot
Related
I am a programming starter to try github for the first time.
https://github.com/froala/design-blocks
I completed the clone as described in the main link.
I have also completed the npm installation as described in the text and have successfully run it.
But if i simply want to use source code, do i not need to install the module using npm?
Why do I install the module using npm?..
How do I use the packages I installed using npm?
Even if I did a search on Google, there was no post for beginners like me.
I really appreciate your advice.
I just tried to install VS code and the openhab extension via this site (https://code.visualstudio.com/docs/setup/linux) and followed all the steps until "sudo apt-get install code-insiders". Then it failed.
It tells me: Package code-insiders cannot be found.
Any ideas? Do I need to insert a code number?
Furthermore, how can I install the required openhab2 extension? I donĀ“t find the required add-on in the selection menus.
Thanks for your help,
db
When you installed Visual Studio, you probably did so by downloading the package and installing it directly, instead of following their instructions for including Microsoft's repository on your system. Or maybe there was a hiccup when you followed their instructions, and something didn't get installed correctly.
You have two choices. You can include Microsoft's repo in your apt by following their instructions here (refer to the section under Debian titled "The repository and key can also be installed manually with the following script:"), or you can download the code-insiders package from here and install it manually. (I'd recommend the first option, as Microsoft should be a trustworthy company to add into your apt repository list.)
I want to install a python package from github. It seems that pip install https://github.com/codelucas/newspaper/archive/python-2-head.zip is the way to go. However, this only installs the python files you can find here without the other folders. The package breaks because of this.
If I run pip install newspaper (which refers to the same code) the other repos are correctly installed.
I could not get if the problem is coming from pip or the package I'm trying to save (I'm kind of new to python packaging :)
The reason I don't want to use pip install newspaper is that I'm working on a fork of that code that I want to pull from github to my server directly. I have the same problem with my fork.
You can install the latest snapshot from the github repository with the following command
pip install git+https://github.com/codelucas/newspaper.git
You can find further information in the corresponding section in pip's documentation.
I am starting to learn how to use Google APIs for a project that will be using Google maps. I am following a tutorial on youtube(link below), where the subject is using eclipse with a mercurial plugin. The plugin, after I downloaded it, appears buggy and keeps throwing an error: "Command line: hg -y debuginstall." I attempted to open terminal(I have a mac) and use the particular line "hg -y debuginstall" but it cannot find hg. Any way to resolve this error or debug the download? This tutorial was created by Google so I am confident in the source.
Tutorial: http://www.youtube.com/watch?v=tVIIgcIqoPw
The Eclipse Mecurial plugin depends on the Mercurial application, so need to install that as well. You can get it here.
After installing it, the error should go away. Unfortunately, the plugin has other bugs which eventually made me give up on it. I'm using Mercurial from the command line or with the excellent SmartGit (which, despite the name, also supports Mercurial and Subversion).
I am using logstash-1.4.2, and follow the tutorial here:
http://logstash.net/docs/1.4.2/contrib-plugins
to install contrib plugins for my stomp.
but when I follow the tutorial in "Automated Installation" part, run:
plugin.sh install contrib
I will have the following:
C:\logstash\logstash-1.4.2\logstash-1.4.2\bin>plugin.sh install contrib
Welcome to Git (version 1.9.0-preview20140217)
Run 'git help git' to display the help index.
Run 'git help <command>' to display help for specific commands.
which does not look that my plugins have been added.
Anyone has a solution for this, Thanks.
The current logstash contrib automated installation only works for Linux/Mac OS, which is why this is failing for you. There are a couple of approaches you can take:
There has been some code checked in for doing this on Windows, just
not yet merged into the production release. Check here:
https://github.com/elasticsearch/logstash/pull/1356
You can just download and extract the files into your logstash
directory ( in your case the one above bin). Discussion of that
approach here:
https://groups.google.com/forum/#!topic/logstash-users/KbLwrgC4qSk