Comments (12)
READ ALL OF THIS.
Open a terminal and type that command.
For instance, let's assume you have the downloader script (and all the other files in this repository) in ~
(the Linux home directory) and manifest.json
in ~/Downloads
(the default location for downloaded files.)
If you're on Windows, the paths probably look something like C:\Users\YourUserName\
and C:\Users\YourUserName\Downloads
Once you've made sure you know the locations of those files, open a terminal and type python
.
The output should look something like this:
Python 2.7.11+ (default, Apr 17 2016, 14:00:29)
[GCC 5.3.1 20160413] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
Go ahead and type exit()
to exit the python interpreter.
(If you get an error saying the command wasn't recognized, you need to get Python from their website.)
On line one, you can see your Python version. Make sure it's 3.4 or above. In my case, it's not so I have to use the command python3
.
Once you've affirmed your python version is correct, type your final command as follows:
python [Where downloader.py is] [Where manifest.json is]
OR if the first command fails to do it:
python3 [Where downloader.py is] [Where manifest.json is]
Of course, substitute in the actual paths and drop the brackets. If you still don't get it let me know.
from cursedownloader.
I'm running Windows 7, should have mentioned that earlier, I guess.
I don't know what a "terminal" is.
Do you mean cmd.exe? I've typed python
, but it doesn't recognize that as a command.
I am certain that my installed version of python is 3.4.
from cursedownloader.
I don't know what a "terminal" is.
Under Windows, yeah that's cmd.exe or the Command Prompt as Windows officially calls it.
Look in the start menu, is there anything in a folder labeled 'Python' (or similar)? Should have items like IDLE, among others that I can't remember off the top of my head.
from cursedownloader.
I have these: http://puu.sh/p8aD6/1aa4303401.png
(didn't mean to close)
from cursedownloader.
Alright, so it looks like you did install Python successfully.
Please open 'Python (command line)' and post results.
from cursedownloader.
This is what it says when opened:
Python 3.4.0 <v3.4.0:04f714765c13, Mar 16 2014, 19:25:23>
[MSC v.1600 64 bit <AMD64>] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>>
Then, typing python
followed by both paths yields the following:
File "<stdin>", line 1
python [path to downloader.py] [path to manifest.json]
^
SyntaxError: invalid syntax
>>>
from cursedownloader.
Okay, so Python is installed and working.
Try running python3
in a command prompt, and let me know what happens.
from cursedownloader.
cmd:
same output as python
python command line:
Traceback <most recent call last>:
File "<stdin>", line 1, in <module>
NameError: name'python3' is not defined
>>>
from cursedownloader.
No, I mean open a new Windows command line and try to run python3
. Should've made that clearer, sorry.
from cursedownloader.
Please explain like I'm five.
Am I supposed to install python 3.0?
Typing python3
into a new command line does the same as typing python
.
It doesn't recognize it as a command.
from cursedownloader.
Hmm, alright. If you have Python 3.4 or greater installed correctly, running python
or python3
should bring up the Python interpreter.
The latest and greatest version can be found here.
Once you've made sure that's installed, and you can get python
or python3
to work right, you should them be able to type python [path to downloader.py] [path to manifest.json]
or python3 [path to downloader.py] [path to manifest.json]
and get the script to run.
If for some reason using the Python installer doesn't get you to at least calling the interpreter from cmd, I really can't help you. I'm too used to it being built in (Ubuntu comes with Python).
from cursedownloader.
3.5 does not work either.
At least you tried, thank you for that.
Update: Finally got python to run via the command line, then I installed modules or whatever they are called. Thanks to another issue thread, I knew how.
It appears to be working properly.
from cursedownloader.
Related Issues (20)
- Not working anymore HOT 1
- Not working?
- SSL and 'Not a directory' error HOT 2
- Not working HOT 3
- Fails to download new packs because curse url moved HOT 1
- fileResponse not populating properly HOT 1
- No Attribute 'is_redirect' HOT 1
- Files download improperly if they don't exist any more
- Path Not Found? HOT 2
- Linux : immediate crash on run HOT 1
- File Not Found Error HOT 1
- Exceeded 30 redirects. HOT 3
- 2 years since last version (0.2)
- Update to OpenSSL 1.1.0
- Arch Linux `Exception in thread Thread-1:` HOT 3
- 32bit version HOT 1
- Windows distutils didn't like '/' at end of target_images_path
- New Curse doesn't have manifests HOT 3
- use for server??? HOT 3
- Downloads now just an error file that contains one file called 'download' with html in it from curseforge.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cursedownloader.