Comments (20)
However, a question arose! And how to download and then run minecraft with the forge core?
personally, I use PolyMC which can be found here. It lets you have multiple instances with different mods. Otherwise, just follow the guide here
I will now be closing the issue, since this is technically out of scope for the package
from curseforgeapy.
Oh, no.. Everything need 'self' '-_-
from curseforgeapy.
I looked into the code and the problem is most likely in the enum library. Which I can't download -_-... Gives AttributeError error: module 'enum' has no attribute 'global_enum'
from curseforgeapy.
Hi,
enum is a builtin library in python since 3.4, it should be included within your python distribution if you are using a version above or equal to 3.4.
I will have a look into the other issue, thanks for reporting it.
from curseforgeapy.
Hi,
enum is a builtin library in python since 3.4, it should be included within your python distribution if you are using a version above or equal to 3.4.I will have a look into the other issue, thanks for reporting it.
I'm used (and using) python 3.11
from curseforgeapy.
Hi there,
If possible, would you be able to post the code to reproduce this error?
I am having trouble recreating it, as everything seems to work as usual.
from curseforgeapy.
Hi,
enum is a builtin library in python since 3.4, it should be included within your python distribution if you are using a version above or equal to 3.4.
I will have a look into the other issue, thanks for reporting it.I'm used (and using) python 3.11
Using the following code:
from CurseForgeAPy import CurseForgeAPI
cf = CurseForgeAPI("my-api-key")
# Get the modloaders
minecraftModloaders = cf.getMinecraftModloaders()
print(minecraftModloaders)
Everything seems to work fine
from curseforgeapy.
That's the problem! That's what I did!
from curseforgeapy.
Word for word
from curseforgeapy.
And one more thing: I will stop answering for now since it's already 11 pm in my country
from curseforgeapy.
Very odd. Despite what the documentation says, the minecraft modloader endpoint you are trying to access doesnt actually require authentication, so its not to do with that. I have no idea what would cause it to fail on your machine, try upgrading the package using pip3 install --upgrade curseforgeapy
.
The package seems to work fine on the several versions of python I have tested it on as well as Windows 10 and Ubuntu 18.04. If upgrading the package doesnt help, I'm not sure what will, assuming you have copy pasted the sample code. Apologies for not being able to help more.
from curseforgeapy.
ModuleNotFoundError: No module named 'CurseForgeAPy.schemaClasses'
from curseforgeapy.
ModuleNotFoundError: No module named 'CurseForgeAPy.schemaClasses'
Again, if you upgrade to the latest version this shouldnt happen. Initially it was caused by an update that i did mark as breaking, then later reverted.
from curseforgeapy.
Alleluia! It works
from curseforgeapy.
However, a question arose! And how to download and then run minecraft with the forge core?
from curseforgeapy.
Thanks :)
from curseforgeapy.
But, you didn't understand my question a little, I meant installation, and then launch via python or via the sys module
from curseforgeapy.
Although I kind of found a library for that.... If necessary, I can unsubscribe what kind of library and throw off an example of work
from curseforgeapy.
Oh, I have no idea.
How I'd do it is probably upload a github repo with all the necessary files, then download it within the script and place them in the relevant places (.minecraft etc).
Then you can use the os.system to run a shell command to launch it.
Probably give it a google, but thats the general gist of how I would implement it.
from curseforgeapy.
continue the discussion in https://github.com/James2854/CurseForgeAPy/discussions/4#discussion-4716753
if you would like.
from curseforgeapy.
Related Issues (2)
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 curseforgeapy.