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

Installation problem #124

Open
meidihku opened this issue Apr 15, 2022 · 5 comments
Open

Installation problem #124

meidihku opened this issue Apr 15, 2022 · 5 comments

Comments

@meidihku
Copy link

Hi, all. I came accross the installation problem when I try to install pyoptools on win10 with the python 3.7 enviroment built by anoconda.

If I change the python enviroment to python = 3.8, another error will be reported (cython can not be successfully built).

Can someone show how to install the package properly?

Many thanks.
error

@Jamesong7822
Copy link

Jamesong7822 commented Jun 29, 2022

I have the same issue (Windows Python 3.9), how should we go about fixing this? @rdgraham

@rdgraham
Copy link
Contributor

Unfortunately I never found a solution to this. Generally I am running on Linux but need to use Windows from time to time. The problem seems to be pointing cython to the C compiler in windows anaconda environment. Unfortunately I never had success with visual studio or cygwin options.

@ramezquitao
Copy link
Member

The same happens with me. I only use linux, so I have no idea on how to solve the situation. I'm a bit busy with work this days, but in 2 or 3 weeks I will have time to try to install this in a Windows machine.

Sorry

@tlnguyenx
Copy link

I guess you are running from inside the sourcecode folder after installation. python tries to import from the sourcecode directly. Please try again from somewhere else.

@semiversus
Copy link
Contributor

A pull request is pending solving those issues: #127 . May try it and report if it is working in your environment.

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

6 participants