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

How to install this package in pycharm? #4

Open
Laichunli opened this issue Oct 17, 2022 · 1 comment
Open

How to install this package in pycharm? #4

Laichunli opened this issue Oct 17, 2022 · 1 comment

Comments

@Laichunli
Copy link

After I downloaded the installation package from this website, I used pip install setup.py in py charm to show that it was successful, but the call was not successful (from spectrum import bicoherencex)
After multiple checks that it's not an environment configuration issue, I'm on the verge of crashing.
I tried a lot of methods to install it, but I really need this package.

Is there any good way?
(python3)

thank you!

wrong reason

Using c:\programdata\anaconda3\lib\site-packages
Searching for numpy==1.20.3
Best match: numpy 1.20.3
Adding numpy 1.20.3 to easy-install.pth file
Installing f2py-script.py script to C:\ProgramData\Anaconda3\Scripts
error: [WinError 5] access denied. : 'C:\ProgramData\Anaconda3\Scripts\f2py-script.py'

@ixaxaar
Copy link
Member

ixaxaar commented Oct 30, 2022

I'm not sure this works with python3 as far as I remember, I had written this in python2.
You could always simply copy the src directory in your project folder and import from there:

from src.conventional import bicoherencex

though I'd say first replace all print "etc" to print("etc")

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