Comments (13)
Same issue trying to install pykep with Python 3.11 on Windows 11 x64:
ERROR: Could not find a version that satisfies the requirement pykep (from versions: none)
ERROR: No matching distribution found for pykep
from pykep.
@jhaiduce Did you try creating a new clean environment in conda? I have had problems with some packages (I think it was matplotlib but I'm not quite sure) with Python 3.9, you can create a new environment with Python 3.8 maybe?
from pykep.
I have also problems installing pykep library
$ conda config --add channels conda-forge
$ conda config --set channel_priority strict
$ conda install pykep
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:
- pykep
Current channels:
- https://conda.anaconda.org/conda-forge/osx-arm64
- https://conda.anaconda.org/conda-forge/noarch
- https://repo.anaconda.com/pkgs/main/osx-arm64
- https://repo.anaconda.com/pkgs/main/noarch
- https://repo.anaconda.com/pkgs/r/osx-arm64
- https://repo.anaconda.com/pkgs/r/noarch
To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org
and use the search bar at the top of the page.
Did you manage to solve this issue? I am running Python 3.8.13 on a new Conda environment.
from pykep.
what architecture is your machine? I cannot reproduce this problem.
from pykep.
I am using ARM architecture (Apple silicon M1 Pro)
from pykep.
Than that is probably the reason ... not sure what happens with the M1 but it has issues with conda. Can you try to set the channel priority to false and try again?
from pykep.
Thanks @darioizzo for your suggestion, unfortunately it does not work either...
I raised this issue in the library where I originally found it (kesslerlib/kessler) and some contributors managed to get it working on M1 (issue)... Do you have any other suggestion I could try?
from pykep.
The conda recipe of pykep needs to be explicitly updated to enable support for ARM OSX, it is not an automatic process.
If I recall correctly, one has first to open a PR to conda-forge to add pykep to the list of ARM OSX packages. See here for an example:
conda-forge/conda-forge-pinning-feedstock#2708
Then a PR to the pykep feedstock will be opened automatically by a bot.
from pykep.
Thanks @bluescarni ! The PR that I did yesterday to conda-forge to include pykep
on the osx-arm64.txt
list has been successfully merged to the main branch.
Do you know what could be the lead-time for the PR to the pykep feedstock to be approved?
from pykep.
The PR to the pykep feedstock is open here:
conda-forge/pykep-feedstock#27
There seems to be an issue with the recipe, I think the problem is that make
is not listed among the build time dependencies on unix. I cannot fix this directly though as I am not a maintainer of the recipe, guess we have to ping @darioizzo
from pykep.
@JJavierRosales the packages for osx arm64 should now be available.
from pykep.
@bluescarni That worked ! Thank you very much for your support.
from pykep.
failed to install with conda
`C:\Users\Administrator>conda config --add channels conda-forge
Warning: 'conda-forge' already in 'channels' list, moving to the top
C:\Users\Administrator>conda config --set channel_priority strict
C:\Users\Administrator>conda install pykep
Collecting package metadata (current_repodata.json): - DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
\ DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
| DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
/ DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
- DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
/ DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/msys2/win-64/current_repodata.json HTTP/1.1" 304 0 - DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/msys2/noarch/current_repodata.json HTTP/1.1" 304 0
\ DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/noarch/current_repodata.json HTTP/1.1" 304 0
| DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/win-64/current_repodata.json HTTP/1.1" 304 0
\ DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/noarch/current_repodata.json HTTP/1.1" 304 0
| DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/current_repodata.json HTTP/1.1" 304 0
done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: unsuccessful attempt using repodata from current_repodata.json, retrying with next repodata source.
Collecting package metadata (repodata.json): - DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): conda.anaconda.org:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): conda.anaconda.org:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): repo.anaconda.com:443 - DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/msys2/noarch/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/win-64/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/win-64/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/main/noarch/repodata.json HTTP/1.1" 304 0
\ DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/msys2/win-64/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://repo.anaconda.com:443 "GET /pkgs/r/noarch/repodata.json HTTP/1.1" 304 0
DEBUG:urllib3.connectionpool:https://conda.anaconda.org:443 "GET /conda-forge/win-64/repodata.json HTTP/1.1" 200 None
DEBUG:urllib3.connectionpool:https://conda.anaconda.org:443 "GET /conda-forge/noarch/repodata.json HTTP/1.1" 200 None
done
Solving environment: unsuccessful initial attempt using frozen solve. Retrying with flexible solve.
Solving environment: |`
from pykep.
Related Issues (20)
- Problem with Vinf interval values in pl2pl_N_impulses HOT 2
- NameError: name 'MU_SUN' is not defined HOT 1
- examples/ex1.html fails: RuntimeWarning: invalid value encountered in double_scalars
- Code Error
- New feature - Mascon model
- ```get_traj``` equivalent for trajectory optimizers other than ```pykep.trajopt.direct_pl2pl```
- ic2par bug? HOT 1
- solar orbiter gym problem is fixed to single_objective but shouldn't be
- Example 1 error when plotting with N_max = 2
- Pinpoint Landing
- keplerian planets are singular in retrogate 0 inclination cases
- Importing pykep returns ImportError upon calling dlopen HOT 1
- Add functions to return DVs for `pl2pl_N_impulses`
- Compute period only works with epoch
- Wrong eph for small mu (<100)
- change "sklearn" to "scikit-learn" in INSTALL_REQUIRES
- problem running pykep test
- Providing pre-compiled binaries for Python3.10+ from PyPi ?
- Dependency incompatibility with automated conda installation HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pykep.