Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot pip install mysql-python #576

Open
clark2668 opened this issue Sep 22, 2023 · 2 comments
Open

Cannot pip install mysql-python #576

clark2668 opened this issue Sep 22, 2023 · 2 comments

Comments

@clark2668
Copy link
Collaborator

Describe the issue
When trying to pip install mysql-python, the installation breaks. Somehow mysql-python wasn't bild to be compatible with py3?

Expected behavior
A clear and concise description of what you expected to happen.

Additional context
Add any other context about the problem here.

@PrathamDubey06
Copy link

The correct syntax for using MySQL in Python code is to install the mysql-connector library. To do this, you need to install the MySQL Connector library on your system. You can do this by executing the following code in the command prompt (CMD):

pip install mysql-connector-python

@clark2668
Copy link
Collaborator Author

Hi -- thanks! Can the NuRadioMC docs be updated to specify this? As they are right now, this install command doesn't work.

Also, I noticed that future and radiotools are required packages, but aren't listed in the "one shot" list (https://nu-radio.github.io/NuRadioMC/Introduction/pages/installation.html#pip-installable-dependencies). Can these also be added? Thanks!

Screenshot 2023-12-05 at 10 37 38 PM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants