Giter VIP home page Giter VIP logo

Comments (20)

Eriall1 avatar Eriall1 commented on August 26, 2024 1

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.

igorir3 avatar igorir3 commented on August 26, 2024

Oh, no.. Everything need 'self' '-_-

from curseforgeapy.

igorir3 avatar igorir3 commented on August 26, 2024

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.

Eriall1 avatar Eriall1 commented on August 26, 2024

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.

igorir3 avatar igorir3 commented on August 26, 2024

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.

Eriall1 avatar Eriall1 commented on August 26, 2024

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.

Eriall1 avatar Eriall1 commented on August 26, 2024

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.

igorir3 avatar igorir3 commented on August 26, 2024

That's the problem! That's what I did!

from curseforgeapy.

igorir3 avatar igorir3 commented on August 26, 2024

Word for word

from curseforgeapy.

igorir3 avatar igorir3 commented on August 26, 2024

And one more thing: I will stop answering for now since it's already 11 pm in my country

from curseforgeapy.

Eriall1 avatar Eriall1 commented on August 26, 2024

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.

igorir3 avatar igorir3 commented on August 26, 2024

ModuleNotFoundError: No module named 'CurseForgeAPy.schemaClasses'

from curseforgeapy.

Eriall1 avatar Eriall1 commented on August 26, 2024

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.

igorir3 avatar igorir3 commented on August 26, 2024

Alleluia! It works

from curseforgeapy.

igorir3 avatar igorir3 commented on August 26, 2024

However, a question arose! And how to download and then run minecraft with the forge core?

from curseforgeapy.

igorir3 avatar igorir3 commented on August 26, 2024

Thanks :)

from curseforgeapy.

igorir3 avatar igorir3 commented on August 26, 2024

But, you didn't understand my question a little, I meant installation, and then launch via python or via the sys module

from curseforgeapy.

igorir3 avatar igorir3 commented on August 26, 2024

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.

Eriall1 avatar Eriall1 commented on August 26, 2024

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.

Eriall1 avatar Eriall1 commented on August 26, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.