#🔒 Intellij Setup errors
73 messages · Page 1 of 1 (latest)
@regal laurel
Remember to:
- Ask your Python question, not if you can ask or if there's an expert who can help.
- Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
- Explain what you expect to happen and what actually happens.
:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.
it says Unresolved reference 'print'
You should really use PyCharm instead of IntelliJ
Is there any benefit per se? I already am familiar with IntelliJ due to my developing
PyCharm is also from JetBrains, but it's their IDE dedicated for Python, whereas IntelliJ is their IDE dedicated for Java
PyCharm looks exactly the same as IntelliJ. Any workflows you are used to in IntelliJ will also be present in PyCharm.
You can even see it at the beginning when you open PyCharm for the first time it'll ask you if you want to import your IntelliJ settings.
huge bnus! im doing it rn
Just make sure to get the community version since the pro one is paid (of free if you are a student).
Same for IntelliJ btw
until recently, intellij ultimate used an outdated python plugin
to provide python support
True, they are all by JetBrains after all
I mean there are things for which they don't provide free versions, like e.g. DataGrip
i think community edition is gone
oh well i suppose this makes thing easier
yeah this change happened some two months ago I think?
Oh
or 3
last time I used PyCharm was a while ago so forgive me.
But the good news is that you can still download it and use it
The first half of the answer is basically saying:
Python devs were not smart enough to realize there's a paid version
ouch.
I’m downloading it!
I tried to run python using like cmd lines and such but
It just didn’t work for me at all so
I’m hoping this will work
Also I need GitHub
For my project
You often need to set up a venv for it to work properly.
PyCharm does that automatically for you
perfect!
im trying to do math stuff with this for astronomy
plots and outputs
it can handle all of that right?
physics sim
File -> Project from Version Control... lets you import your github project
NumPy also for maths
only if you need the performance though. Keep it in plain Python first
true.
i assume my poor laptop will be struggling with all the maths
but i just need results really
its more of a one time calculation
Computers, even older ones, are surpisingly fast
thank you jetbrains
If they do need speed they can simply implement NumPy if really needed.
That C code does account for somethin' after all
I can try to look into it but im not that good at understanding
i dont have any py experience actually
Why don't you do the calculations in Java then? You already know Java, don't you?
Java is a pretty solid language
Maybe they needed Python for other things too?
I need libraries for some astrophysical calculations for orbits and i heard python is best for this math stuff while java is more so for game dev
and i heard python is best for this math stuff while java is more so for game dev
That is absolutely not true
Well if you want to use NumPy at the go make sure you have pip in your systems PATH and install it with pip install numpy
python has some very powerful libraries for math and graphical visualization.
I can give code examples if you wish to
I need libraries for some astrophysical calculations for orbits
Pretty sure there are also equivalents in Java (maybe even an API for the same thing as in Python)
Do you have any specific libraries in mind?
sure sure any help i can get
iD love that thank you
python makes it easy to think about the question in problem and not about the code, for any serious or complex things though you should use java since you are more experienced. thats my take on it.
Alright so the jist is
## normal py
numbers = [1, 2, 3, 4, 5]
squared = [x**2 for x in numbers]
## numpy (underhood C)
import numpy as np
numbers = np.array([1, 2, 3, 4, 5])
squared = numbers ** 2
the both have their fortes :)
now for simple maths NumPy isn't really needed but for your astronomy math thingy with heavier and lengthier calculations it'll help out
also check out the decimal library, will help out for smaller numbers
decimal in Python == BigDecimal in Java
This help channel has been closed. Feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.